/* ========================================
   RENDER AGENCY — Design Tokens
   ======================================== */

:root {
  /* Type Scale (fluid clamp) */
  --text-xs: clamp(0.75rem, 0.7rem + 0.25vw, 0.875rem);
  --text-sm: clamp(0.875rem, 0.8rem + 0.35vw, 1rem);
  --text-base: clamp(1rem, 0.95rem + 0.25vw, 1.125rem);
  --text-lg: clamp(1.125rem, 1rem + 0.75vw, 1.5rem);
  --text-xl: clamp(1.5rem, 1.2rem + 1.25vw, 2.25rem);
  --text-2xl: clamp(2rem, 1.2rem + 2.5vw, 3.5rem);
  --text-3xl: clamp(2.5rem, 1rem + 4vw, 5rem);
  --text-hero: clamp(3rem, 0.5rem + 7vw, 8rem);

  /* Spacing (4px system) */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* Fonts */
  --font-display: 'Clash Display', 'Arial Black', sans-serif;
  --font-body: 'Satoshi', 'Helvetica Neue', sans-serif;

  /* Radius */
  --radius-sm: 0.375rem;
  --radius-md: 0.5rem;
  --radius-lg: 0.75rem;
  --radius-xl: 1rem;
  --radius-full: 9999px;

  /* Transitions */
  --transition-interactive: 180ms cubic-bezier(0.16, 1, 0.3, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);

  /* Content widths */
  --content-narrow: 640px;
  --content-default: 960px;
  --content-wide: 1200px;
}

/* ========================================
   DARK MODE (Default)
   ======================================== */
:root,
[data-theme="dark"] {
  --color-bg: #0a0a0b;
  --color-surface: #111113;
  --color-surface-2: #18181b;
  --color-surface-offset: #141416;
  --color-surface-dynamic: #222225;
  --color-divider: #27272a;
  --color-border: #333338;
  --color-text: #ededed;
  --color-text-muted: #8a8a8d;
  --color-text-faint: #555558;
  --color-text-inverse: #0a0a0b;

  /* Accent: Electric Cyan */
  --color-accent: #00e5ff;
  --color-accent-hover: #00c8dd;
  --color-accent-active: #00a0b4;
  --color-accent-subtle: rgba(0, 229, 255, 0.08);
  --color-accent-medium: rgba(0, 229, 255, 0.15);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.5);
}

/* ========================================
   LIGHT MODE
   ======================================== */
[data-theme="light"] {
  --color-bg: #f5f5f5;
  --color-surface: #ffffff;
  --color-surface-2: #fafafa;
  --color-surface-offset: #eeeeee;
  --color-surface-dynamic: #e0e0e0;
  --color-divider: #d4d4d4;
  --color-border: #c0c0c0;
  --color-text: #111113;
  --color-text-muted: #6b6b6e;
  --color-text-faint: #9c9c9f;
  --color-text-inverse: #f5f5f5;

  --color-accent: #0097a7;
  --color-accent-hover: #00838f;
  --color-accent-active: #006064;
  --color-accent-subtle: rgba(0, 151, 167, 0.06);
  --color-accent-medium: rgba(0, 151, 167, 0.12);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.06);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 12px 40px rgba(0, 0, 0, 0.12);
}

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

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  scroll-behavior: smooth;
  scroll-padding-top: var(--space-20);
}

body {
  min-height: 100dvh;
  line-height: 1.6;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-text);
  background-color: var(--color-bg);
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

ul[role="list"], ol[role="list"] {
  list-style: none;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

h1, h2, h3, h4, h5, h6 {
  text-wrap: balance;
  line-height: 1.1;
  font-family: var(--font-display);
}

p, li, figcaption {
  text-wrap: pretty;
  max-width: 72ch;
}

::selection {
  background: rgba(0, 229, 255, 0.25);
  color: var(--color-text);
}

:focus-visible {
  outline: 2px solid var(--color-accent);
  outline-offset: 3px;
  border-radius: var(--radius-sm);
}

@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;
  }
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

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

a, button, [role="button"], [role="link"], input, textarea, select {
  transition:
    color var(--transition-interactive),
    background var(--transition-interactive),
    border-color var(--transition-interactive),
    box-shadow var(--transition-interactive),
    transform var(--transition-interactive);
}

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

/* ========================================
   LAYOUT
   ======================================== */
.container {
  width: 100%;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding-inline: var(--space-6);
}

@media (min-width: 768px) {
  .container {
    padding-inline: var(--space-10);
  }
}

.section {
  padding-block: clamp(var(--space-16), 8vw, var(--space-32));
}

/* ========================================
   HEADER
   ======================================== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--color-divider);
  transition: transform 0.3s var(--ease-out), background 0.3s var(--ease-out);
}

[data-theme="light"] .header {
  background: rgba(245, 245, 245, 0.85);
}

.header--hidden {
  transform: translateY(-100%);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--content-wide);
  margin: 0 auto;
  padding: var(--space-4) var(--space-6);
}

@media (min-width: 768px) {
  .header__inner {
    padding: var(--space-4) var(--space-10);
  }
}

.header__logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.header__logo svg {
  display: block;
}

.header__nav {
  display: none;
}

@media (min-width: 768px) {
  .header__nav {
    display: flex;
  }
}

.header__nav-list {
  display: flex;
  gap: var(--space-8);
  list-style: none;
}

.nav-link {
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  position: relative;
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: var(--color-accent);
  transition: width 0.3s var(--ease-out);
}

.nav-link:hover {
  color: var(--color-text);
}

.nav-link:hover::after {
  width: 100%;
}

.header__actions {
  display: flex;
  align-items: center;
  gap: var(--space-3);
}

/* Theme Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  color: var(--color-text-muted);
}

.theme-toggle:hover {
  color: var(--color-text);
  background: var(--color-accent-subtle);
}

/* Hamburger */
.hamburger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  gap: 5px;
  border-radius: var(--radius-md);
}

.hamburger:hover {
  background: var(--color-accent-subtle);
}

@media (min-width: 768px) {
  .hamburger {
    display: none;
  }
}

.hamburger__line {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--color-text);
  border-radius: 1px;
  transition: transform 0.3s var(--ease-out), opacity 0.3s var(--ease-out);
}

.hamburger.active .hamburger__line:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.active .hamburger__line:nth-child(2) {
  opacity: 0;
}

.hamburger.active .hamburger__line:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Nav */
.header__nav.mobile-open {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--color-bg);
  z-index: 99;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.header__nav.mobile-open .header__nav-list {
  flex-direction: column;
  align-items: center;
  gap: var(--space-10);
}

.header__nav.mobile-open .nav-link {
  font-size: var(--text-xl);
  color: var(--color-text);
}

/* ========================================
   SECTION LABELS & TITLES
   ======================================== */
.section-label {
  display: inline-block;
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}

.section-title {
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: var(--space-10);
  max-width: 18ch;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--space-32) + var(--space-8));
  padding-bottom: var(--space-16);
  padding-inline: var(--space-6);
}

@media (min-width: 900px) {
  .hero {
    grid-template-columns: 1.1fr 0.9fr;
    gap: var(--space-12);
    max-width: var(--content-wide);
    margin: 0 auto;
    padding-inline: var(--space-10);
    padding-top: var(--space-32);
  }
}

/* Background grid pattern */
.hero__bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(var(--color-divider) 1px, transparent 1px),
    linear-gradient(90deg, var(--color-divider) 1px, transparent 1px);
  background-size: 60px 60px;
  opacity: 0.25;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 80%);
  pointer-events: none;
}

[data-theme="light"] .hero__bg-grid {
  opacity: 0.15;
}

.hero__content {
  position: relative;
  z-index: 2;
}

.hero__label {
  font-family: var(--font-body);
  font-size: var(--text-xs);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--color-accent);
  margin-bottom: var(--space-6);
}

.hero__title {
  font-size: var(--text-hero);
  font-weight: 700;
  line-height: 0.95;
  margin-bottom: var(--space-8);
  letter-spacing: -0.02em;
}

.hero__accent {
  color: var(--color-accent);
  display: inline-block;
}

.hero__subtitle {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  max-width: 48ch;
  margin-bottom: var(--space-10);
  line-height: 1.7;
}

.hero__cta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-4);
}

/* Hero Visual — CSS mockup device */
.hero__visual {
  position: relative;
  z-index: 2;
  display: none;
}

@media (min-width: 900px) {
  .hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.hero__device {
  width: 100%;
  max-width: 440px;
  perspective: 1200px;
}

.hero__screen {
  background: var(--color-surface);
  border-radius: var(--radius-xl);
  border: 1px solid var(--color-border);
  overflow: hidden;
  box-shadow: var(--shadow-lg), 0 0 80px rgba(0, 229, 255, 0.06);
  transform: rotateY(-6deg) rotateX(2deg);
  transition: transform 0.6s var(--ease-out);
}

.hero__screen:hover {
  transform: rotateY(-2deg) rotateX(1deg);
}

.hero__mockup-bar {
  height: 32px;
  background: var(--color-surface-2);
  border-bottom: 1px solid var(--color-divider);
  display: flex;
  align-items: center;
  padding-left: var(--space-4);
  position: relative;
}

.hero__mockup-bar::before {
  content: '';
  display: flex;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-text-faint);
  box-shadow: 14px 0 0 var(--color-text-faint), 28px 0 0 var(--color-text-faint);
}

.hero__mockup-content {
  padding: var(--space-6);
}

.hero__mockup-hero-block {
  height: 80px;
  background: linear-gradient(135deg, var(--color-accent-subtle), var(--color-accent-medium));
  border-radius: var(--radius-md);
  margin-bottom: var(--space-4);
}

.hero__mockup-lines {
  display: flex;
  flex-direction: column;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}

.hero__mockup-line {
  height: 8px;
  background: var(--color-surface-dynamic);
  border-radius: var(--radius-sm);
}

.hero__mockup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-3);
}

.hero__mockup-card {
  height: 60px;
  background: var(--color-surface-offset);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-divider);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: 600;
  padding: var(--space-3) var(--space-6);
  border-radius: var(--radius-md);
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  border: none;
}

.btn--primary {
  background: var(--color-accent);
  color: var(--color-text-inverse);
}

.btn--primary:hover {
  background: var(--color-accent-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 20px rgba(0, 229, 255, 0.25);
}

[data-theme="light"] .btn--primary:hover {
  box-shadow: 0 4px 20px rgba(0, 151, 167, 0.25);
}

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

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

.btn--ghost:hover {
  border-color: var(--color-accent);
  color: var(--color-accent);
  background: var(--color-accent-subtle);
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* ========================================
   PROBLEM SECTION
   ======================================== */
.problem {
  border-top: 1px solid var(--color-divider);
}

.problem__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
}

@media (min-width: 768px) {
  .problem__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--space-16);
    align-items: start;
  }
}

@media (min-width: 768px) {
  .problem__text {
    position: sticky;
    top: calc(var(--space-20) + var(--space-8));
  }
}

.problem__desc {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
}

.problem__stats {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.stat-card {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

.stat-card__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: var(--space-2);
}

.stat-card__label {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-4);
}

.stat-card__bar {
  height: 4px;
  background: var(--color-surface-dynamic);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.stat-card__fill {
  height: 100%;
  background: var(--color-accent);
  border-radius: var(--radius-full);
  transition: width 1.5s var(--ease-out);
}

/* ========================================
   SERVICES
   ======================================== */
.services {
  background: var(--color-surface);
  border-top: 1px solid var(--color-divider);
  border-bottom: 1px solid var(--color-divider);
}

.services__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 600px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .service-card--featured {
    grid-row: span 2;
  }
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  transition: border-color var(--transition-interactive), box-shadow var(--transition-interactive);
}

.service-card:hover {
  border-color: var(--color-accent);
  box-shadow: 0 0 30px var(--color-accent-subtle);
}

.service-card--featured {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: linear-gradient(160deg, var(--color-accent-subtle), transparent 60%);
}

.service-card__icon {
  margin-bottom: var(--space-6);
}

.service-card__icon svg {
  display: block;
}

.service-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.service-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   PROCESS
   ======================================== */
.process {
  border-bottom: 1px solid var(--color-divider);
}

.process__timeline {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  position: relative;
}

@media (min-width: 768px) {
  .process__timeline {
    grid-template-columns: repeat(4, 1fr);
    gap: var(--space-1);
  }
}

.process__step {
  display: flex;
  gap: var(--space-6);
  padding: var(--space-8);
  border-bottom: 1px solid var(--color-divider);
  position: relative;
}

@media (min-width: 768px) {
  .process__step {
    flex-direction: column;
    border-bottom: none;
    border-right: 1px solid var(--color-divider);
  }
  .process__step:last-child {
    border-right: none;
  }
}

.process__number {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  font-weight: 700;
  color: var(--color-accent);
  line-height: 1;
  flex-shrink: 0;
  opacity: 0.4;
}

.process__content {
  flex: 1;
}

.process__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-2);
}

.process__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   BENEFITS
   ======================================== */
.benefits {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 600px) {
  .benefits__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 900px) {
  .benefits__grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .benefit-card--highlight {
    grid-column: span 2;
  }
}

.benefit-card {
  background: var(--color-bg);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
}

.benefit-card--highlight {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, var(--color-accent-medium), var(--color-bg) 50%);
}

.benefit-card__badge {
  display: inline-block;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-3);
}

.benefit-card__title {
  font-size: var(--text-lg);
  font-weight: 600;
  margin-bottom: var(--space-3);
}

.benefit-card__text {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  line-height: 1.7;
}

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials {
  border-bottom: 1px solid var(--color-divider);
}

.testimonials__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-6);
}

@media (min-width: 768px) {
  .testimonials__grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.testimonial {
  background: var(--color-surface);
  border: 1px solid var(--color-divider);
  border-radius: var(--radius-lg);
  padding: var(--space-8);
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.testimonial--accent {
  background: linear-gradient(160deg, var(--color-accent-subtle), var(--color-surface) 50%);
  border-color: rgba(0, 229, 255, 0.15);
}

[data-theme="light"] .testimonial--accent {
  border-color: rgba(0, 151, 167, 0.15);
}

.testimonial__text {
  font-size: var(--text-base);
  line-height: 1.7;
  color: var(--color-text);
  flex: 1;
  font-style: italic;
}

.testimonial__author {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.testimonial__avatar svg {
  border-radius: var(--radius-full);
  overflow: hidden;
}

.testimonial__name {
  display: block;
  font-style: normal;
  font-weight: 600;
  font-size: var(--text-sm);
}

.testimonial__role {
  display: block;
  font-size: var(--text-xs);
  color: var(--color-text-muted);
}

/* ========================================
   CTA
   ======================================== */
.cta {
  background: var(--color-surface);
  border-bottom: 1px solid var(--color-divider);
}

.cta__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space-12);
  align-items: center;
}

@media (min-width: 768px) {
  .cta__inner {
    grid-template-columns: 1.3fr 0.7fr;
  }
}

.cta__title {
  font-size: var(--text-2xl);
  font-weight: 700;
  margin-bottom: var(--space-4);
}

.cta__text {
  font-size: var(--text-base);
  color: var(--color-text-muted);
  line-height: 1.7;
  margin-bottom: var(--space-8);
}

.cta__actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
  align-items: flex-start;
}

.cta__email {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  font-family: var(--font-body);
}

/* CTA Visual — Animated Rings */
.cta__visual {
  display: none;
}

@media (min-width: 768px) {
  .cta__visual {
    display: flex;
    justify-content: center;
    align-items: center;
  }
}

.cta__graphic {
  position: relative;
  width: 240px;
  height: 240px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta__ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid var(--color-accent);
}

.cta__ring--1 {
  width: 100%;
  height: 100%;
  opacity: 0.15;
  animation: pulse-ring 4s ease-in-out infinite;
}

.cta__ring--2 {
  width: 70%;
  height: 70%;
  opacity: 0.3;
  animation: pulse-ring 4s ease-in-out infinite 1s;
}

.cta__ring--3 {
  width: 40%;
  height: 40%;
  opacity: 0.5;
  animation: pulse-ring 4s ease-in-out infinite 2s;
}

.cta__arrow {
  font-family: var(--font-display);
  font-size: var(--text-2xl);
  color: var(--color-accent);
  z-index: 1;
}

@keyframes pulse-ring {
  0%, 100% { transform: scale(1); opacity: 0.15; }
  50% { transform: scale(1.08); opacity: 0.4; }
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
  padding-block: var(--space-12);
  border-top: 1px solid var(--color-divider);
}

.footer__inner {
  display: flex;
  flex-direction: column;
  gap: var(--space-8);
}

@media (min-width: 768px) {
  .footer__inner {
    flex-direction: row;
    align-items: start;
    justify-content: space-between;
  }
}

.footer__brand {
  display: flex;
  flex-direction: column;
  gap: var(--space-3);
}

.footer__tagline {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-6);
}

.footer__link {
  font-size: var(--text-sm);
  color: var(--color-text-muted);
}

.footer__link:hover {
  color: var(--color-accent);
}

.footer__copy {
  font-size: var(--text-xs);
  color: var(--color-text-faint);
}

.footer__owner {
  color: var(--color-text-faint);
}

/* ========================================
   SCROLL ANIMATIONS (JS-driven fallback)
   ======================================== */
.fade-in {
  opacity: 1;
}

.fade-in.animate {
  opacity: 1;
}

/* If JS is loaded and IntersectionObserver supported */
.js-loaded .fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.js-loaded .fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Stagger children */
.js-loaded .fade-in:nth-child(2) { transition-delay: 80ms; }
.js-loaded .fade-in:nth-child(3) { transition-delay: 160ms; }
.js-loaded .fade-in:nth-child(4) { transition-delay: 240ms; }
.js-loaded .fade-in:nth-child(5) { transition-delay: 320ms; }

/* ========================================
   RESPONSIVE FINE-TUNING
   ======================================== */

/* Tiny screens */
@media (max-width: 400px) {
  .hero__title {
    font-size: clamp(2.5rem, 10vw, 4rem);
  }
}

/* Mid breakpoint for process/services */
@media (min-width: 600px) and (max-width: 767px) {
  .process__timeline {
    grid-template-columns: repeat(2, 1fr);
  }
  .process__step {
    border-bottom: 1px solid var(--color-divider);
    border-right: none;
  }
}
