/* ===========================================================
   SOGROW — Design System & Global Styles
   Black & Red palette · Oversized Serif · Spline-ready
   =========================================================== */

/* ---- Tokens ---- */
:root {
  /* Colours */
  --clr-bg: #050505;
  --clr-bg-secondary: #0a0a0a;
  --clr-surface: #111111;
  --clr-surface-hover: #1a1a1a;
  --clr-red: #e8102e;
  --clr-red-light: #ff2d4a;
  --clr-red-dark: #b80d24;
  --clr-red-glow: rgba(232, 16, 46, .35);
  --clr-text: #f0f0f0;
  --clr-text-muted: #9e9e9e;
  --clr-text-dim: #5a5a5a;
  --clr-border: rgba(255, 255, 255, .08);

  /* Typography */
  --ff-display: 'Playfair Display', 'Georgia', serif;
  --ff-body: 'Inter', -apple-system, system-ui, sans-serif;

  /* Spacing */
  --space-xs: .5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 8rem;

  /* Transitions */
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --ease-smooth: cubic-bezier(.45, 0, .55, 1);
}

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

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--ff-body);
  background: var(--clr-bg);
  color: var(--clr-text);
  overflow-x: hidden;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

img {
  display: block;
  max-width: 100%;
}

/* ---- Selection ---- */
::selection {
  background: var(--clr-red);
  color: #fff;
}

/* ============================================================
   HEADER
   ============================================================ */
#site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--space-sm) var(--space-md);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  background: rgba(5, 5, 5, .6);
  border-bottom: 1px solid var(--clr-border);
}

.pill-btn {
  background: rgba(255, 255, 255, .08);
  border: 1px solid var(--clr-border);
  color: var(--clr-text);
  padding: .45rem 1.2rem;
  border-radius: 100px;
  font-size: .8rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out);
}

.pill-btn:hover {
  background: var(--clr-red);
  border-color: var(--clr-red);
}

.logo-text {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: .02em;
  color: var(--clr-text);
  transition: color .3s var(--ease-out);
}

.logo-text:hover {
  color: var(--clr-red-light);
}

.header-cta-text {
  font-size: .8rem;
  font-weight: 500;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--clr-text-muted);
  cursor: pointer;
  transition: color .3s var(--ease-out);
}

.header-cta-text:hover {
  color: var(--clr-red-light);
}

.header-right {
  display: flex;
  align-items: center;
  gap: var(--space-sm);
}

/* ============================================================
   NAVIGATION OVERLAY MENU
   ============================================================ */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 99;
  background: rgba(5, 5, 5, .96);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity .5s var(--ease-out);
}

.nav-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.nav-overlay-inner {
  text-align: center;
  max-width: 600px;
  width: 100%;
  padding: var(--space-md);
}

.nav-label {
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--clr-red-light);
  margin-bottom: var(--space-lg);
  display: block;
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity .4s .1s var(--ease-out), transform .4s .1s var(--ease-out);
}

.nav-overlay.open .nav-label {
  opacity: 1;
  transform: translateY(0);
}

.nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links li {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
}

.nav-overlay.open .nav-links li {
  opacity: 1;
  transform: translateY(0);
}

.nav-overlay.open .nav-links li:nth-child(1) {
  transition-delay: .15s;
}

.nav-overlay.open .nav-links li:nth-child(2) {
  transition-delay: .25s;
}

.nav-overlay.open .nav-links li:nth-child(3) {
  transition-delay: .35s;
}

.nav-overlay.open .nav-links li:nth-child(4) {
  transition-delay: .45s;
}

.nav-link-item {
  display: block;
  font-family: var(--ff-display);
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--clr-text-muted);
  padding: .6rem 0;
  position: relative;
  transition: color .3s var(--ease-out), transform .3s var(--ease-out);
}

.nav-link-item:hover {
  color: var(--clr-text);
  transform: translateX(8px);
}

.nav-link-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%) scaleX(0);
  width: 60%;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--clr-red), transparent);
  transition: transform .4s var(--ease-out);
}

.nav-link-item:hover::after {
  transform: translateX(-50%) scaleX(1);
}

/* Active page */
.nav-link-item.active {
  color: var(--clr-red-light);
}

.nav-link-item.active::after {
  transform: translateX(-50%) scaleX(1);
  opacity: .5;
}

.nav-link-desc {
  display: block;
  font-family: var(--ff-body);
  font-size: .78rem;
  font-weight: 300;
  color: var(--clr-text-dim);
  letter-spacing: .03em;
  margin-top: .1rem;
}

.nav-close-hint {
  display: block;
  margin-top: var(--space-lg);
  font-size: .72rem;
  color: var(--clr-text-dim);
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: 0;
  transition: opacity .4s .5s var(--ease-out);
}

.nav-overlay.open .nav-close-hint {
  opacity: 1;
}

/* ============================================================
   PAGE TRANSITION — Fast fluid fade
   ============================================================ */
.page-transition {
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: var(--clr-bg);
  opacity: 0;
  transition: opacity .3s cubic-bezier(.4, 0, .2, 1);
}

.page-transition.active {
  opacity: 1;
}

/* Pill click pulse */
.service-pill.transitioning {
  animation: pillPulse .25s ease-out;
}

@keyframes pillPulse {
  0% {
    transform: scale(1);
    box-shadow: 0 0 0 0 rgba(232, 16, 46, .6);
  }

  50% {
    transform: scale(1.1);
    box-shadow: 0 0 20px 8px rgba(232, 16, 46, .3);
  }

  100% {
    transform: scale(1.05);
    box-shadow: 0 0 30px 12px rgba(232, 16, 46, 0);
  }
}

/* ============================================================
   HERO SECTION
   ============================================================ */
#hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr auto;
  padding: 6rem var(--space-md) var(--space-lg);
  overflow: hidden;
}

/* --- 3D / Spline container (background layer) --- */
.spline-container {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* let clicks pass through until Spline is loaded */
}

.spline-container.spline-active {
  pointer-events: auto;
}

.spline-container canvas {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  display: block;
  z-index: 1;
  opacity: 0.55;
}

/* Ambient glow background — sits behind 3D canvas */
.hero-glow {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 60% 50%, var(--clr-red-glow) 0%, transparent 70%),
    radial-gradient(ellipse 50% 50% at 30% 70%, rgba(232, 16, 46, .12) 0%, transparent 60%);
  animation: glowPulse 8s ease-in-out infinite alternate;
}

@keyframes glowPulse {
  0% {
    opacity: .6;
    transform: scale(1);
  }

  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* --- Services list (left column) --- */
.services-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: .4rem;
  align-self: center;
  padding-left: var(--space-md);
}

.service-pill {
  display: inline-block;
  padding: .4rem 1rem;
  border-radius: 100px;
  border: 1px solid var(--clr-border);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .03em;
  color: var(--clr-text-muted);
  background: rgba(255, 255, 255, .04);
  transition: all .35s var(--ease-out);
  cursor: pointer;
}

.service-pill:hover,
.service-pill.active {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #fff;
  transform: translateX(4px);
}

/* --- Description (right column) --- */
.hero-desc {
  position: relative;
  z-index: 3;
  align-self: center;
  justify-self: end;
  max-width: 340px;
  padding-right: var(--space-md);
  background: radial-gradient(ellipse 120% 120% at center, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0.4) 60%, transparent 100%);
  padding: 1.5rem 2rem;
  border-radius: 12px;
}

.hero-desc p {
  font-size: .88rem;
  line-height: 1.7;
  color: var(--clr-text-muted);
  font-weight: 300;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.8);
}

/* --- Headline (bottom, spans both columns) --- */
.hero-headline {
  grid-column: 1 / -1;
  position: relative;
  z-index: 3;
  text-align: center;
  font-family: var(--ff-display);
  font-weight: 400;
  line-height: 1;
  padding-bottom: var(--space-md);
}

.hero-headline .line {
  display: block;
  text-shadow:
    0 2px 20px rgba(0, 0, 0, 0.9),
    0 4px 40px rgba(0, 0, 0, 0.7),
    0 0 60px rgba(5, 5, 5, 0.6);
}

.hero-headline .line-1 {
  font-size: clamp(3.5rem, 9vw, 10rem);
  color: var(--clr-text);
}

.hero-headline .line-2 {
  font-size: clamp(3.5rem, 9vw, 10rem);
  color: var(--clr-text);
}

.hero-headline em {
  font-style: italic;
  color: var(--clr-red-light);
  text-shadow:
    0 2px 20px rgba(232, 16, 46, 0.5),
    0 4px 40px rgba(232, 16, 46, 0.3),
    0 0 60px rgba(0, 0, 0, 0.6);
}

/* ============================================================
   TRUSTED BY
   ============================================================ */
#trusted-by {
  position: relative;
  z-index: 2;
  border-top: 1px solid var(--clr-border);
  border-bottom: 1px solid var(--clr-border);
  background: var(--clr-bg-secondary);
  padding: var(--space-md) var(--space-md);
}

.trusted-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-md);
}

.trusted-label {
  font-family: var(--ff-display);
  font-size: 1rem;
  font-weight: 400;
  color: var(--clr-text-muted);
  white-space: nowrap;
  letter-spacing: .02em;
}

.trusted-logos {
  position: relative;
  flex: 1;
  min-height: 36px;
  overflow: hidden;
}

/* --- Logo groups (rotating carousel) --- */
.logo-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1.2rem, 3vw, 3rem);
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.8s ease-in-out;
  pointer-events: none;
}

.logo-group.active {
  opacity: 1;
  pointer-events: auto;
}

/* --- Brand logo text styling --- */
.brand-logo {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  text-transform: uppercase;
  white-space: nowrap;
  font-family: var(--ff-body);
  transition: color 0.3s ease;
  cursor: default;
  user-select: none;
}

.brand-logo:hover {
  color: rgba(255, 255, 255, 0.6);
}

.brand-sub {
  font-weight: 400;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  margin-left: 0.15em;
  opacity: 0.7;
}

.brand-accent {
  color: var(--clr-red);
  opacity: 0.6;
}

/* Brand-specific typography */
.brand-noise {
  font-weight: 900;
  letter-spacing: 0.05em;
}

.brand-defjam {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.02em;
  text-transform: none;
}

.brand-drybar {
  font-weight: 300;
  letter-spacing: 0.2em;
  text-transform: lowercase;
}

.brand-redbull {
  font-weight: 800;
  letter-spacing: 0.04em;
}

.brand-vice {
  font-weight: 900;
  letter-spacing: 0.15em;
  font-size: 0.95rem;
}

.brand-universal {
  font-weight: 300;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
}

.brand-wb {
  font-family: var(--ff-display);
  font-weight: 400;
  letter-spacing: 0.03em;
  text-transform: none;
}

.brand-canes {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  text-transform: none;
  letter-spacing: 0.02em;
}

.brand-disney {
  font-weight: 400;
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 0.78rem;
}

.brand-solestage {
  font-weight: 800;
  letter-spacing: 0.08em;
}

.brand-kyx {
  font-weight: 600;
  letter-spacing: 0.15em;
  font-size: 0.75rem;
}

.brand-shift {
  font-family: var(--ff-display);
  font-style: italic;
  font-weight: 700;
  text-transform: none;
}

/* ============================================================
   SERVICES DETAIL
   ============================================================ */
#services {
  padding: var(--space-xl) var(--space-md);
  max-width: 1300px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: var(--space-lg);
}

.section-title {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 5vw, 5rem);
  font-weight: 400;
  line-height: 1.1;
  color: var(--clr-text);
  margin-bottom: var(--space-xs);
}

.section-title em {
  font-style: italic;
  color: var(--clr-red-light);
}

.section-subtitle {
  font-size: 1rem;
  color: var(--clr-text-muted);
  font-weight: 300;
  max-width: 480px;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: var(--space-md);
}

.service-card {
  position: relative;
  padding: var(--space-md);
  border-radius: 16px;
  border: 1px solid var(--clr-border);
  background: var(--clr-surface);
  overflow: hidden;
  transition: transform .45s var(--ease-out), border-color .45s var(--ease-out), background .45s var(--ease-out);
  cursor: default;
}

.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: radial-gradient(ellipse at top left, rgba(232, 16, 46, .08) 0%, transparent 60%);
  opacity: 0;
  transition: opacity .45s var(--ease-out);
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(232, 16, 46, .3);
  background: var(--clr-surface-hover);
}

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

.card-number {
  display: block;
  font-family: var(--ff-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--clr-red);
  opacity: .25;
  margin-bottom: var(--space-sm);
  transition: opacity .45s var(--ease-out);
}

.service-card:hover .card-number {
  opacity: .6;
}

.card-title {
  font-family: var(--ff-display);
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--clr-text);
}

.card-desc {
  font-size: .88rem;
  color: var(--clr-text-muted);
  line-height: 1.65;
  font-weight: 300;
}

/* ============================================================
   TESTIMONIALS MARQUEE
   ============================================================ */
#testimonials {
  padding: var(--space-xl) 0 var(--space-lg);
  overflow: hidden;
}

.testimonials-header {
  max-width: 1300px;
  margin: 0 auto;
  padding: 0 var(--space-md);
  margin-bottom: var(--space-lg);
}

/* --- Marquee container --- */
.testimonials-marquee-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Fade edges */
.marquee-fade {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 15%;
  z-index: 2;
  pointer-events: none;
}

.marquee-fade--left {
  left: 0;
  background: linear-gradient(to right, var(--clr-bg) 0%, transparent 100%);
}

.marquee-fade--right {
  right: 0;
  background: linear-gradient(to left, var(--clr-bg) 0%, transparent 100%);
}

/* --- Scrolling track --- */
.marquee-track {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
  padding: .5rem 0;
}

.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes marqueeScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

/* --- Testimonial card --- */
.testimonial-card {
  flex-shrink: 0;
  width: 320px;
  padding: 1.5rem;
  border-radius: 16px;
  border-top: 1px solid var(--clr-border);
  background: linear-gradient(180deg,
      rgba(255, 255, 255, .04) 0%,
      rgba(255, 255, 255, .01) 100%);
  transition: background .3s var(--ease-out), border-color .3s var(--ease-out);
}

.testimonial-card:hover {
  background: linear-gradient(180deg,
      rgba(255, 255, 255, .07) 0%,
      rgba(255, 255, 255, .02) 100%);
  border-color: rgba(232, 16, 46, .2);
}

/* Card header — avatar + author */
.tc-header {
  display: flex;
  align-items: center;
  gap: .75rem;
  margin-bottom: 1rem;
}

.tc-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--clr-border);
  flex-shrink: 0;
}

.tc-author {
  display: flex;
  flex-direction: column;
}

.tc-name {
  font-family: var(--ff-body);
  font-size: .9rem;
  font-weight: 600;
  color: var(--clr-text);
  line-height: 1.2;
}

.tc-handle {
  font-size: .78rem;
  color: var(--clr-text-dim);
  font-weight: 400;
}

a.tc-handle {
  text-decoration: none;
  transition: color .25s var(--ease-out);
}

a.tc-handle:hover {
  color: var(--clr-red-light);
}

/* Card body text */
.tc-text {
  font-size: .85rem;
  color: var(--clr-text-muted);
  font-weight: 300;
  line-height: 1.65;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
#cta {
  position: relative;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  overflow: hidden;
}

.spline-cta {
  z-index: 0;
}

.cta-glow {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 55% at 50% 50%, rgba(232, 16, 46, .2) 0%, transparent 70%);
  animation: glowPulse 10s ease-in-out infinite alternate;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 680px;
  padding: var(--space-lg) var(--space-md);
}

.cta-headline {
  font-family: var(--ff-display);
  font-size: clamp(2.5rem, 6vw, 6rem);
  font-weight: 400;
  line-height: 1.05;
  margin-bottom: var(--space-sm);
  color: var(--clr-text);
}

.cta-headline em {
  font-style: italic;
  color: var(--clr-red-light);
}

.cta-sub {
  font-size: 1.05rem;
  color: var(--clr-text-muted);
  margin-bottom: var(--space-md);
  font-weight: 300;
}

.btn-primary {
  display: inline-block;
  padding: .9rem 2.6rem;
  border-radius: 100px;
  background: var(--clr-red);
  color: #fff;
  font-size: .85rem;
  font-weight: 600;
  letter-spacing: .06em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  transition: background .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.btn-primary:hover {
  background: var(--clr-red-light);
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(232, 16, 46, .35);
}

/* ============================================================
   NEWSLETTER POPUP MODAL
   ============================================================ */
.newsletter-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-md);
  background: rgba(0, 0, 0, .7);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity .4s var(--ease-out), visibility .4s var(--ease-out);
}

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

.newsletter-card {
  width: 100%;
  max-width: 520px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .1);
  background: linear-gradient(135deg, rgba(20, 20, 20, .95) 0%, rgba(12, 12, 12, .98) 100%);
  box-shadow: 0 24px 80px rgba(0, 0, 0, .6), 0 0 60px rgba(232, 16, 46, .06);
  padding: 2.5rem;
  position: relative;
  overflow: hidden;
  transform: translateY(24px) scale(.96);
  opacity: 0;
  transition: transform .5s var(--ease-out), opacity .5s var(--ease-out);
}

.newsletter-overlay.open .newsletter-card {
  transform: translateY(0) scale(1);
  opacity: 1;
  transition-delay: .1s;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -30%;
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(232, 16, 46, .1) 0%, transparent 70%);
  pointer-events: none;
}

.newsletter-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  background: rgba(255, 255, 255, .04);
  color: var(--clr-text-muted);
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background .25s var(--ease-out), color .25s var(--ease-out), border-color .25s var(--ease-out);
  z-index: 2;
  line-height: 1;
}

.newsletter-close:hover {
  background: rgba(255, 255, 255, .08);
  color: var(--clr-text);
  border-color: rgba(255, 255, 255, .2);
}

.newsletter-heading {
  font-family: var(--ff-display);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 400;
  color: var(--clr-text);
  line-height: 1.2;
  margin-bottom: .35rem;
  padding-right: 2rem;
}

.newsletter-heading em {
  font-style: italic;
  color: var(--clr-red-light);
}

.newsletter-discount {
  display: inline-block;
  margin-top: .5rem;
  margin-bottom: .25rem;
  padding: .3rem 1rem;
  border-radius: 100px;
  background: rgba(232, 16, 46, .12);
  border: 1px solid rgba(232, 16, 46, .3);
  color: var(--clr-red-light);
  font-family: var(--ff-body);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.newsletter-desc {
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--clr-text-muted);
  font-weight: 300;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.newsletter-label {
  display: block;
  font-family: var(--ff-body);
  font-size: .8rem;
  font-weight: 500;
  color: var(--clr-text);
  letter-spacing: .04em;
  margin-bottom: .5rem;
}

.newsletter-row {
  display: flex;
  gap: .6rem;
}

.newsletter-input {
  flex: 1;
  padding: .75rem 1rem;
  border-radius: 12px;
  border: 1px solid var(--clr-border);
  background: rgba(255, 255, 255, .04);
  color: var(--clr-text);
  font-family: var(--ff-body);
  font-size: .88rem;
  outline: none;
  transition: border-color .3s var(--ease-out), background .3s var(--ease-out);
}

.newsletter-input::placeholder {
  color: var(--clr-text-dim);
}

.newsletter-input:focus {
  border-color: rgba(232, 16, 46, .4);
  background: rgba(255, 255, 255, .06);
}

.newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .75rem 1.4rem;
  border-radius: 12px;
  background: var(--clr-red);
  color: #fff;
  font-family: var(--ff-body);
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  border: none;
  cursor: pointer;
  white-space: nowrap;
  position: relative;
  overflow: hidden;
  transition: background .35s var(--ease-out), transform .35s var(--ease-out), box-shadow .35s var(--ease-out);
}

.newsletter-btn:hover {
  background: var(--clr-red-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(232, 16, 46, .3);
}

.newsletter-btn:active {
  transform: translateY(0);
}

.newsletter-btn:disabled {
  opacity: .6;
  cursor: not-allowed;
  transform: none;
}

.newsletter-btn svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.newsletter-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .15), transparent);
  transition: left .5s var(--ease-out);
}

.newsletter-btn:hover::after {
  left: 100%;
}

.newsletter-error {
  margin-top: .5rem;
  font-family: var(--ff-body);
  font-size: .8rem;
  color: var(--clr-red-light);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .25s var(--ease-out), transform .25s var(--ease-out);
}

.newsletter-error.visible {
  opacity: 1;
  transform: translateY(0);
}

.newsletter-form {
  transition: opacity .35s var(--ease-out), transform .35s var(--ease-out);
}

.newsletter-form.hiding {
  opacity: 0;
  transform: translateY(-16px);
  pointer-events: none;
}

.newsletter-success {
  text-align: center;
  padding: var(--space-md) 0;
  opacity: 0;
  transform: scale(.92);
  transition: opacity .4s var(--ease-out), transform .4s var(--ease-out);
  display: none;
}

.newsletter-success.visible {
  display: block;
  opacity: 1;
  transform: scale(1);
}

.newsletter-success-heading {
  font-family: var(--ff-display);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 400;
  color: var(--clr-text);
  margin-bottom: .5rem;
}

.newsletter-success-text {
  font-family: var(--ff-body);
  font-size: .9rem;
  color: var(--clr-text-muted);
  font-weight: 300;
}

#newsletter-confetti {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 10001;
}

/* Entrance animations */
.newsletter-overlay.open .newsletter-heading {
  animation: nlFadeUp .6s .2s var(--ease-out) both;
}

.newsletter-overlay.open .newsletter-discount {
  animation: nlFadeBlur .5s .3s var(--ease-out) both;
}

.newsletter-overlay.open .newsletter-desc {
  animation: nlFadeBlur .6s .35s var(--ease-out) both;
}

.newsletter-overlay.open .newsletter-label {
  animation: nlFadeBlur .6s .45s var(--ease-out) both;
}

.newsletter-overlay.open .newsletter-row {
  animation: nlFadeBlur .6s .55s var(--ease-out) both;
}

@keyframes nlFadeUp {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes nlFadeBlur {
  from {
    opacity: 0;
    filter: blur(3px);
  }

  to {
    opacity: 1;
    filter: blur(0);
  }
}

@media (max-width: 520px) {
  .newsletter-card {
    padding: 1.5rem;
  }

  .newsletter-row {
    flex-direction: column;
  }

  .newsletter-btn {
    justify-content: center;
  }
}

/* ============================================================
   FOOTER
   ============================================================ */
#site-footer {
  border-top: 1px solid var(--clr-border);
  padding: var(--space-lg) var(--space-md) var(--space-md);
  background: var(--clr-bg);
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.footer-logo {
  font-family: var(--ff-display);
  font-weight: 700;
  font-size: 1.4rem;
  color: var(--clr-text);
}

/* Social links */
.footer-social {
  display: flex;
  align-items: center;
  gap: .75rem;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--clr-border);
  background: rgba(255, 255, 255, .04);
  color: var(--clr-text-muted);
  transition: all .35s var(--ease-out);
}

.social-link:hover {
  background: var(--clr-red);
  border-color: var(--clr-red);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(232, 16, 46, .3);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding-top: var(--space-sm);
  border-top: 1px solid var(--clr-border);
}

.footer-copy {
  font-size: .75rem;
  color: var(--clr-text-dim);
}

.footer-links {
  display: flex;
  gap: var(--space-sm);
}

.footer-links a {
  font-size: .78rem;
  color: var(--clr-text-muted);
  transition: color .3s var(--ease-out);
}

.footer-links a:hover {
  color: var(--clr-red-light);
}

/* ============================================================
   REVEAL ANIMATIONS (intersection observer driven)
   ============================================================ */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.reveal-stagger .reveal:nth-child(1) {
  transition-delay: .05s;
}

.reveal-stagger .reveal:nth-child(2) {
  transition-delay: .10s;
}

.reveal-stagger .reveal:nth-child(3) {
  transition-delay: .15s;
}

.reveal-stagger .reveal:nth-child(4) {
  transition-delay: .20s;
}

.reveal-stagger .reveal:nth-child(5) {
  transition-delay: .25s;
}

.reveal-stagger .reveal:nth-child(6) {
  transition-delay: .30s;
}

/* ============================================================
   CUSTOM CURSOR GLOW (optional flair)
   ============================================================ */
.cursor-glow {
  position: fixed;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  pointer-events: none;
  background: radial-gradient(circle, rgba(232, 16, 46, .08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  z-index: 9999;
  opacity: 0;
  transition: opacity .4s;
  mix-blend-mode: screen;
}

.cursor-glow.active {
  opacity: 1;
}

/* ============================================================
   RESPONSIVE
   ============================================================ */

/* ---- Tablet (≤900px) ---- */
@media (max-width: 900px) {
  #hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding-top: 5rem;
    gap: var(--space-md);
  }

  .services-list {
    flex-direction: row;
    flex-wrap: wrap;
    padding-left: 0;
    justify-content: center;
  }

  .hero-desc {
    justify-self: center;
    text-align: center;
    padding-right: 0;
    max-width: 480px;
  }

  .hero-headline .line-1,
  .hero-headline .line-2 {
    font-size: clamp(2.5rem, 10vw, 5rem);
  }

  .trusted-inner {
    flex-direction: column;
    text-align: center;
  }

  .trusted-logos {
    justify-content: center;
  }

  .services-grid {
    grid-template-columns: 1fr;
  }

  /* Testimonial cards — allow smaller on tablets */
  .testimonial-card {
    width: 280px;
  }

  /* Footer — stack on medium screens */
  .footer-bottom {
    flex-direction: column;
    gap: .75rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ---- Mobile (≤600px) ---- */
@media (max-width: 600px) {
  :root {
    --space-md: 1.25rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
  }

  /* Header */
  #site-header {
    padding: .6rem var(--space-sm);
  }

  .pill-btn {
    font-size: .7rem;
    padding: .35rem .8rem;
  }

  .logo-text {
    font-size: 1.15rem;
  }

  .header-cta-text {
    font-size: .7rem;
    letter-spacing: .02em;
  }

  /* Hero */
  #hero {
    padding-top: 4.5rem;
    padding-bottom: var(--space-md);
    min-height: auto;
  }

  .hero-headline .line-1,
  .hero-headline .line-2 {
    font-size: clamp(2rem, 12vw, 3.5rem);
  }

  .hero-desc {
    padding: 1rem;
  }

  .hero-desc p {
    font-size: .82rem;
  }

  .service-pill {
    font-size: .7rem;
    padding: .35rem .8rem;
  }

  /* Trusted By */
  #trusted-by {
    padding: var(--space-sm);
  }

  .trusted-label {
    font-size: .88rem;
  }

  .brand-logo {
    font-size: .7rem;
  }

  /* Services */
  .section-title {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: var(--space-sm);
  }

  .service-card {
    padding: var(--space-sm);
  }

  .card-number {
    font-size: 2rem;
  }

  .card-title {
    font-size: 1.15rem;
  }

  /* Testimonials */
  .testimonial-card {
    width: 260px;
    padding: 1.2rem;
  }

  .testimonials-header {
    padding: 0 var(--space-sm);
  }

  /* CTA */
  #cta {
    min-height: 50vh;
  }

  .cta-headline {
    font-size: clamp(1.8rem, 8vw, 3rem);
  }

  .cta-sub {
    font-size: .9rem;
  }

  .btn-primary {
    padding: .75rem 2rem;
    font-size: .8rem;
  }

  /* Footer */
  #site-footer {
    padding: var(--space-md) var(--space-sm) var(--space-sm);
  }

  .footer-top {
    flex-direction: column;
    gap: var(--space-sm);
  }

  .footer-bottom {
    flex-direction: column;
    gap: .5rem;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: .75rem;
  }

  .footer-copy {
    font-size: .7rem;
  }

  /* Nav overlay — larger tap targets on mobile */
  .nav-link-item {
    font-size: clamp(1.6rem, 6vw, 2.5rem);
    padding: .8rem 0;
  }

  .nav-link-desc {
    font-size: .72rem;
  }

  /* Cursor glow — disable on touch devices */
  .cursor-glow {
    display: none;
  }
}

/* ---- Small phones (≤400px) ---- */
@media (max-width: 400px) {

  .hero-headline .line-1,
  .hero-headline .line-2 {
    font-size: clamp(1.6rem, 14vw, 2.8rem);
  }

  .newsletter-card {
    padding: 1.2rem;
  }

  .newsletter-heading {
    font-size: 1.3rem;
  }

  .newsletter-discount {
    font-size: .65rem;
    padding: .25rem .75rem;
  }

  .cta-headline {
    font-size: clamp(1.5rem, 10vw, 2.5rem);
  }

  .section-title {
    font-size: clamp(1.5rem, 10vw, 2.5rem);
  }

  .testimonial-card {
    width: 240px;
  }

  .btn-primary {
    padding: .65rem 1.5rem;
    font-size: .75rem;
  }
}