/* ============================================================
   RECKLESS MEDIA — Main Stylesheet
   Exact rebuild of recklessmedia.co
   Dark theme · #151515 bg · Orange/Teal/Rust accents
   ============================================================ */

/* Stolzl fallback for CLS */
@font-face {
  font-family: 'Stolzl Fallback';
  src: local('Arial');
  font-display: swap;
  size-adjust: 100%;
  ascent-override: 93%;
  descent-override: 24%;
  line-gap-override: 0%;
}

:root {
  --bg: #131313;
  --bg-card: #1a1a1a;
  --bg-elevated: #1f1f1f;
  --bg-alt: #222222;
  --bg-extra: #212121;
  --bg-teal-section: #162425;
  --bg-purple: #483F5E;
  --border: #505050;
  --text: #FEFEFE;
  --text-body: #b1b1b1;
  --text-muted: #A2A2A2;
  --text-dim: #707070;

  --orange: #F89D24;
  --orange-dark: #d4831a;
  --orange-fire: #F58C06;
  --teal: #499D99;
  --teal-dark: #357572;
  --teal-deep: #197274;
  --rust: #B85448;
  --rust-light: #C45A4E;
  --coral: #B85448;
  --sky: #59B8CF;
  --peach: #FFBC7D;

  --font-display: stolzl, 'Stolzl Fallback', Arial, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;
  --font-accent: 'Permanent Marker', cursive;

  --container: 1230px;
  --nav-height: 70px;
  --radius: 10px;
  --radius-pill: 30px;
  --radius-img: 25px;
  --transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  --transition-slow: 0.7s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { overflow-x: hidden; overflow-x: clip; scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; transition: color var(--transition); }
ul, ol { list-style: none; }
button { font: inherit; cursor: pointer; border: none; background: none; }

/* Smooth everything */
*, *::before, *::after {
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
.label {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--orange);
}

.heading-xl {
  font-family: var(--font-display);
  font-size: clamp(28px, 5.5vw, 62px);
  font-weight: 500;
  line-height: 1.15;
  color: var(--text);
}
.heading-lg {
  font-family: var(--font-display);
  font-size: clamp(26px, 2rem + 1.5vw, 44px);
  font-weight: 600;
  line-height: 1.2;
  color: var(--text);
}
.heading-md {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 34px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.heading-sm {
  font-family: var(--font-display);
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 600;
  line-height: 1.3;
  color: var(--text);
}
.body-text {
  font-size: clamp(15px, 1rem + 0.4vw, 20px);
  font-weight: 400;
  line-height: 1.7;
  color: var(--text-muted);
}
.body-sm { font-size: 14px; line-height: 1.6; color: var(--text-muted); }
.accent-text { color: var(--orange); }
.accent-font { font-family: var(--font-accent); }
.text-center { text-align: center; }

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 70px;
}
.sec { padding: 100px 0; }
.sec-lg { padding: 140px 0; }
.sec-sm { padding: 60px 0; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 30px; }

/* ============================================================
   BUTTONS — Pill-shaped, matching live site
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 32px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
  white-space: nowrap;
  cursor: pointer;
}
.btn-primary {
  background: var(--orange);
  color: var(--bg);
  border: 2px solid var(--orange);
}
.btn-primary:hover {
  background: var(--orange-dark);
  border-color: var(--orange-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(248, 157, 36, 0.3);
}
.btn-outline {
  background: transparent;
  color: var(--orange);
  border: 2px solid var(--orange);
}
.btn-outline:hover {
  background: var(--orange);
  color: var(--bg);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(248, 157, 36, 0.2);
}
.btn-outline-light {
  background: transparent;
  color: var(--text);
  border: 2px solid rgba(255,255,255,0.3);
}
.btn-outline-light:hover {
  border-color: var(--text);
  background: rgba(255,255,255,0.08);
}
.btn-teal {
  background: var(--teal);
  color: var(--text);
  border: 2px solid var(--teal);
}
.btn-teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
}
.btn-rust {
  background: var(--rust);
  color: var(--text);
  border: 2px solid var(--rust);
}
.btn-rust:hover {
  background: var(--rust-dark);
  border-color: var(--rust-dark);
}
.btn-white {
  background: var(--text);
  color: var(--bg);
  border: 2px solid var(--text);
}
.btn-white:hover {
  background: transparent;
  color: var(--text);
}

/* ============================================================
   NAVIGATION — 3-column: left links | centered logo | right hamburger
   Matches recklessmedia.co exactly
   ============================================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: transparent;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: background 0.4s ease, box-shadow 0.3s ease;
}
.nav.scrolled {
  background: var(--bg);
  box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
/* Force opaque nav when overlay is open (prevents page bleed-through) */
.nav.nav-overlay-active {
  background: rgb(16, 16, 16) !important;
}

.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 70px;
}

/* Left nav links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 28px;
  justify-self: start;
}
.nav-links a {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 500;
  color: var(--text);
  transition: color 0.3s ease;
  position: relative;
}
.nav-links a:hover,
.nav-links a.active { color: var(--orange); }
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--orange);
  transition: width 0.3s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

/* Services dropdown */
.nav-dropdown {
  position: relative;
}
.nav-dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all 0.25s ease;
  z-index: 100;
  margin-top: 12px;
}
.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.nav-dropdown-menu a {
  display: block;
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
}
.nav-dropdown-menu a::after { display: none; }
.nav-dropdown-menu a:hover {
  color: var(--orange);
  background: rgba(248,157,36,0.05);
}

/* Mega Menu — full width, locked under header, matches mobile overlay vibe */
.mega-menu {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  background: rgba(16, 16, 16, 0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
  padding: 40px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s ease;
  z-index: 100;
  box-shadow: 0 24px 80px rgba(0,0,0,0.5);
  overflow: hidden;
}
.mega-menu::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: url('/assets/images/topo%20final.svg');
  background-size: cover;
  background-position: center;
  opacity: 0.3;
  pointer-events: none;
}
.nav-dropdown:hover .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr auto;
  gap: 40px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 70px;
  position: relative;
  z-index: 1;
}
.mega-col h6 {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 16px;
  padding: 8px 24px 8px 14px;
  position: relative;
  display: inline-block;
}
.mega-col h6::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}
.mega-col:nth-child(1) h6::before { background: linear-gradient(180deg, var(--teal-dark), var(--teal-deep)); }
.mega-col:nth-child(2) h6::before { background: linear-gradient(180deg, var(--rust), var(--rust-light)); }
.mega-col:nth-child(3) h6::before { background: linear-gradient(180deg, var(--orange-dark), var(--orange)); }
.mega-col:nth-child(4) h6::before { background: linear-gradient(180deg, var(--teal), var(--teal-dark)); }
.mega-col a {
  display: block;
  padding: 6px 0 6px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: color 0.2s ease, padding-left 0.2s ease, border-color 0.2s ease;
  border-left: 2px solid transparent;
}
.mega-col a::after { display: none; }
.mega-col a:hover {
  color: var(--orange);
  padding-left: 16px;
  border-left-color: var(--orange);
}
.mega-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding-left: 40px;
  border-left: 1px solid rgba(255,255,255,0.06);
  min-width: 180px;
}
.mega-cta p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0 0 16px;
  line-height: 1.5;
}
.mega-cta a {
  text-decoration: none;
}
.mega-cta a:hover {
  text-decoration: none;
}
.mega-cta a::after { display: none; }
.btn-sm {
  padding: 10px 24px;
  font-size: 13px;
}

/* Center logo */
.nav-logo {
  justify-self: center;
  display: flex;
  align-items: center;
  z-index: 1001;
}
.nav-logo img,
.nav-logo-img {
  max-height: 42px;
  width: auto;
}
.nav-logo-text {
  font-family: var(--font-display);
  font-size: 1.5rem;
  color: var(--text);
  font-weight: 700;
  letter-spacing: -0.5px;
  white-space: nowrap;
}
.nav-logo-text span { color: var(--orange); font-style: italic; }

/* Right side — 9-dot grid menu */
.nav-right {
  justify-self: end;
  display: flex;
  align-items: center;
  margin-right: -20px;
}
.hamburger {
  z-index: 1001;
  padding: 12px;
  cursor: pointer;
}
/* Compass icon → spins on open */
.compass-icon {
  color: var(--text);
  transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), color 0.4s ease;
}
.compass-icon .compass-needle-n {
  fill: var(--text);
  transition: fill 0.4s ease;
}
.nav.scrolled .compass-icon .compass-needle-n {
  fill: var(--orange);
}
.hamburger.open .compass-icon {
  transform: rotate(180deg);
  color: var(--orange);
}
.hamburger.open .compass-icon .compass-needle-n {
  fill: var(--orange);
}

/* ============================================================
   FULLSCREEN NAV OVERLAY — Panel from hamburger
   ============================================================ */
.nav-overlay {
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 999;
  background: rgb(16, 16, 16);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: clamp(12px, 2.5vh, 32px);
  padding: clamp(12px, 2vh, 20px) 24px clamp(12px, 2vh, 24px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.5s;
  overflow: hidden;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
}
/* Topo contour lines — real topo SVG */
.nav-overlay::before {
  content: '';
  position: absolute;
  inset: -10%;
  opacity: 0;
  transition: opacity 1.2s ease 0.2s;
  pointer-events: none;
  z-index: 0;
  background-image: url('/assets/images/topo%20final.svg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  animation: topo-drift 30s ease-in-out infinite;
}
.nav-overlay.open::before { opacity: 0.5; }
@keyframes topo-drift {
  0% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(10px, -8px) scale(1.02); }
  66% { transform: translate(-8px, 10px) scale(1.01); }
  100% { transform: translate(0, 0) scale(1); }
}

.nav-overlay.open { opacity: 1; visibility: visible; }

/* Trail signpost — wooden post with arrow signs */
.trail-signpost {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  transform: translateY(100vh);
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.4s ease;
}
.nav-overlay.open .trail-signpost {
  transform: translateY(0);
  opacity: 1;
  transition-delay: 0.1s;
}
.trail-signs {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  position: relative;
}
/* Individual sign plank */
.trail-sign {
  font-family: var(--font-display);
  font-size: clamp(1rem, 3vh, 1.8rem);
  font-weight: 600;
  color: var(--text);
  padding: clamp(6px, 1.2vh, 10px) 36px clamp(6px, 1.2vh, 10px) 24px;
  position: relative;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.12s ease, color 0.2s ease;
}
/* Pointed sign shape behind text */
.trail-sign::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, #4a3a2c, #3a2c20);
  border: 1px solid rgba(255,255,255,0.06);
  transition: background 0.3s ease;
}
/* Right-pointing signs — fly in from left */
.trail-sign-right {
  padding: 10px 40px 10px 24px;
  margin-left: 30px;
  transform: translateX(-200px);
}
.trail-sign-right::before {
  clip-path: polygon(0% 0%, 85% 0%, 100% 50%, 85% 100%, 0% 100%);
}
/* Left-pointing signs — fly in from right */
.trail-sign-left {
  padding: 10px 24px 10px 40px;
  margin-right: 30px;
  transform: translateX(200px);
}
.trail-sign-left::before {
  clip-path: polygon(15% 0%, 100% 0%, 100% 100%, 15% 100%, 0% 50%);
}
/* Sign plank colors — alternating brand colors */
.trail-sign:nth-child(1)::before { background: linear-gradient(180deg, var(--teal-dark), var(--teal-deep)); }
.trail-sign:nth-child(2)::before { background: linear-gradient(180deg, var(--rust), var(--rust-light)); }
.trail-sign:nth-child(3)::before { background: linear-gradient(180deg, var(--orange-dark), var(--orange)); }
.trail-sign:nth-child(4)::before { background: linear-gradient(180deg, var(--teal), var(--teal-dark)); }
.trail-sign:nth-child(5)::before { background: linear-gradient(180deg, var(--rust), #8a3d34); }
.trail-sign:nth-child(6)::before { background: linear-gradient(180deg, var(--orange-dark), var(--orange-fire)); }

/* Entrance animation — signs fly in from their direction, staggered */
.nav-overlay.open .trail-sign {
  opacity: 1;
  transform: translateX(0);
}
.nav-overlay.open .trail-sign:nth-child(1) { transition-delay: 0.35s; }
.nav-overlay.open .trail-sign:nth-child(2) { transition-delay: 0.42s; }
.nav-overlay.open .trail-sign:nth-child(3) { transition-delay: 0.49s; }
.nav-overlay.open .trail-sign:nth-child(4) { transition-delay: 0.56s; }
.nav-overlay.open .trail-sign:nth-child(5) { transition-delay: 0.63s; }
.nav-overlay.open .trail-sign:nth-child(6) { transition-delay: 0.7s; }
.nav-overlay.open.signs-landed .trail-sign { transition-delay: 0s !important; }
/* Hover — sign tilts and brightens */
.nav-overlay.open .trail-sign.trail-sign-right:hover {
  color: var(--text);
  transform: rotate(-4deg) scale(1.03);
}
.nav-overlay.open .trail-sign.trail-sign-left:hover {
  color: var(--text);
  transform: rotate(4deg) scale(1.03);
}
.trail-sign:hover::before {
  filter: brightness(1.2);
}

/* Campfire glow button */
.nav-overlay-cta {
  margin-top: 8px;
  opacity: 0;
  transform: translateY(30px);
  position: relative;
  z-index: 2;
  transition: opacity 0.5s ease 0.7s, transform 0.5s ease 0.7s;
  position: relative;
  z-index: 2;
}
.nav-overlay.open .nav-overlay-cta { opacity: 1; transform: translateY(0); }
.campfire-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  cursor: pointer;
  text-decoration: none;
}
.campfire-glow {
  position: absolute;
  inset: -8px;
  border-radius: 50px;
  background: radial-gradient(ellipse at center, rgba(248,157,36,0.3) 0%, rgba(248,157,36,0.1) 40%, rgba(184,84,72,0.05) 70%, transparent 100%);
  animation: campfire-flicker 2s ease-in-out infinite alternate;
  z-index: -1;
}
@keyframes campfire-flicker {
  0% { transform: scale(1); opacity: 0.8; }
  25% { transform: scale(1.05) translateY(-2px); opacity: 1; }
  50% { transform: scale(0.98) translateY(1px); opacity: 0.7; }
  75% { transform: scale(1.03) translateY(-1px); opacity: 0.9; }
  100% { transform: scale(1) translateY(0); opacity: 0.85; }
}
.campfire-text {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--orange);
  border: 2px solid var(--orange);
  border-radius: 50px;
  padding: 14px 36px;
  transition: background 0.3s ease, color 0.3s ease;
}
.campfire-btn:hover .campfire-text {
  background: var(--orange);
  color: var(--bg);
}
.campfire-btn:hover .campfire-glow {
  animation-duration: 1s;
}


.nav-overlay-bottom {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  position: relative;
  z-index: 2;
  opacity: 0;
  transition: opacity 0.4s ease 0.45s;
}
.nav-overlay.open .nav-overlay-bottom { opacity: 1; }

.nav-overlay-info {
  display: flex;
  gap: 48px;
  text-align: center;
}
.nav-overlay-info div h6 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.nav-overlay-info div a,
.nav-overlay-info div p {
  color: var(--text-muted);
  font-size: 14px;
}
.nav-overlay-info div a:hover { color: var(--orange); }

/* Mobile overlay: scale ALL content to fit viewport without scrolling */
@media (max-width: 1024px) {
  .nav-overlay {
    gap: clamp(6px, 1.8vh, 24px);
    padding: clamp(4px, 1vh, 16px) 24px clamp(8px, 1.5vh, 20px);
    justify-content: space-evenly;
  }
  .trail-signpost { gap: clamp(4px, 1.2vh, 14px); }
  .trail-sign-link {
    font-size: clamp(13px, 2.8vh, 22px);
    padding: clamp(5px, 1.2vh, 14px) clamp(18px, 5vw, 44px);
  }
  .campfire-cta {
    padding: clamp(8px, 1.5vh, 16px) clamp(24px, 6vw, 40px);
    font-size: clamp(12px, 2vh, 16px);
  }
  .nav-overlay-social { gap: clamp(8px, 2vw, 16px); }
  .nav-overlay-social a {
    width: clamp(32px, 5vh, 44px);
    height: clamp(32px, 5vh, 44px);
  }
  .nav-overlay-bottom { margin-top: 0; }
  .nav-overlay-info { gap: clamp(16px, 4vw, 48px); }
  .nav-overlay-info div h6 { font-size: clamp(8px, 1.3vh, 11px); margin-bottom: 2px; }
  .nav-overlay-info div a, .nav-overlay-info div p { font-size: clamp(10px, 1.6vh, 14px); }
}
/* Very short phones: hide bottom info to save space */
@media (max-height: 550px) {
  .nav-overlay-bottom { display: none; }
}

/* Social links */
.social-links {
  display: flex;
  gap: 16px;
  align-items: center;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
  transition: all 0.3s ease;
}
.social-link:hover { color: var(--text); transform: translateY(-2px); }
.social-link svg { width: 18px; height: 18px; fill: currentColor; }

/* ============================================================
   HERO — Full image with glass overlay text
   ============================================================ */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--bg);
  margin-bottom: -2px;
}
.hero-bg {
  position: relative;
  width: 100%;
  z-index: 1;
}
.hero-bg > img,
.hero-bg > video {
  width: 100%;
  height: auto;
  display: block;
  margin-bottom: -1px;
}

/* Hotspot dots container — sits over the image */
.hero-hotspots {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}
.hero-hotspots .hotspot {
  pointer-events: auto;
}

.hotspot {
  position: absolute;
  cursor: pointer;
  z-index: 5;
}
.hotspot-dot {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--orange);
  border: 3px solid var(--text);
  position: relative;
  transition: transform 0.3s;
}
/* Pulsing ring uses a pseudo element (transform + opacity — GPU-composited) */
.hotspot-dot::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(248,157,36,0.3);
  animation: hotspot-pulse 2s ease-in-out infinite;
  will-change: transform, opacity;
  pointer-events: none;
  z-index: -1;
}
.hotspot:hover .hotspot-dot,
.hotspot:focus .hotspot-dot {
  transform: scale(1.4);
}
.hotspot:hover .hotspot-dot::after,
.hotspot:focus .hotspot-dot::after {
  animation: none;
  opacity: 0.2;
  transform: scale(1.3);
}
.hotspot-popup {
  position: fixed;
  z-index: 9999;
  background: rgba(26, 26, 26, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  padding: 20px 24px;
  width: 280px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s;
  pointer-events: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.hotspot:hover .hotspot-popup,
.hotspot.active .hotspot-popup {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}
.hotspot-img {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 12px;
}
.hotspot-popup h6 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 6px;
}
.hotspot-popup h5 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  color: var(--text);
  margin-bottom: 8px;
}
.hotspot-popup p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 12px;
}
.hotspot-popup a {
  color: var(--orange);
  font-weight: 600;
  font-size: 13px;
}
.hotspot-popup a:hover { text-decoration: underline; }

@keyframes hotspot-pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(248,157,36,0.3); transform: scale(1); }
  50% { box-shadow: 0 0 0 12px rgba(248,157,36,0.08); transform: scale(1.15); }
}

/* Glass overlay — centered over the hero image */
.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  padding-bottom: 12%;
  pointer-events: none;
}
.hero-glass {
  pointer-events: auto;
  text-align: center;
  transition: transform 0.2s ease-out;
  max-width: 640px;
  width: 90%;
  padding: 48px 56px;
  background: rgba(16, 37, 36, 0.45);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3), 0 32px 80px rgba(0, 0, 0, 0.4);
}
.hero-glass .label {
  display: block;
  margin-bottom: 20px;
  font-size: 13px;
  letter-spacing: 2.5px;
  opacity: 0.85;
}
.hero-glass h1 {
  margin-bottom: 32px;
  line-height: 1.1;
  font-size: clamp(22px, 4vw, 38px);
}
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   MARQUEE — Scrolling text strips
   Multiple variants matching recklessmedia.co
   ============================================================ */
.marquee {
  overflow: hidden;
  padding: 18px 0;
  background: var(--bg);
}
.marquee-inner {
  display: flex;
  white-space: nowrap;
  animation: marquee-scroll 10s linear infinite;
  will-change: transform;
}
.marquee-text {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 24px);
  font-weight: 500;
  color: var(--text);
  text-transform: uppercase;
  padding-right: 48px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  gap: 48px;
}
.marquee-text .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--orange);
  flex-shrink: 0;
}

/* Caution tape variant — diagonal hazard stripes at edges */
.marquee-caution {
  background: var(--orange);
  border: none;
  padding: 12px 0;
  position: relative;
  z-index: 6;
  transform: rotate(-2.5deg) scale(1.08);
  margin: 40px 0;
}
.marquee-caution::before,
.marquee-caution::after {
  content: '';
  position: absolute;
  left: -2%;
  right: -2%;
  height: 18px;
  background: repeating-linear-gradient(
    -45deg,
    #000 0px,
    #000 12px,
    var(--orange) 12px,
    var(--orange) 24px
  );
  z-index: 1;
}
.marquee-caution::before {
  top: 0;
}
.marquee-caution::after {
  bottom: 0;
}
.marquee-caution .marquee-inner {
  position: relative;
  z-index: 2;
}
.marquee-caution .marquee-text {
  color: var(--bg);
  font-weight: 800;
  font-size: clamp(24px, 3.5vw, 42px);
  letter-spacing: 3px;
}
.marquee-caution .marquee-text .dot { background: var(--bg); opacity: 0.4; width: 12px; height: 12px; }

/* Services marquee variant */
.marquee-services { border: none; padding: 24px 0; }
.marquee-services .marquee-text {
  font-size: clamp(14px, 1.5vw, 20px);
  color: var(--text-muted);
}

/* Big services marquee — solid filled text, two color rows */
.marquee-services-big {
  border: none;
  padding: 0;
  overflow: hidden;
  line-height: 1;
}
.marquee-services-big .marquee-inner {
  animation-duration: 12s;
}
.marquee-services-big.marquee-row-light {
  background: #F0EDE8;
}
.marquee-services-big.marquee-row-light .marquee-text-big {
  color: var(--rust);
}
.marquee-services-big.marquee-row-dark {
  background: #1a1a1a;
}
.marquee-services-big.marquee-row-dark .marquee-text-big {
  color: var(--orange);
}
.marquee-text-big {
  font-family: var(--font-display);
  font-size: clamp(48px, 8vw, 110px);
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
  flex-shrink: 0;
  letter-spacing: 2px;
  line-height: 1.05;
}

/* Slow/fast speed modifiers */
.marquee-slow .marquee-inner { animation-duration: 45s; }
.marquee-fast .marquee-inner { animation-duration: 18s; }
.marquee-reverse .marquee-inner { animation-direction: reverse; }

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

/* ============================================================
   INTRO / ABOUT SECTION — "For Business Owners..."
   ============================================================ */
.intro-section {
  padding: 120px 0;
  text-align: center;
  background: var(--bg);
}
.scroll-fade {
  will-change: opacity, transform;
}
.intro-section .label { display: block; margin-bottom: 24px; font-size: 14px; }
.intro-section h2 { max-width: 800px; margin: 0 auto 28px; }
.intro-section .body-text { max-width: 680px; margin: 0 auto; font-size: clamp(15px, 1rem + 0.3vw, 18px); }

/* ============================================================
   PARALLAX SECTION
   ============================================================ */
.parallax-section {
  position: relative;
  min-height: 400px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.parallax-bg {
  position: absolute;
  inset: -20%;
  background-size: cover;
  background-position: center;
  will-change: transform;
}
.parallax-overlay {
  position: absolute;
  inset: 0;
  background: rgba(21,21,21,0.55);
}
.parallax-content {
  position: relative;
  z-index: 2;
  text-align: center;
  padding: 40px 24px;
}

/* ============================================================
   TURN-KEY PARTNER SECTION — 2-column: image + text
   ============================================================ */
.partner-section {
  padding: 80px 0;
}
.partner-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.partner-image-col {
  position: relative;
}
.partner-badge-wrap {
  position: absolute;
  top: -30px;
  right: -20px;
  z-index: 2;
}
.partner-badge {
  width: 120px;
  height: 120px;
  animation: spin-slow 20s linear infinite;
}
@keyframes spin-slow {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}
.partner-photo {
  width: 100%;
  border-radius: var(--radius-img);
  object-fit: cover;
  aspect-ratio: 1;
}
.partner-text-col .label { display: block; margin-bottom: 16px; }
.partner-text-col h3 {
  font-family: var(--font-display);
  font-size: clamp(20px, 2.5vw, 28px);
  margin-bottom: 20px;
}
.partner-text-col .body-text {
  max-width: 800px;
  margin-bottom: 32px;
}

/* ============================================================
   RESULTS STATEMENT — Big centered text
   ============================================================ */
.statement-section {
  padding: 100px 0;
  text-align: center;
  background: var(--bg-teal-section);
}
.statement-section h2 {
  max-width: 900px;
  margin: 0 auto 36px;
  line-height: 1.2;
}

/* ============================================================
   SERVICES — Numbered accordion list
   01. Social Media  02. Podcast  03. Web Design  etc.
   ============================================================ */
.service-list {
  max-width: 900px;
  margin: 0 auto;
}
.service-item {
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}
.service-item:first-child { border-top: 1px solid var(--border); }

.service-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 28px 0;
  cursor: pointer;
  width: 100%;
  text-align: left;
  color: var(--text);
  transition: color 0.3s;
}
.service-header:hover { color: var(--orange); }
.service-header:hover .service-num { color: var(--orange); }

.service-num {
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  color: var(--teal);
  min-width: 32px;
  transition: color 0.3s;
}
.service-title {
  font-family: var(--font-display);
  font-size: clamp(16px, 2vw, 22px);
  font-weight: 600;
  flex: 1;
}
.service-arrow {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  transition: transform 0.3s;
}
.service-arrow svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-dim);
  stroke-width: 2;
  fill: none;
}
.service-item.open .service-arrow { transform: rotate(180deg); }

.service-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.service-body-inner {
  padding: 0 0 32px 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.service-body-inner .body-text { margin-bottom: 16px; }
.service-body-inner img {
  border-radius: var(--radius-img);
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
}

/* Service card grid (alternative layout for card-style display) */
.service-card {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  transition: all 0.3s ease;
}
.service-card:hover {
  border-color: var(--orange);
  background: var(--bg-card);
}
.service-card h3 { margin-bottom: 16px; }
.service-card .body-text { margin-bottom: 20px; }
.service-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--orange);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: gap 0.3s ease;
}
.service-link:hover { gap: 14px; text-decoration: underline; }

/* Service hub cards (numbered layout for services page) */
.service-hub-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 40px;
  align-items: start;
  padding: 48px 0;
  border-bottom: 1px solid var(--border);
}
.service-hub-number {
  font-family: var(--font-display);
  font-size: clamp(48px, 5vw, 80px);
  font-weight: 700;
  color: var(--orange);
  line-height: 1;
  opacity: 0.3;
}
.service-hub-body h3 { margin-bottom: 16px; }
.service-hub-body .body-text { margin-bottom: 24px; }

/* ============================================================
   TESTIMONIALS — Carousel/slider
   ============================================================ */
.testimonials-section {
  padding: 100px 0;
  background: var(--bg-teal-section);
  /* Subtle inner glow */
  box-shadow: inset 0 60px 100px -60px rgba(73, 157, 153, 0.06),
              inset 0 -60px 100px -60px rgba(73, 157, 153, 0.06);
}
.test-carousel {
  position: relative;
  overflow: hidden;
  margin-top: 40px;
}
.test-track {
  display: flex;
  transition: transform 0.5s ease;
}
.test-card {
  flex: 0 0 calc(33.333% - 16px);
  margin: 0 8px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: border-color 0.3s ease;
}
.test-card:hover { border-color: var(--orange); }
.test-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: var(--orange);
}
.test-stars svg { width: 14px; height: 14px; fill: currentColor; }
.test-quote {
  font-size: 14px;
  line-height: 1.7;
  color: var(--text-muted);
  margin-bottom: 20px;
  font-style: italic;
}
.test-author { display: flex; align-items: center; gap: 12px; }
.test-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--bg-elevated);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--orange);
  flex-shrink: 0;
}
.test-author-info h4 { font-size: 14px; font-weight: 600; color: var(--text); }
.test-author-info p { font-size: 12px; color: var(--text-dim); }
.test-date { font-size: 12px; color: var(--text-dim); margin-top: 12px; }

.test-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 32px;
}
.test-nav button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
}
.test-nav button:hover { border-color: var(--orange); color: var(--orange); }
.test-nav button svg { width: 18px; height: 18px; stroke: currentColor; stroke-width: 2; fill: none; }

/* ============================================================
   CONTACT SECTION (inline on homepage + contact page)
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 0;
}
.contact-info-icon {
  width: 44px;
  height: 44px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--orange);
}
.contact-info-icon svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.contact-info-item h4 { font-size: 15px; font-weight: 600; margin-bottom: 2px; color: var(--text); }
.contact-info-item p, .contact-info-item a { font-size: 14px; color: var(--text-muted); transition: color 0.3s ease; }
.contact-info-item a:hover { color: var(--orange); }

.contact-form-wrap {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 8px;
}
.contact-form-wrap iframe { width: 100%; border: none; border-radius: var(--radius); }

.contact-map {
  width: 100%;
  height: 350px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.contact-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.contact-bar-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  padding: 32px 24px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, background 0.3s ease;
}
.contact-bar-item:hover {
  border-color: var(--orange);
  background: rgba(255,255,255,0.06);
}
.contact-bar-item h4 {
  font-size: 15px;
  font-weight: 600;
  color: var(--text);
}
.contact-bar-item p {
  font-size: 14px;
  color: var(--text-muted);
  margin: 0;
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 20px 0;
  text-align: left;
  font-size: 16px;
  font-weight: 600;
  color: var(--text);
  transition: color 0.3s ease;
}
.faq-q:hover { color: var(--orange); }
.faq-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all 0.3s ease;
}
.faq-toggle svg { width: 14px; height: 14px; stroke: var(--text); stroke-width: 2; fill: none; transition: transform 0.3s ease; }
.faq-item.open .faq-toggle { background: var(--orange); border-color: var(--orange); }
.faq-item.open .faq-toggle svg { stroke: var(--bg); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; }
.faq-item.open .faq-a { max-height: 500px; }
.faq-a p { padding: 0 0 20px; font-size: 14px; line-height: 1.7; color: var(--text-muted); }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  text-align: center;
  padding: 80px 0;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ============================================================
   PORTFOLIO
   ============================================================ */
.portfolio-filter {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.filter-btn {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  background: transparent;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  transition: all 0.3s ease;
}
.filter-btn:hover,
.filter-btn.active { background: var(--orange); color: var(--bg); border-color: var(--orange); }

.port-item {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
  border: 1px solid var(--border);
  cursor: pointer;
  background: var(--bg);
}
.port-item img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.port-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(21,21,21,0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.4s ease;
}
.port-item:hover img { transform: scale(1.05); }
.port-item:hover .port-overlay { opacity: 1; }
.port-overlay .label { margin-bottom: 4px; }
.port-overlay h3 { color: var(--text); }

/* ============================================================
   BLOG
   ============================================================ */
.blog-card {
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  background: var(--bg-card);
}
.blog-card:hover { border-color: var(--orange); }
.blog-card-img { aspect-ratio: 16/10; overflow: hidden; }
.blog-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s ease; }
.blog-card:hover .blog-card-img img { transform: scale(1.05); }
.blog-card-body { padding: 24px; }
.blog-card-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.blog-card-cat { font-size: 12px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--orange); }
.blog-card-date { font-size: 13px; color: var(--text-dim); }
.blog-card-body h3 { margin-bottom: 8px; color: var(--text); }
.blog-card:hover .blog-card-body h3 { color: var(--orange); }

/* Blog post body */
.blog-body { max-width: 800px; margin: 0 auto; }
.blog-body h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin: 40px 0 16px; color: var(--text); }
.blog-body p { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 20px; }
.blog-body ul, .blog-body ol { margin-bottom: 20px; padding-left: 24px; }
.blog-body li { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 8px; list-style: disc; }
.blog-body ol li { list-style: decimal; }
.blog-body blockquote { border-left: 3px solid var(--orange); padding: 16px 24px; margin: 24px 0; background: var(--bg-card); border-radius: 0 var(--radius) var(--radius) 0; }
.blog-body blockquote p { font-style: italic; color: var(--text); margin-bottom: 0; }

/* ============================================================
   ABOUT PAGE
   ============================================================ */
.about-img {
  position: relative;
  border-radius: var(--radius-img);
  overflow: hidden;
}
.about-img img { width: 100%; height: 100%; object-fit: cover; }
.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 0;
  font-size: 15px;
  font-weight: 500;
  color: var(--text);
}
.check-list li svg { width: 20px; height: 20px; stroke: var(--orange); stroke-width: 2; fill: none; flex-shrink: 0; }

/* Value cards */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  text-align: center;
  transition: border-color 0.3s ease;
}
.value-card:hover { border-color: var(--orange); }
.value-icon {
  width: 56px;
  height: 56px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  color: var(--orange);
}
.value-icon svg { width: 24px; height: 24px; stroke: currentColor; stroke-width: 1.5; fill: none; }
.value-card h3 { margin-bottom: 12px; }

/* Team cards */
.team-card { text-align: center; }
.team-card-img { border-radius: var(--radius-img); overflow: hidden; aspect-ratio: 3/4; margin-bottom: 16px; }
.team-card-img img { width: 100%; height: 100%; object-fit: cover; }
.team-card h3 { margin-bottom: 4px; color: var(--text); }
.team-card p { font-size: 14px; color: var(--orange); font-weight: 600; }

/* ============================================================
   PROCESS STEPS
   ============================================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.process-step { text-align: center; position: relative; }
.step-number {
  width: 64px;
  height: 64px;
  border: 2px solid var(--orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--orange);
  transition: all 0.3s ease;
}
.process-step:hover .step-number { background: var(--orange); color: var(--bg); }
.process-step h3 { margin-bottom: 8px; }
.process-step:not(:last-child)::after {
  content: '';
  position: absolute;
  top: 32px;
  right: -16px;
  width: 32px;
  height: 2px;
  background: var(--border);
}

/* Stats bar */
.stats-bar {
  display: flex;
  justify-content: center;
  gap: 60px;
  flex-wrap: wrap;
  padding: 48px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stat-item { text-align: center; }
.stat-number { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--orange); line-height: 1; }
.stat-label { font-size: 13px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--text-dim); margin-top: 4px; }

/* ============================================================
   CONTENT + SIDEBAR LAYOUT (service detail pages)
   ============================================================ */
.content-sidebar-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.main-content h2 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; margin: 36px 0 16px; color: var(--text); }
.main-content h2:first-child { margin-top: 0; }
.main-content p { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 20px; }

.sidebar { position: sticky; top: calc(var(--nav-height) + 24px); }
.sidebar-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px; margin-bottom: 24px; }
.sidebar-card h4 { font-size: 16px; font-weight: 600; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border); color: var(--text); }
.sidebar-links a { display: block; padding: 8px 0; font-size: 14px; color: var(--text-muted); transition: color 0.3s ease; }
.sidebar-links a:hover { color: var(--orange); }
.sidebar-links a.active { color: var(--orange); font-weight: 600; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: 80px 0 48px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
}
.page-hero .label { margin-bottom: 12px; display: block; }
.page-hero h1 { margin-bottom: 12px; }
.page-hero .body-text { max-width: 600px; }

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-dim);
  margin-bottom: 20px;
}
.breadcrumb a { color: var(--text-dim); transition: color 0.3s ease; }
.breadcrumb a:hover { color: var(--orange); }
.breadcrumb span { color: var(--orange); }

/* ============================================================
   PRE-FOOTER CTA — Rust background "Let's talk shop."
   ============================================================ */
.pre-footer {
  padding: 80px 0;
  text-align: center;
  background: linear-gradient(135deg, #A0453A 0%, #B85448 40%, #9E4238 100%);
}
.pre-footer h2 { color: var(--text); margin-bottom: 16px; }
.pre-footer .body-text { color: rgba(255,255,255,0.85); margin-bottom: 28px; font-size: 1.1rem; }
.pre-footer .cta-actions { margin-top: 0; }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 48px 0 0;
}
.footer-social {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  margin-bottom: 32px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  margin-bottom: 32px;
}
.footer-brand { text-align: center; }
.footer-brand img { margin: 0 auto 12px; display: block; }
.footer-brand .nav-logo-text { margin-bottom: 12px; }
.footer-brand p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }
.footer h4 { font-size: 14px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--text); margin-bottom: 20px; }
.footer-links a { display: block; padding: 5px 0; font-size: 14px; color: var(--text-muted); transition: color 0.3s ease; }
.footer-links a:hover { color: var(--orange); }
.footer-contact-item { display: flex; align-items: flex-start; gap: 10px; padding: 5px 0; }
.footer-contact-item svg { width: 16px; height: 16px; stroke: var(--orange); stroke-width: 1.5; fill: none; flex-shrink: 0; margin-top: 3px; }
.footer-contact-item a, .footer-contact-item p { font-size: 14px; color: var(--text-muted); transition: color 0.3s ease; margin: 0; }
.footer-contact-item a:hover { color: var(--orange); }
.footer-bottom { border-top: 1px solid var(--border); padding: 20px 0; }
.footer-bottom p { font-size: 12px; color: var(--text-dim); margin: 0; justify-content: space-between !important; }
.footer-bottom a { color: var(--text-dim); transition: color 0.3s ease; }
.footer-bottom a:hover { color: var(--orange); }

/* ============================================================
   FORM OVERLAY (Popup)
   ============================================================ */
.form-overlay {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(21, 21, 21, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.form-overlay.open { display: flex; }
.form-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 16px;
}
.form-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bg);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--text-muted);
  z-index: 2;
  transition: all 0.3s ease;
}
.form-close:hover { border-color: var(--orange); color: var(--orange); }

/* ============================================================
   PRIVACY POLICY
   ============================================================ */
.policy-content { max-width: 800px; margin: 0 auto; }
.policy-content h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; margin: 36px 0 12px; color: var(--text); }
.policy-content p { font-size: 15px; line-height: 1.8; color: var(--text-muted); margin-bottom: 16px; }

/* ============================================================
   CLIENT LOGOS — Rounded card bridging two bg colors
   ============================================================ */
.client-logos-wrap {
  background: linear-gradient(to bottom, var(--bg) 50%, var(--bg-teal-section) 50%);
  padding: 0 24px 120px;
}
.client-logos {
  max-width: var(--container);
  margin: 0 auto;
  background: #1e1e1e;
  border-radius: 20px;
  padding: 60px 48px;
}
.logo-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 48px 32px;
  align-items: center;
  justify-items: center;
  max-width: 950px;
  margin: 0 auto;
}
.logo-grid img:nth-child(1) { grid-column: 1 / 3; }
.logo-grid img:nth-child(2) { grid-column: 3 / 5; }
.logo-grid img:nth-child(3) { grid-column: 5 / 7; }
.logo-grid img:nth-child(4) { grid-column: 1 / 3; }
.logo-grid img:nth-child(5) { grid-column: 3 / 5; }
.logo-grid img:nth-child(6) { grid-column: 5 / 7; }
.logo-grid img:nth-child(7) { grid-column: 2 / 4; }
.logo-grid img:nth-child(8) { grid-column: 4 / 6; }
.logo-grid img {
  max-height: 140px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: grayscale(100%) brightness(0.6);
}
.logo-grid img {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease, filter 0.4s ease;
}
.logo-grid img.logo-visible {
  opacity: 0.5;
  transform: translateY(0);
}
.logo-grid img:hover {
  opacity: 0.8 !important;
  filter: grayscale(100%) brightness(0.8);
}
[data-logo-row="2"] { transition-delay: 0.15s; }
[data-logo-row="3"] { transition-delay: 0.3s; }

/* ============================================================
   STICKY VIDEO SCROLL — heading pins, video grows on scroll
   ============================================================ */
.video-scroll-outer {
  position: relative;
  height: 220vh;
  background: var(--bg-teal-section);
}
.video-scroll-sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  gap: 32px;
  padding: calc(var(--nav-height) + 16px) 24px 24px;
}
.video-scroll-heading {
  text-align: center;
  z-index: 2;
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 32px);
  font-weight: 500;
  line-height: 1.2;
  color: var(--text);
  width: 100%;
}
.video-scroll-heading .accent-text {
  font-size: clamp(42px, 7vw, 82px);
  line-height: 1.05;
  margin-top: 8px;
  white-space: nowrap;
}
.video-scroll-wrap {
  position: relative;
  width: 96%;
  max-width: 1400px;
  aspect-ratio: 2.39/1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 80px rgba(0,0,0,0.5);
  will-change: transform;
  z-index: 2;
  transform: scale(0.5);
  transform-origin: center center;
}
.video-scroll-reveal {
  font-family: var(--font-accent);
  font-size: clamp(36px, 6vw, 72px);
  letter-spacing: 2px;
  z-index: 2;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.video-scroll-reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.video-scroll-wrap iframe {
  /* 3840x2160 (16:9) source with 2.39:1 cinemascope content letterboxed inside.
     Iframe stays exact 16:9 aspect: 104% × 140% (104/140 × 2.39 = 1.776 ≈ 16:9).
     `top: 55%` biases the crop downward so more of the top of the video is visible
     (less content lost to the top edge). */
  position: absolute;
  top: 55%;
  left: 50%;
  width: 104%;
  height: 140%;
  transform: translate(-50%, -50%);
  border: none;
}

/* ============================================================
   SERVICE CARD CAROUSEL
   ============================================================ */
.service-carousel {
  position: relative;
  overflow: hidden;
}
.service-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
  padding-bottom: 8px;
}
.svc-card {
  flex: 0 0 calc(33.333% - 14px);
  display: block;
  text-decoration: none;
  color: var(--text);
  transition: transform 0.3s ease;
}
.svc-card:hover {
  transform: translateY(-4px);
}
.svc-card-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 1/1;
  margin-bottom: 14px;
  border: 1px solid var(--border);
}
.svc-card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.svc-card:hover .svc-card-img img {
  transform: scale(1.05);
}
.svc-card-img-empty {
  background: var(--bg-card);
}
.svc-card h4 {
  font-family: var(--font-display);
  font-size: clamp(14px, 1.2vw, 18px);
  font-weight: 600;
  color: var(--text);
  padding: 0 4px;
}
.svc-num {
  color: var(--teal);
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 600;
  margin-right: 8px;
}
.svc-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 24px;
}
.svc-arrow {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: border-color 0.3s ease, color 0.3s ease;
}
.svc-arrow:hover {
  border-color: var(--orange);
  color: var(--orange);
}
.svc-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}
.svc-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}
.svc-dots button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: opacity 0.3s ease;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.svc-dots button::before {
  content: '';
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s ease;
}
.svc-dots button.active::before {
  background: var(--orange);
}

/* ============================================================
   TYPED TEXT EFFECT
   ============================================================ */
.typed-word {
  color: var(--teal);
  border-bottom: 3px solid var(--teal);
  display: inline-block;
  line-height: 1.1;
}
.typed-cursor {
  display: inline-block;
  color: var(--text);
  animation: blink-cursor 0.7s step-end infinite;
  font-weight: 300;
  margin-left: 2px;
}
@keyframes blink-cursor {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}

/* ============================================================
   ACCENT FONT — Permanent Marker for emphasis
   ============================================================ */
.accent-font {
  font-family: var(--font-accent);
  letter-spacing: 1px;
}
/* Use Permanent Marker on specific "reckless" words and emphasis text */
.hero-glass h1 .accent-text {
  font-family: var(--font-accent);
  letter-spacing: 2px;
  font-size: clamp(42px, 8vw, 80px);
  display: block;
  margin-top: 8px;
}
.statement-section h2 .accent-text,
.video-scroll-heading .accent-text {
  font-family: var(--font-accent);
  letter-spacing: 2px;
}

/* ============================================================
   SCROLL ANIMATIONS — Fluid, staggered
   ============================================================ */
.anim {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity var(--transition-slow), transform var(--transition-slow);
}
.anim.vis { opacity: 1; transform: translateY(0); }
.anim-d1 { transition-delay: 0.12s; }
.anim-d2 { transition-delay: 0.24s; }
.anim-d3 { transition-delay: 0.36s; }
.anim-d4 { transition-delay: 0.48s; }

/* Fade-in from different directions */
.anim-left { transform: translateX(-40px); }
.anim-left.vis { transform: translateX(0); }
.anim-right { transform: translateX(40px); }
.anim-right.vis { transform: translateX(0); }
.anim-scale { transform: scale(0.92); }
.anim-scale.vis { transform: scale(1); }

/* ============================================================
   FLUID SECTION BLENDING — No hard edges between sections
   ============================================================ */
/* Gradient fade between dark sections */
.sec + .marquee,
.marquee + .sec {
  margin-top: -1px; /* eliminate gap */
}


/* ============================================================
   MOBILE FIXED FOOTER BAR
   ============================================================ */
.mobile-footer-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 8px 16px;
  justify-content: space-around;
  align-items: center;
}
.mobile-footer-bar a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 10px;
  color: var(--text-muted);
  transition: color 0.3s;
}
.mobile-footer-bar a:hover { color: var(--orange); }
.mobile-footer-bar svg { width: 20px; height: 20px; stroke: currentColor; stroke-width: 1.5; fill: none; }

/* ============================================================
   RESPONSIVE — 1024px
   ============================================================ */
@media (max-width: 1024px) {
  .mega-menu { display: none; }
  .container, .nav-inner { padding: 0 40px; }
  .grid-3 { grid-template-columns: repeat(2, 1fr); gap: 30px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-step:not(:last-child)::after { display: none; }
  .service-hub-card { gap: 24px; }
  .content-sidebar-layout { grid-template-columns: 1fr; }
  .sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-bar { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .test-card { flex: 0 0 calc(50% - 16px); }
  .nav-overlay-info { flex-direction: column; gap: 20px; }
  .service-body-inner { grid-template-columns: 1fr; }
  .partner-grid { grid-template-columns: 1fr; gap: 40px; }
  .partner-badge-wrap { top: -20px; right: 10px; }
  .partner-badge { width: 90px; height: 90px; }
  .logo-grid { grid-template-columns: repeat(3, 1fr); gap: 32px 40px; }
  .client-logos { padding: 48px 32px; }
  .svc-card { flex: 0 0 calc(50% - 10px); }
}

/* ============================================================
   RESPONSIVE — 768px
   ============================================================ */
@media (max-width: 768px) {
  .container, .nav-inner { padding: 0 24px; }
  .nav-links { display: none; }
  .nav-inner { grid-template-columns: auto 1fr auto; }
  .sec { padding: 60px 0; }
  .grid-2 { grid-template-columns: 1fr; gap: 40px; }
  .grid-3 { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .stats-bar { gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { text-align: center; }
  .test-card { flex: 0 0 calc(100% - 16px); }
  .hero-hotspots { display: none; }
  .hero-glass { padding: 24px 20px; }
  .hero-glass h1 { font-size: clamp(20px, 4.8vw, 34px); margin-bottom: 20px; }
  .hero-glass .label { display: none; }
  /* Mobile: force solid nav and push hero section below it */
  .nav { background: var(--bg); box-shadow: 0 2px 20px rgba(0,0,0,0.3); }
  .hero { padding-top: var(--nav-height); }
  /* Center card within the image (not the padded hero) */
  .hero-overlay {
    top: var(--nav-height);
    height: calc(100% - var(--nav-height));
    padding: 16px;
  }
  .service-body-inner { padding-left: 0; }
  .partner-grid { grid-template-columns: 1fr; gap: 32px; }
  .logo-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .logo-grid img { max-height: 45px; }
  .client-logos { padding: 40px 24px; border-radius: 16px; }
  .svc-card { flex: 0 0 calc(100% - 10px); }
}

/* ============================================================
   RESPONSIVE — 480px
   ============================================================ */
@media (max-width: 480px) {
  .container, .nav-inner { padding: 0 20px; }
  .hero-text-section { padding: 48px 0; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
  .stats-bar { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .process-grid { grid-template-columns: 1fr; }
  .pre-footer .cta-actions { flex-direction: column; align-items: center; }
  .pre-footer .cta-actions .btn { width: 80%; }
}

/* ============================================================
   RM NATIVE FORM
   ============================================================ */
.rm-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.rm-form-row {
  display: grid;
  gap: 16px;
}
.rm-form-row-2 {
  grid-template-columns: 1fr 1fr;
}
.rm-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.rm-field-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-dim);
}
.rm-field input,
.rm-field select,
.rm-field textarea {
  width: 100%;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--text);
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px 14px;
  transition: border-color 0.2s ease, background 0.2s ease;
}
.rm-field textarea {
  resize: vertical;
  min-height: 96px;
}
.rm-field input:focus,
.rm-field select:focus,
.rm-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  background: rgba(255,255,255,0.06);
}
.rm-field input::placeholder,
.rm-field textarea::placeholder {
  color: rgba(255,255,255,0.35);
}
.rm-field select {
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8' fill='none'><path d='M1 1l5 5 5-5' stroke='%23f89d24' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/></svg>");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 40px;
}
.rm-hp {
  position: absolute;
  left: -9999px;
  top: auto;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.rm-form-submit {
  margin-top: 8px;
  align-self: flex-start;
}
.rm-form-submit[disabled] {
  opacity: 0.6;
  cursor: wait;
}
.rm-form-status {
  font-size: 14px;
  line-height: 1.5;
  margin: 0;
  min-height: 0;
}
.rm-form-status:empty { display: none; }
.rm-form-status-success {
  color: #4ade80;
  background: rgba(74,222,128,0.08);
  border: 1px solid rgba(74,222,128,0.3);
  border-radius: 8px;
  padding: 12px 14px;
}
.rm-form-status-error {
  color: #f87171;
  background: rgba(248,113,113,0.08);
  border: 1px solid rgba(248,113,113,0.3);
  border-radius: 8px;
  padding: 12px 14px;
}
.rm-form-sent .rm-form-row,
.rm-form-sent .rm-field,
.rm-form-sent .rm-form-submit {
  display: none;
}
.form-overlay .rm-form-status-success {
  margin-top: 0;
}
@media (max-width: 600px) {
  .rm-form-row-2 { grid-template-columns: 1fr; }
  .rm-form-submit { align-self: stretch; width: 100%; text-align: center; }
}
.form-box { padding: 40px 32px; }
.form-box-heading {
  font-family: var(--font-display);
  font-size: clamp(22px, 2.5vw, 28px);
  font-weight: 600;
  color: var(--text);
  margin: 0 0 6px;
  line-height: 1.2;
}
.form-box-sub {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0 0 20px;
}
@media (max-width: 600px) {
  .form-box { padding: 28px 20px; }
}
