/* ============================================
   RIPPLE MOTIONS - Main Stylesheet
   ============================================ */

/* --- Variables --- */
:root {
  --color-primary: #6E2921;
  --color-accent: #C76242;
  --color-red: #da5148;
  --color-white: #FFFFFF;
  --color-off-white: #F9F7F6;
  --color-light-gray: #ECECEC;
  --color-medium-gray: #717171;
  --color-dark-gray: #444444;
  --color-text: #2A2A2A;
  --color-text-light: #4A4A4A;
  --color-hero-bg: #FFF8F5;
  --font: 'Poppins', sans-serif;
  --ls: -0.02em;
  --ls-tight: -0.04em;
  --radius: 16px;
  --radius-sm: 10px;
  --shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
  --shadow-hover: 0 12px 40px rgba(0, 0, 0, 0.10);
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1140px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-white);
  letter-spacing: var(--ls);
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.025;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-repeat: repeat;
  background-size: 256px 256px;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

/* --- Layout --- */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 100px 0;
}
.section-alt {
  background: var(--color-off-white);
}
.text-center { text-align: center; }

/* --- Typography --- */
.label {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: 12px;
}
h1 {
  font-size: clamp(42px, 5.5vw, 72px);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: var(--ls-tight);
}
h2 {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: var(--ls-tight);
}
h3 {
  font-size: clamp(22px, 2vw, 28px);
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: var(--ls);
}
h4 {
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}
p { color: var(--color-text-light); }
.subtitle {
  font-size: clamp(16px, 1.3vw, 19px);
  color: var(--color-text-light);
  max-width: 560px;
  line-height: 1.7;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 100px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: var(--ls);
  transition: var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--color-accent);
  color: var(--color-white);
}
.btn-primary:hover {
  background: var(--color-primary);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(110, 41, 33, 0.25);
}
.btn-secondary {
  background: rgba(110, 41, 33, 0.08);
  color: var(--color-primary);
  border: none;
}
.btn-secondary:hover {
  background: rgba(110, 41, 33, 0.16);
  transform: translateY(-2px);
}
.btn-ghost {
  color: var(--color-accent);
  padding: 14px 8px;
}
.btn-ghost:hover { opacity: 0.7; }
.btn-white {
  background: var(--color-white);
  color: var(--color-primary);
}
.btn-white:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}
.btn svg, .btn .arrow {
  transition: transform var(--transition);
}
.btn:hover svg, .btn:hover .arrow {
  transform: translateX(3px);
}

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 0;
  padding-top: max(20px, env(safe-area-inset-top));
  transition: var(--transition);
}
.nav.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 14px 0;
  box-shadow: 0 1px 20px rgba(0, 0, 0, 0.06);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.nav-logo img {
  height: 32px;
  width: auto;
}
.nav-logo span {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: var(--ls);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 36px;
}
.nav-links a {
  font-size: 15px;
  font-weight: 500;
  color: var(--color-dark-gray);
  transition: var(--transition);
  position: relative;
  padding: 8px 16px;
  border-radius: 100px;
}
.nav-links a:hover,
.nav-links a.active {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-primary);
}
.nav-cta .btn {
  padding: 10px 24px;
  font-size: 14px;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 11px 8px;
  cursor: pointer;
  justify-content: center;
}
.nav-toggle span {
  display: block;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-toggle.open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Nav */
.nav-mobile {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 999;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 24px;
  font-weight: 600;
  color: var(--color-primary);
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
}

/* ============================================
   HERO
   ============================================ */
.hero {
  display: flex;
  align-items: center;
  background: linear-gradient(180deg, var(--color-hero-bg) 0%, var(--color-white) 100%);
  padding: 120px 0 56px;
  position: relative;
  overflow: hidden;
}
.hero-content {
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  position: relative;
  z-index: 2;
}
.hero-title {
  margin-bottom: 24px;
}
.hero-rotator {
  display: inline-block;
  height: 1.15em;
  overflow: hidden;
  vertical-align: bottom;
  position: relative;
}
.hero-rotator-track {
  display: flex;
  flex-direction: column;
}
.hero-rotator-word {
  white-space: nowrap;
  background: linear-gradient(135deg, var(--color-accent), var(--color-red));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  flex-shrink: 0;
  height: 1.15em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero .subtitle {
  margin: 0 auto 40px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.hero-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  color: var(--color-medium-gray);
  font-size: 14px;
}
.hero-proof-avatars {
  display: flex;
}
.hero-proof-avatars span {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid var(--color-white);
  margin-left: -10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 600;
  color: var(--color-white);
  overflow: hidden;
}
.hero-proof-avatars span img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.hero-proof-avatars span:first-child { margin-left: 0; }
.hero-proof-avatars span:nth-child(1) { background: var(--color-accent); }
.hero-proof-avatars span:nth-child(2) { background: var(--color-primary); }
.hero-proof-avatars span:nth-child(3) { background: var(--color-red); }
.hero-proof-avatars span:nth-child(4) { background: var(--color-dark-gray); }

/* Hero decorative elements */
.hero-bg-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 98, 66, 0.08), transparent 70%);
  top: -100px;
  right: -200px;
  pointer-events: none;
}
.hero-bg-glow-2 {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(110, 41, 33, 0.06), transparent 70%);
  bottom: 0;
  left: -100px;
  pointer-events: none;
}

/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(180deg, var(--color-hero-bg) 0%, var(--color-white) 100%);
  text-align: center;
}
.page-hero .subtitle {
  margin: 16px auto 0;
}

/* ============================================
   STATS BAR
   ============================================ */
.stats {
  padding: 48px 0;
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-number {
  font-size: clamp(32px, 3vw, 44px);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: var(--ls-tight);
  line-height: 1.1;
}
.stat-label {
  font-size: 14px;
  color: var(--color-medium-gray);
  margin-top: 4px;
}

/* ============================================
   SERVICES
   ============================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.service-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 40px 32px;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(0, 0, 0, 0.03);
}
.service-card:hover .service-icon {
  transform: scale(1.08);
  transition: transform var(--transition);
}
.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  font-size: 24px;
  color: var(--color-accent);
}
.service-card h3 {
  margin-bottom: 12px;
  font-size: 20px;
  color: var(--color-text);
}
.service-card p {
  font-size: 15px;
  line-height: 1.65;
}

/* ============================================
   SCROLLING MARQUEE
   ============================================ */
.marquee {
  overflow: hidden;
  padding: 40px 0;
  position: relative;
}
.marquee::before,
.marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.marquee::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white), transparent);
}
.marquee::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white), transparent);
}
.section-alt .marquee::before {
  background: linear-gradient(to right, var(--color-off-white), transparent);
}
.section-alt .marquee::after {
  background: linear-gradient(to left, var(--color-off-white), transparent);
}
.marquee-track {
  display: flex;
  gap: 48px;
  align-items: center;
  width: max-content;
  animation: marquee 40s linear infinite;
}
.marquee-track.reverse {
  animation-direction: reverse;
}
.marquee-track.fast {
  animation-duration: 25s;
}
.marquee-item {
  font-size: clamp(20px, 2.5vw, 32px);
  font-weight: 700;
  color: var(--color-light-gray);
  white-space: nowrap;
  letter-spacing: var(--ls);
  transition: var(--transition);
}
.marquee-item:hover {
  color: var(--color-accent);
}
.marquee-separator {
  color: var(--color-accent);
  font-size: 14px;
  opacity: 0.6;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* ============================================
   COMPARISON
   ============================================ */
.comparison-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.comparison-card {
  border-radius: var(--radius);
  padding: 40px 36px;
}
.comparison-card.other {
  background: var(--color-off-white);
  border: 1px solid var(--color-light-gray);
}
.comparison-card.us {
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.comparison-card.us::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: rgba(199, 98, 66, 0.2);
  pointer-events: none;
}
.comparison-card h3 {
  font-size: 22px;
  margin-bottom: 28px;
}
.comparison-card.us h3 { color: var(--color-white); }
.comparison-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.comparison-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  line-height: 1.5;
  transition: transform var(--transition);
  border-radius: 8px;
  padding: 4px 0;
}
.comparison-list li:hover {
  transform: translateX(4px);
}
.comparison-list .icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-top: 1px;
}
.comparison-card.other .icon {
  background: rgba(218, 81, 72, 0.1);
  color: var(--color-red);
}
.comparison-card.other li {
  color: var(--color-text-light);
}
.comparison-card.us .icon {
  background: rgba(255, 255, 255, 0.2);
  color: var(--color-white);
}
.comparison-card.us li {
  color: rgba(255, 255, 255, 0.9);
}

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 56px;
}
.testimonial-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}
.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.testimonial-video {
  aspect-ratio: 9 / 16;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  cursor: pointer;
}
.testimonial-video img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.testimonial-video video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.testimonial-video .play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  font-size: 20px;
  transition: var(--transition);
  backdrop-filter: blur(8px);
  z-index: 2;
}
.testimonial-video.playing .play-btn {
  opacity: 0;
  pointer-events: none;
}
.testimonial-video.loading .play-btn {
  opacity: 0;
}
.testimonial-video.loading::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 32px;
  height: 32px;
  margin: -16px 0 0 -16px;
  border: 3px solid rgba(255, 255, 255, 0.3);
  border-top-color: var(--color-white);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  z-index: 3;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.testimonial-card:hover .play-btn {
  transform: translate(-50%, -50%) scale(1.1);
  background: var(--color-white);
}
.testimonials-grid-full {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

/* Video Carousel (homepage) */
.video-carousel {
  margin: 56px auto 0;
  max-width: 75%;
  overflow: hidden;
  position: relative;
}
.video-carousel-track {
  display: flex;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.video-carousel-slide {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  flex: 0 0 100%;
  min-width: 0;
}
.video-carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 28px;
}
.video-carousel-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--color-light-gray);
  background: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--color-primary);
  cursor: pointer;
  transition: var(--transition);
}
.video-carousel-btn:hover {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}
.video-carousel-dots {
  display: flex;
  gap: 10px;
}
.testimonial-info {
  padding: 20px 24px;
}
.testimonial-info h4 {
  font-size: 15px;
  color: var(--color-text);
}
.testimonial-info p {
  font-size: 13px;
  color: var(--color-medium-gray);
}

/* Portfolio video carousel (mobile only) */
.portfolio-video-controls {
  display: none;
}
.portfolio-video-carousel-mode {
  display: flex !important;
  overflow: hidden;
}
.portfolio-video-carousel-mode .testimonial-card {
  flex: 0 0 100%;
  min-width: 0;
}

/* ============================================
   LOGO TICKER
   ============================================ */
.logo-ticker {
  overflow: hidden;
  padding: 32px 0;
  position: relative;
  contain: layout style paint;
}
.logo-ticker::before,
.logo-ticker::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  z-index: 2;
  pointer-events: none;
}
.logo-ticker::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white), transparent);
}
.logo-ticker::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white), transparent);
}
.section-alt .logo-ticker::before {
  background: linear-gradient(to right, var(--color-off-white), transparent);
}
.section-alt .logo-ticker::after {
  background: linear-gradient(to left, var(--color-off-white), transparent);
}
.logo-ticker-track {
  display: flex;
  gap: 48px;
  align-items: center;
  width: max-content;
  animation: marquee 120s linear infinite;
}
.logo-item {
  height: 40px;
  min-width: 120px;
  opacity: 0.5;
  transition: var(--transition);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-dark-gray);
  white-space: nowrap;
}
.logo-item:hover { opacity: 0.9; }
.logo-item img {
  height: 36px;
  width: auto;
  max-width: 120px;
  object-fit: contain;
  opacity: 0.55;
  transition: opacity 0.25s ease, transform 0.25s ease;
  image-rendering: optimizeSpeed;
}
.logo-item:hover img {
  opacity: 1;
  transform: scale(1.04);
}

/* ============================================
   TEAM
   ============================================ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  margin-top: 56px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
.team-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}
.team-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.team-photo {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin: 0 auto 24px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--color-accent), var(--color-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  color: var(--color-white);
  font-weight: 700;
}
.team-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.team-card h3 {
  font-size: 22px;
  margin-bottom: 4px;
}
.team-role {
  font-size: 14px;
  color: var(--color-accent);
  font-weight: 600;
  margin-bottom: 16px;
}
.team-bio {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-light);
}
.team-social {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin-top: 20px;
}
.team-social a {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-gray);
  font-size: 16px;
  transition: var(--transition);
}
.team-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}

/* ============================================
   PORTFOLIO
   ============================================ */
.portfolio-spotlight {
  display: flex;
  gap: 0;
  margin-top: 56px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  align-items: flex-start;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.portfolio-spotlight::-webkit-scrollbar {
  display: none;
}
.portfolio-spotlight > .portfolio-card,
.portfolio-spotlight > .carousel-slide-pair {
  flex: 0 0 100%;
  scroll-snap-align: start;
}
.portfolio-spotlight .portfolio-thumb {
  aspect-ratio: 16 / 9;
}
.carousel-slide-pair {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
}
.carousel-dot {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-light-gray);
  border: none;
  padding: 17px;
  background-clip: content-box;
  cursor: pointer;
  transition: var(--transition);
}
.carousel-dot.active {
  background: var(--color-accent);
  background-clip: content-box;
  transform: scale(1.2);
}
.carousel-dot:hover {
  background: var(--color-accent);
  background-clip: content-box;
  opacity: 0.7;
}
.portfolio-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}
.portfolio-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.portfolio-card.featured {
  /* featured card is wider in carousel */
}
.portfolio-thumb {
  aspect-ratio: 16 / 10;
  background: linear-gradient(135deg, var(--color-hero-bg), var(--color-off-white));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-medium-gray);
  font-size: 14px;
  position: relative;
  overflow: hidden;
}
.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-thumb-carousel {
  position: relative;
}
.portfolio-thumb-carousel img {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.portfolio-thumb-carousel img.active {
  opacity: 1;
}
.portfolio-body {
  padding: 28px;
}
.portfolio-tag {
  display: inline-block;
  background: var(--color-hero-bg);
  color: var(--color-accent);
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.portfolio-body h3 {
  font-size: 20px;
  margin-bottom: 8px;
}
.portfolio-body p {
  font-size: 14px;
  line-height: 1.6;
}
.portfolio-results {
  display: flex;
  gap: 24px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-light-gray);
}
.portfolio-result {
  text-align: center;
}
.portfolio-result .num {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
}
.portfolio-result .lbl {
  font-size: 12px;
  color: var(--color-medium-gray);
}

/* Tier 2/3 */
.portfolio-tier {
  margin-top: 80px;
}
.portfolio-tier h2 {
  font-size: 28px;
}
.portfolio-mini-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.portfolio-mini-card {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius-sm);
  padding: 28px;
  transition: var(--transition);
  text-align: center;
}
.portfolio-mini-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.mini-card-avatar {
  width: 216px;
  height: 216px;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto 20px;
}
.mini-card-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.portfolio-mini-card h4 {
  margin-bottom: 8px;
}
.portfolio-mini-card p {
  font-size: 14px;
}

/* ============================================
   FAQ / ACCORDION
   ============================================ */
.faq-list {
  max-width: 760px;
  margin: 56px auto 0;
}
.faq-item {
  border-bottom: 1px solid var(--color-light-gray);
}
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 24px 0;
  font-size: 17px;
  font-weight: 600;
  color: var(--color-text);
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  background: none;
  border: none;
  font-family: var(--font);
  letter-spacing: var(--ls);
}
.faq-question:hover { color: var(--color-accent); }
.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
  transition: var(--transition);
  color: var(--color-dark-gray);
}
.faq-item.open .faq-icon {
  background: var(--color-accent);
  color: var(--color-white);
  transform: rotate(45deg);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.4s ease;
}
.faq-item.open .faq-answer {
  max-height: 500px;
}
.faq-answer-inner {
  padding-bottom: 24px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
}

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  text-align: center;
  padding: 100px 0;
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -200px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 800px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(199, 98, 66, 0.2), transparent 60%);
  pointer-events: none;
}
.cta-section h2 {
  color: var(--color-white);
  margin-bottom: 16px;
  position: relative;
}
.cta-section .subtitle {
  color: rgba(255, 255, 255, 0.7);
  margin: 0 auto 40px;
}
.cta-section .btn {
  position: relative;
}

/* ============================================
   CONTACT
   ============================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
  margin-top: 56px;
  align-items: start;
}
.contact-links {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact-link {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 15px;
  color: var(--color-text-light);
  transition: var(--transition);
}
.contact-link:hover { color: var(--color-accent); }
.contact-link .icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: var(--color-hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.contact-social {
  display: flex;
  gap: 12px;
  margin-top: 32px;
}
.contact-social a {
  min-width: 44px;
  min-height: 44px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-off-white);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-dark-gray);
  font-size: 18px;
  transition: var(--transition);
}
.contact-social a:hover {
  background: var(--color-accent);
  color: var(--color-white);
}
.calendly-container {
  background: var(--color-white);
  border: 1px solid var(--color-light-gray);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 660px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 64px 0 32px;
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 48px;
}
.footer-brand p {
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  margin-top: 16px;
  max-width: 280px;
  line-height: 1.6;
}
.footer-brand .nav-logo img {
  filter: brightness(0) invert(1);
}
.footer-col h4 {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col a {
  display: block;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
  transition: var(--transition);
  position: relative;
}
.footer-col a:hover {
  color: var(--color-white);
  transform: translateX(3px);
}
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.4);
}
.footer-bottom-links {
  display: flex;
  gap: 24px;
}
.footer-bottom-links a {
  color: rgba(255, 255, 255, 0.4);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: rgba(255, 255, 255, 0.8); }

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-left.visible {
  opacity: 1;
  transform: translateX(0);
}
.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.reveal-right.visible {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger children */
.stagger-children .reveal:nth-child(1) { transition-delay: 0s; }
.stagger-children .reveal:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .reveal:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .reveal:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .reveal:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .reveal:nth-child(6) { transition-delay: 0.5s; }

/* Page load fade */
.page-enter {
  animation: pageEnter 0.6s ease forwards;
}
@keyframes pageEnter {
  from { opacity: 0; }
  to { opacity: 1; }
}

/* ============================================
   STICKY CTA
   ============================================ */
.sticky-cta {
  position: fixed;
  right: 24px;
  bottom: 32px;
  z-index: 900;
  opacity: 0;
  transform: translateY(20px) scale(0.9);
  transition: opacity 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}
.sticky-cta.visible {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}
.sticky-cta .btn {
  box-shadow: 0 8px 32px rgba(110, 41, 33, 0.3);
  padding: 16px 28px;
  font-size: 14px;
  animation: ctaPulse 2.5s ease-in-out infinite;
}
.sticky-cta .btn:hover {
  animation: none;
  transform: scale(1.07);
  background: rgba(199, 98, 66, 0.85);
  box-shadow: 0 14px 44px rgba(110, 41, 33, 0.35);
}
@keyframes ctaPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

/* ============================================
   FOUNDER VIDEO
   ============================================ */
.founder-video {
  max-width: 800px;
  margin: 0 auto;
}
.founder-video-wrapper {
  position: relative;
  aspect-ratio: 16 / 9;
  background: linear-gradient(135deg, var(--color-primary) 0%, #4a1a15 100%);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: pointer;
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 8px 40px rgba(110, 41, 33, 0.15);
}
.founder-video-wrapper:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 56px rgba(110, 41, 33, 0.2);
}
.founder-video-thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.founder-video-wrapper.playing {
  cursor: default;
}
.founder-video-wrapper.playing .founder-video-overlay,
.founder-video-wrapper.playing .founder-video-thumb {
  display: none;
}
.founder-video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.founder-video-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--color-white);
}
.founder-video-play {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  transition: var(--transition);
}
.founder-video-wrapper:hover .founder-video-play {
  background: rgba(255, 255, 255, 0.25);
  transform: scale(1.1);
}
.founder-video-label {
  font-size: 14px;
  font-weight: 500;
  opacity: 0.8;
  letter-spacing: 0.02em;
}

/* ============================================
   TRUST BADGES
   ============================================ */
.trust-badges {
  display: flex;
  justify-content: center;
  gap: 48px;
  flex-wrap: wrap;
  padding: 48px 0;
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 14px;
  transition: var(--transition);
}
.trust-badge:hover {
  transform: translateY(-2px);
}
.trust-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--color-hero-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-accent);
  flex-shrink: 0;
}
.trust-badge-text {
  display: flex;
  flex-direction: column;
}
.trust-badge-value {
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: var(--ls-tight);
  line-height: 1.2;
}
.trust-badge-label {
  font-size: 13px;
  color: var(--color-medium-gray);
}

/* ============================================
   PROCESS / HOW IT WORKS
   ============================================ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 56px;
  position: relative;
}
.process-grid::before {
  content: '';
  position: absolute;
  top: 44px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: var(--color-light-gray);
  z-index: 0;
}
.process-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.process-number {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--color-white);
  border: 2px solid var(--color-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  font-weight: 700;
  color: var(--color-accent);
  margin: 0 auto 20px;
  transition: var(--transition);
}
.process-step:hover .process-number {
  background: var(--color-accent);
  color: var(--color-white);
}
.process-step h4 {
  font-size: 17px;
  margin-bottom: 8px;
}
.process-step p {
  font-size: 14px;
  line-height: 1.6;
  max-width: 220px;
  margin: 0 auto;
}

/* ============================================
   INTERACTIVE SLIDERS (Micro-interactions)
   ============================================ */
.sliders-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.sliders-section.sliders-single {
  grid-template-columns: 1fr;
  max-width: 720px;
}
.slider-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
}
.slider-card h4 {
  font-size: 18px;
  margin-bottom: 8px;
}
.slider-card > p {
  font-size: 14px;
  margin-bottom: 28px;
}
.slider-range {
  width: 100%;
  -webkit-appearance: none;
  appearance: none;
  height: 6px;
  border-radius: 3px;
  background: var(--color-light-gray);
  outline: none;
  cursor: pointer;
}
.slider-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(199, 98, 66, 0.3);
  cursor: pointer;
  transition: box-shadow 0.2s;
}
.slider-range::-webkit-slider-thumb:hover {
  box-shadow: 0 4px 16px rgba(199, 98, 66, 0.5);
}
.slider-range::-moz-range-thumb {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--color-accent);
  border: 3px solid var(--color-white);
  box-shadow: 0 2px 8px rgba(199, 98, 66, 0.3);
  cursor: pointer;
}
.slider-output {
  margin-top: 24px;
  padding: 20px;
  background: var(--color-hero-bg);
  border-radius: var(--radius-sm);
  text-align: center;
}
.slider-output-value {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: var(--ls-tight);
  line-height: 1.2;
}
.slider-output-label {
  font-size: 13px;
  color: var(--color-medium-gray);
  margin-top: 4px;
}
.slider-ticks {
  display: flex;
  justify-content: space-between;
  margin-top: 8px;
  font-size: 12px;
  color: var(--color-medium-gray);
}
.slider-services-list {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.slider-service-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  color: var(--color-text-light);
  transition: opacity 0.3s, transform 0.3s;
}
.slider-service-item.inactive {
  opacity: 0.3;
  text-decoration: line-through;
}
.slider-service-item .check {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  flex-shrink: 0;
  transition: var(--transition);
}
.slider-service-item .check.on {
  background: rgba(76, 175, 80, 0.12);
  color: #4CAF50;
}
.slider-service-item .check.off {
  background: rgba(0, 0, 0, 0.05);
  color: var(--color-medium-gray);
}

/* ============================================
   BEFORE / AFTER RESULTS
   ============================================ */
.before-after-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 0;
  margin-top: 56px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  align-items: stretch;
}
.ba-card {
  border-radius: var(--radius);
  padding: 40px 36px;
}
.ba-card.before {
  background: var(--color-off-white);
  border: 1px solid var(--color-light-gray);
}
.ba-card.after {
  background: var(--color-primary);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
}
.ba-card.after::before {
  content: '';
  position: absolute;
  top: -40px;
  right: -40px;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(199, 98, 66, 0.2);
  pointer-events: none;
}
.ba-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  font-size: 24px;
  color: var(--color-accent);
  font-weight: 700;
}
.ba-card h4 {
  font-size: 16px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 24px;
}
.ba-card.before h4 {
  color: var(--color-medium-gray);
}
.ba-card.after h4 {
  color: rgba(255, 255, 255, 0.5);
}
.ba-metrics {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.ba-metric-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.ba-metric-label {
  font-size: 14px;
}
.ba-card.before .ba-metric-label {
  color: var(--color-text-light);
}
.ba-card.after .ba-metric-label {
  color: rgba(255, 255, 255, 0.8);
}
.ba-metric-value {
  font-size: 20px;
  font-weight: 700;
}
.ba-card.before .ba-metric-value {
  color: var(--color-medium-gray);
}
.ba-card.after .ba-metric-value {
  color: var(--color-white);
}

/* ============================================
   WRITTEN TESTIMONIALS
   ============================================ */
.written-testimonials-grid {
  display: flex;
  gap: 24px;
  margin-top: 56px;
}
.written-testimonials-grid > * {
  flex: 1 1 0%;
  min-width: 0;
}
.written-testimonial {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 32px;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}
.written-testimonial:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.written-testimonial-quote {
  font-size: 32px;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}
.written-testimonial p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--color-text-light);
  font-style: italic;
  flex: 1;
}
.written-testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--color-light-gray);
}
.written-testimonial-avatar {
  width: 40px;
  height: 40px;
  aspect-ratio: 1 / 1;
  flex: 0 0 40px;
  border-radius: 50%;
  overflow: hidden;
}
.written-testimonial-avatar img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  border-radius: 50%;
}
.written-testimonial-name {
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text);
}
.written-testimonial-role {
  font-size: 12px;
  color: var(--color-medium-gray);
}

/* ============================================
   URGENCY / SCARCITY
   ============================================ */
.urgency-section {
  text-align: center;
  padding: 80px 0;
  background: var(--color-hero-bg);
  border-top: 1px solid var(--color-light-gray);
  border-bottom: 1px solid var(--color-light-gray);
}
.urgency-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(218, 81, 72, 0.08);
  color: var(--color-red);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  margin-bottom: 24px;
}
.urgency-badge .pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-red);
  animation: pulse 2s ease infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.5); }
}
.urgency-slots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 32px;
}
.urgency-slot {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  font-weight: 600;
  transition: var(--transition);
}
.urgency-slot.taken {
  background: var(--color-primary);
  color: var(--color-white);
}
.urgency-slot.available {
  background: var(--color-white);
  border: 2px dashed var(--color-accent);
  color: var(--color-accent);
}
.urgency-slot.available:hover {
  background: rgba(199, 98, 66, 0.08);
}

/* ============================================
   ONBOARDING EXPECTATIONS
   ============================================ */
.onboarding-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 48px;
}
.onboarding-card {
  background: var(--color-white);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  transition: var(--transition);
}
.onboarding-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.onboarding-card h4 {
  margin-bottom: 8px;
}
.onboarding-timeline {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  margin-bottom: 12px;
}
.onboarding-card p {
  font-size: 14px;
  line-height: 1.6;
}

/* ============================================
   INLINE STATS BAR (reusable)
   ============================================ */
.inline-stats {
  display: flex;
  justify-content: center;
  gap: 56px;
  padding: 20px 0;
}
.inline-stat {
  text-align: center;
}
.inline-stat-num {
  font-size: 24px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: var(--ls-tight);
}
.inline-stat-label {
  font-size: 12px;
  color: var(--color-medium-gray);
  margin-top: 2px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .sliders-section { grid-template-columns: 1fr; max-width: 500px; }
  .trust-badges { gap: 32px; }
  /* written testimonials stay 3 columns on all non-mobile screens */
}

@media (max-width: 768px) {
  .container { padding: 0 28px; }
  .section { padding: 72px 0; }
  .page-hero { padding: 130px 0 56px; }

  /* Nav */
  .nav-links, .nav-cta { display: none; }
  .nav-toggle { display: flex; }

  /* Hero */
  .hero { padding: 110px 0 48px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .hero-proof { flex-direction: column; gap: 8px; }

  /* Stats */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }

  /* Services - stack to 1 column */
  .services-grid { grid-template-columns: 1fr; }

  /* Comparison */
  .comparison-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonials-grid { grid-template-columns: 1fr; }
  .testimonials-grid-full { grid-template-columns: repeat(2, 1fr); }
  .written-testimonials-grid { flex-direction: column; }
  /* Video carousel - swipe peek carousel on mobile */
  .video-carousel {
    max-width: 100%;
    overflow: visible;
  }
  .video-carousel-track {
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 0 20%;
  }
  .video-carousel-track::-webkit-scrollbar { display: none; }
  .video-carousel-track > .testimonial-card {
    flex: 0 0 60%;
    min-width: 0;
    scroll-snap-align: center;
  }
  .video-carousel-controls { display: none; }

  /* Portfolio video grid - same swipe peek on mobile */
  .portfolio-video-carousel-mode {
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 12px;
    padding: 0 20%;
  }
  .portfolio-video-carousel-mode::-webkit-scrollbar { display: none; }
  .portfolio-video-carousel-mode .testimonial-card {
    flex: 0 0 60%;
    max-width: none;
    scroll-snap-align: center;
  }
  .portfolio-video-controls { display: none !important; }

  /* Team - shrink photos */
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
  .team-photo { width: 220px; height: 220px; }

  /* Portfolio */
  .carousel-slide-pair { grid-template-columns: 1fr; }
  .mini-card-avatar { width: 160px; height: 160px; }
  .portfolio-mini-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }

  /* Footer */
  .footer-top { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }

  /* CTA */
  .cta-section { padding: 72px 0; }

  /* Process */
  .process-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .process-grid::before { display: none; }

  /* Sliders */
  .sliders-section { grid-template-columns: 1fr; }
  .slider-ticks { font-size: 10px; }

  /* Before/After */
  .before-after-grid { grid-template-columns: 1fr; gap: 0; }
  .ba-arrow { transform: rotate(90deg); width: 100%; height: 48px; }

  /* Trust badges - compact single row on mobile */
  .trust-badges {
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: center;
    gap: 16px;
    padding: 16px 12px;
  }
  .trust-badge-icon { display: none; }
  .trust-badge { gap: 0; }
  .trust-badge-text { align-items: center; }
  .trust-badge-value { font-size: 15px; }
  .trust-badge-label { font-size: 11px; }

  /* Hide noise texture on mobile for performance */
  body::before { display: none; }
  .nav.scrolled { backdrop-filter: none; -webkit-backdrop-filter: none; }

  /* Disable expensive paint effects on mobile */
  .nav-mobile { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .testimonial-video .play-btn { backdrop-filter: none; -webkit-backdrop-filter: none; }
  .sticky-cta .btn { animation: none; }
  .hero-rotator-word { animation: none; background: var(--color-accent); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
  .decor-dot { animation: none; opacity: 0.6; }

  /* Marquee - shrink fade edges on mobile */
  .marquee::before,
  .marquee::after { width: 40px; }
  .marquee { padding: 28px 0; }
  .marquee-track { gap: 28px; }

  /* Urgency */
  .urgency-section { padding: 56px 0; }

  /* Sticky CTA */
  .sticky-cta { right: 16px; bottom: 20px; }
  .sticky-cta .btn { padding: 12px 20px; font-size: 13px; }

  /* Mobile compositor hints for scroll containers */
  .portfolio-spotlight,
  .video-carousel-track,
  .portfolio-video-carousel-mode {
    contain: paint;
    overscroll-behavior-x: contain;
    touch-action: pan-x;
  }

  /* Native scroll on mobile; avoid unnecessary transform transition bookkeeping */
  .video-carousel-track { transition: none; }

  /* Inline stats */
  .inline-stats { gap: 24px; flex-wrap: wrap; }

  /* Onboarding */
  .onboarding-grid { grid-template-columns: 1fr; }

  /* About grid */
  .about-story-grid { grid-template-columns: 1fr !important; gap: 40px !important; }

  /* Portfolio tier grid */
  .portfolio-tier-side-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  .container { padding: 0 20px; }
  .section { padding: 56px 0; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .testimonials-grid-full { grid-template-columns: 1fr; }
  .service-card { padding: 28px 24px; }
  .comparison-card { padding: 28px 24px; }
  .team-card { padding: 28px 24px; }
  .team-photo { width: 180px; height: 180px; }
  .mini-card-avatar { width: 120px; height: 120px; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .slider-card { padding: 24px; }
  .slider-ticks span { font-size: 10px; }
  .ba-card { padding: 28px 24px; }
  .trust-badges { gap: 12px; padding: 14px 8px; }
  .trust-badge-value { font-size: 14px; }
  .trust-badge-label { font-size: 11px; }
  .slider-ticks span { font-size: 11px; }
  .urgency-slots { gap: 8px; }
  .urgency-slot { width: 40px; height: 40px; font-size: 12px; }
  .inline-stats { gap: 16px; }
  .inline-stat-num { font-size: 20px; }
}

/* ============================================
   SCROLL PROGRESS BAR
   ============================================ */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-accent), var(--color-red));
  z-index: 10001;
  transform-origin: 0 50%;
  transform: scaleX(0);
  will-change: transform;
  pointer-events: none;
}

/* ============================================
   MICRO-INTERACTIONS
   ============================================ */

/* Button press feedback */
.btn:active {
  transform: translateY(1px) scale(0.97);
  transition-duration: 0.1s;
}

/* Portfolio thumbnail shine sweep */
.portfolio-thumb::after {
  content: '';
  position: absolute;
  top: 0;
  left: -75%;
  width: 50%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.15),
    transparent
  );
  transform: translateX(0) skewX(-20deg);
  transition: none;
  pointer-events: none;
}
.portfolio-card:hover .portfolio-thumb::after {
  animation: shine 0.6s ease forwards;
}
@keyframes shine {
  to { transform: translateX(400%) skewX(-20deg); }
}

/* Hero rotator gradient animation */
.hero-rotator-word {
  background-size: 200% 200%;
  animation: gradientShift 4s ease infinite;
}
@keyframes gradientShift {
  0%, 100% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
}

/* Stat counter completion bounce */
.stat-number.counted {
  animation: countBounce 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
@keyframes countBounce {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); }
  100% { transform: scale(1); }
}

/* Footer link animated underline */
.footer-col a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background: rgba(255, 255, 255, 0.5);
  transition: width 0.3s ease;
}
.footer-col a:hover::after {
  width: 100%;
}

/* Pause ticker/marquee on hover */
.logo-ticker:hover .logo-ticker-track,
.logo-ticker:focus-within .logo-ticker-track {
  animation-play-state: paused;
}
.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* Testimonial poster zoom on hover */
.testimonial-card:hover .testimonial-video img {
  transform: scale(1.03);
}

/* Nav link micro-underline */
.nav-links a::after {
  content: '';
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 4px;
  height: 2px;
  background: var(--color-accent);
  border-radius: 1px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Soft radial glow at top of alt sections */
.section-alt {
  position: relative;
}
.section-alt::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 200px;
  pointer-events: none;
  background: radial-gradient(1200px 200px at 50% 0%, rgba(199, 98, 66, 0.05), transparent 70%);
  z-index: 0;
}

/* Card gradient keyline on hover */
.service-card::before,
.portfolio-card::before,
.written-testimonial::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.3s ease;
  background: linear-gradient(135deg, rgba(199, 98, 66, 0.4), rgba(218, 81, 72, 0.08));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}
.service-card,
.portfolio-card,
.written-testimonial {
  position: relative;
}
.service-card:hover::before,
.portfolio-card:hover::before,
.written-testimonial:hover::before {
  opacity: 1;
}

/* CTA section light sweep on hover */
.cta-section::after {
  content: '';
  position: absolute;
  top: -40%;
  left: -30%;
  width: 40%;
  height: 180%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.08), transparent);
  transform: translateX(-220%) rotate(18deg);
  transition: transform 1s cubic-bezier(0.22, 0.61, 0.36, 1);
  pointer-events: none;
}
.cta-section:hover::after {
  transform: translateX(420%) rotate(18deg);
}

/* Breathing decorative dots */
.decor-dot {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(199, 98, 66, 0.3);
  box-shadow: 0 0 0 6px rgba(199, 98, 66, 0.06);
  animation: dotBreath 6s ease-in-out infinite;
  pointer-events: none;
}
.decor-dot:nth-child(2) { animation-delay: 2s; }
.decor-dot:nth-child(3) { animation-delay: 4s; }
@keyframes dotBreath {
  0%, 100% { transform: scale(1); opacity: 0.45; }
  50% { transform: scale(1.15); opacity: 0.85; }
}

/* Content-visibility for below-fold sections */
.section {
  content-visibility: auto;
  contain-intrinsic-size: auto 800px;
}
.hero, .page-hero, .stats {
  content-visibility: visible;
}

/* Soft section separator line */
.section + .section > .container::before {
  content: '';
  display: block;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 0, 0, 0.06), transparent);
  margin-bottom: 100px;
  margin-top: -100px;
}

/* Disable expensive hover transforms on touch devices */
@media (hover: none) and (pointer: coarse) {
  .service-card:hover,
  .portfolio-card:hover,
  .testimonial-card:hover,
  .team-card:hover,
  .written-testimonial:hover,
  .onboarding-card:hover,
  .portfolio-mini-card:hover {
    transform: none;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.03);
  }

  .founder-video-wrapper:hover {
    transform: none;
    box-shadow: 0 8px 40px rgba(110, 41, 33, 0.15);
  }

  .testimonial-card:hover .play-btn {
    transform: translate(-50%, -50%);
  }

  .footer-col a:hover,
  .comparison-list li:hover {
    transform: none;
  }

  .testimonial-card:hover .testimonial-video img {
    transform: none;
  }

  .trust-badge:hover {
    transform: none;
  }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */
a:focus-visible,
button:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 2px;
  border-radius: 4px;
}

.skip-link {
  position: absolute;
  top: -100%;
  left: 16px;
  z-index: 10000;
  padding: 12px 24px;
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: 0 0 8px 8px;
  font-size: 14px;
  font-weight: 600;
  transition: top 0.2s;
}
.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Pause animations when tab is hidden (save battery) */
.tab-hidden .logo-ticker-track,
.tab-hidden .marquee-track,
.tab-hidden .sticky-cta .btn,
.tab-hidden .hero-rotator-word,
.tab-hidden .decor-dot {
  animation-play-state: paused !important;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .reveal, .reveal-left, .reveal-right {
    opacity: 1;
    transform: none;
  }
}
