/* ===========================================
   SKIP LINK
   =========================================== */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 8px 16px;
  background: var(--primary);
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  border-radius: 0 0 8px 0;
  text-decoration: none;
}
.skip-link:focus {
  left: 0;
}

/* ===========================================
   CSS VARIABLES
   =========================================== */
:root {
  --primary:      #5660FB;
  --secondary:    #F1F5F9;
  --bg:           #FFFFFF;
  --bg-alt:       #F9FAFA;
  --text-heading: #23272A;
  --text-body:    #616E80;
  --accent:       #F3F4F6;
  --border:       #E5E7EB;
  --radius:       24px;
  --radius-card:  12px;
  --max-w:        1008px;
  --nav-h:        65px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text-body);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img {
  height: auto;
  display: block;
}

a { text-decoration: none; color: inherit; }
ul { list-style: none; }

/* ===========================================
   TYPOGRAPHY
   =========================================== */
h1, h2, h3 {
  font-family: 'Space Grotesk', sans-serif;
  color: var(--text-heading);
  line-height: 1.15;
}

h1 { font-size: clamp(40px, 5vw, 54px); font-weight: 700; letter-spacing: -0.02em; }
h2 { font-size: clamp(26px, 4vw, 40px); font-weight: 700; letter-spacing: -0.01em; }
h3 { font-size: 17px; font-weight: 600; }

p { line-height: 1.65; }

.tagline {
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  letter-spacing: 0.01em;
}

.section-sub {
  font-size: 16px;
  color: var(--text-body);
  line-height: 24px;
}

/* ===========================================
   BUTTONS
   =========================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 0px 24px;
  height: 38px;
  border-radius: 100px;
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
  line-height: 1.5em;
  letter-spacing: -0.01em;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  border-color: var(--primary);
}

.btn-primary:hover {
  background: #4752d4;
  border-color: #4752d4;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(88, 101, 242, 0.3);
}

.btn-outline {
  background: transparent;
  color: var(--text-heading);
  border-color: var(--border);
}

.btn-outline:hover {
  border-color: var(--text-heading);
  transform: translateY(-1px);
}

/* ===========================================
   NAVIGATION
   =========================================== */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  /* needed so the absolute dropdown is scoped to the nav */
  isolation: isolate;
}

.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-logo img { width: 70px; height: 24px; }

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

.nav-link {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-body);
  transition: color 0.2s;
}

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

.nav-cta {
  padding: 0px 14px;
  height: 34px;
  font-size: 14px;
}

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 6px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}

.ham-bar {
  display: block;
  width: 20px;
  height: 2px;
  background: var(--text-heading);
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.hamburger.open .ham-bar-top {
  transform: translateY(4px) rotate(45deg);
}

.hamburger.open .ham-bar-bot {
  transform: translateY(-4px) rotate(-45deg);
}

/* Mobile nav dropdown — absolutely positioned so it never pushes page content */
.nav-mobile-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 99;
  background: var(--bg);
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-mobile-menu ul {
  padding: 0 24px 20px;
  display: flex;
  flex-direction: column;
}

.nav-mobile-menu a {
  display: block;
  padding: 16px 0;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-heading);
  border-bottom: 1px solid var(--border);
  transition: color 0.2s;
}

.nav-mobile-menu li:last-child a {
  border-bottom: none;
}

.nav-mobile-menu a:hover { color: var(--primary); }

/* ===========================================
   LAYOUT
   =========================================== */
.section-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 112px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
}

.section-alt { background: var(--bg-alt); }

.section-header {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 800px;
}

/* ===========================================
   HERO
   =========================================== */
.hero {
  height: 88vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 24px;
}

.hero-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  max-width: 620px;
}

.hero-sub {
  font-size: 17px;
  color: var(--text-body);
  max-width: 480px;
  line-height: 1.7;
}

.hero-inner .btn { margin-top: 8px; }

/* ===========================================
   TICKER BANNER
   =========================================== */
.ticker-wrap {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  overflow: hidden;
}

.ticker-track {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 64px;
  width: 100%;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

.ticker-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--primary);
  white-space: nowrap;
}

.ticker-item svg { color: var(--primary); flex-shrink: 0; }

/* Always hidden on desktop */
.ticker-sep  { display: none; }
.ticker-dup  { display: none; }

/* ===========================================
   ICON WRAP
   =========================================== */
.icon-wrap {
  width: 40px;
  height: 40px;
  background: rgba(88, 101, 242, 0.08);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  flex-shrink: 0;
}

/* ===========================================
   SERVICE CARDS (2×2 grid)
   =========================================== */
.cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  width: 100%;
}

.service-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow 0.2s;
}

.service-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ===========================================
   PROCESS CARDS (3 columns)
   =========================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.process-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  text-align: center;
  transition: box-shadow 0.2s;
}

.process-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}

/* ===========================================
   WHAT WE OFFER
   =========================================== */
.offer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
  width: 100%;
}

.offer-photo-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.offer-decoration {
  position: absolute;
  width: 90%;
  max-width: 360px;
  opacity: 0.9;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
  pointer-events: none;
}

.offer-photo-card {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-card);
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  aspect-ratio: 3/4;
  box-shadow: 0 8px 40px rgba(0,0,0,0.12);
}

.offer-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.offer-pill {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: var(--radius-card);
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.offer-pill-name {
  font-weight: 600;
  font-size: 14px;
  color: var(--text-heading);
}

.offer-pill-role {
  font-size: 12px;
  color: var(--text-body);
}

.offer-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.offer-content h2 {
  font-size: clamp(22px, 3.5vw, 36px);
}

.offer-content .btn { margin-top: 8px; }

/* ===========================================
   PRICING
   =========================================== */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  width: 100%;
}

.pricing-card {
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-card);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: relative;
}

.pricing-featured {
  border-color: var(--primary);
  border-width: 2px;
  padding-top:24px;
}

.pricing-badge {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%, -50%);
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.03em;
  padding: 5px 16px;
  border-radius: 999px;
  white-space: nowrap;
}

.pricing-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-name {
  font-size: 15px;
  font-weight: 500;
  color: var(--text-body);
}

.pricing-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 6px;
}

.price-main {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 34px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1;
}

.price-bespoke { font-size: 40px; }

.price-sub {
  font-size: 13px;
  color: var(--text-body);
}

.pricing-features {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.pricing-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.4;
}

.pricing-features li::before {
  content: '';
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.feat-check::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%235865F2' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E");
}

.feat-cross {
  opacity: 0.45;
}

.feat-cross::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23616E80' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'/%3E%3Cline x1='6' y1='6' x2='18' y2='18'/%3E%3C/svg%3E");
}

.pricing-btn {
  width: 100%;
}

.pricing-disclaimer {
  font-size: 13px;
  color: var(--text-body);
  text-align: center;
  margin-top: -40px; /* section-inner gap is 48px, want 8px above disclaimer */
}

/* ===========================================
   CASE STUDIES
   =========================================== */
.case-stage {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 0;
  min-height: 320px;
}

.case-ticker-bg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  overflow: hidden;
  display: flex;
  align-items: center;
  pointer-events: none;
}

.case-ticker-track {
  display: flex;
  align-items: center;
  gap: 48px;
  width: max-content;
  animation: ticker 60s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(56px, 9vw, 104px);
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
  line-height: 1;
}

.case-dot { color: var(--text-heading); }

.case-card {
  position: relative;
  z-index: 1;
  width: 480px;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.14);
  transform-style: preserve-3d;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  cursor: pointer;
}

.case-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

.case-card:hover .case-bg-img,
.case-card:hover .case-bg-video {
  transform: scale(1);
}

/* Image hold — full card area, Card Background 2 fills it */
.case-image-hold {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
}

/* Layer 1 — abstract background image / video */
.case-bg-img,
.case-bg-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.15);
  transition: transform 0.5s cubic-bezier(0.69, 0.07, 0.25, 1.03);
}

/* Solid colour background */
.case-bg-solid {
  position: absolute;
  inset: 0;
}

/* Video wrapper — isolates blend mode to just the video */
.case-video-wrap {
  position: absolute;
  inset: 0;
  isolation: isolate;
  overflow: hidden;
}

/* Soft-light colour overlay for video backgrounds */
.case-video-overlay {
  position: absolute;
  inset: 0;
  background: #5EF7FF;
  mix-blend-mode: soft-light;
  pointer-events: none;
  z-index: 1;
}

/* Hero image — inside the motion area, fills it */
.case-hero-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

/* Layer 2 — distinct blue box inset within the image hold */
.case-motion-area {
  position: absolute;
  top: 20%;
  bottom: 20%;
  left: 50%;
  transform: translateX(-50%) scale(1.15);
  width: calc(100% - 124px);
  background: var(--primary);
  border-radius: 8px;
  overflow: hidden;
  transition: transform 0.6s cubic-bezier(0.69, 0.07, 0.25, 1.03);
}

.case-card:hover .case-motion-area {
  transform: translateX(-50%) scale(1);
}

/* Flip-scroll hover: zoom-out reveal (matches Framer's 0.96 content scale) */
.flip-card-perspective:hover .case-bg-img,
.flip-card-perspective:hover .case-bg-video {
  transform: scale(1);
}

.flip-card-perspective:hover .case-motion-area {
  transform: translateX(-50%) scale(1);
}

.flip-card-perspective:hover .flip-card-face {
  box-shadow: 0 20px 60px rgba(0,0,0,0.22);
}

/* Slanted ticker strips — top and bottom of the motion area */
.case-strip {
  position: absolute;
  left: -60%;
  right: -60%;
  height: 48px;
  display: flex;
  align-items: center;
  overflow: visible;
}

.case-strip-1 { top: 15%; transform: rotate(-5deg); }
.case-strip-2 { bottom: 15%; transform: rotate(5deg); }

.case-strip-track {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 0 40px;
  height: 48px;
  background: #283AFF;
  color: #fff;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  width: max-content;
  animation: ticker 60s linear infinite;
}

.case-strip-track-reverse {
  animation-direction: reverse;
}

.case-strip-sep {
  opacity: 0.5;
}

/* Layer 3 — gradient to support footer text readability */
.case-dark-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.6));
  pointer-events: none;
  z-index: 1;
}

.case-arrow {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.92);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-heading);
  z-index: 3;
}

/* Inner wrapper clips the arrow swap to the SVG bounding box */
.case-arrow-inner {
  position: relative;
  width: 24px;
  height: 24px;
  overflow: hidden;
}

.case-arrow-inner svg {
  transition: transform 0.4s cubic-bezier(0.69, 0.07, 0.25, 1.03);
  flex-shrink: 0;
}

.case-arrow-inner svg:first-child {
  transform: translate(0, 0);
}

.case-arrow-inner svg:last-child {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-24px, 24px);
}

.flip-card-perspective:hover .case-arrow-inner svg:first-child {
  transform: translate(24px, -24px);
}

.flip-card-perspective:hover .case-arrow-inner svg:last-child {
  transform: translate(0, 0);
}

.case-card-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 14px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  background: none;
  z-index: 2;
  transition: transform 0.5s cubic-bezier(0.69, 0.07, 0.25, 1.03), padding 0.5s cubic-bezier(0.69, 0.07, 0.25, 1.03);
}

.flip-card-perspective:hover .case-card-footer {
  transform: scale(0.96);
  padding: 20px;
}

.case-name {
  font-size: 24px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

.case-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.case-tag {
  font-size: 14px;
  font-weight: 600;
  background: #fff;
  color: var(--text-heading);
  padding: 3px 5px;
  border-radius: 6px;
  border: none;
  white-space: nowrap;
  letter-spacing: -0.02em;
}

/* ===========================================
   FLIP SCROLL — CASE STUDIES
   =========================================== */
.flip-section-header {
  padding-bottom: 0 !important;
}

.flip-scroll {
  position: relative;
  /* height set by JS based on number of case studies */
}

.flip-scroll-sticky {
  position: sticky;
  top: var(--nav-h);
  height: calc(100vh - var(--nav-h));
  display: flex;
  align-items: center;
  justify-content: center;
}

.flip-scroll-stage {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

/* Background ticker rows */
.flip-ticker-bg {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100vw;
  height: 140px;
  overflow: hidden;
  pointer-events: none;
}

.flip-ticker-rows {
  will-change: transform;
  display: flex;
  flex-direction: column;
  gap: 120px; /* matches bg height — full row exits before next enters */
}

.flip-ticker-row {
  display: flex;
  align-items: center;
  gap: 120px;
  width: max-content;
  height: 140px;
  animation: ticker 60s linear infinite;
  font-family: 'Space Grotesk', sans-serif;
  font-size: 128px;
  font-weight: 700;
  color: var(--text-heading);
  white-space: nowrap;
  line-height: 1;
}

.flip-ticker-row .case-dot {
  color: var(--text-heading);
}

/* Centering wrapper — owns the width so perspective element stays transform-clean */
.flip-card-wrap {
  width: 100%;
  display: flex;
  justify-content: center;
  position: relative;
  z-index: 2;
}

/* 3D card container */
.flip-card-perspective {
  perspective: 1200px;
  position: relative;
  z-index: 2;
  width: fit-content;
  transition: transform 0.15s ease;
}

.flip-card {
  position: relative;
  width: 480px;
  transform-style: preserve-3d;
  will-change: transform;
  cursor: pointer;
}

.flip-card-face {
  width: 100%;
  border-radius: 14px;
  overflow: hidden;
  background: var(--bg);
  box-shadow: 0 12px 48px rgba(0,0,0,0.14);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.flip-card-front {
  position: relative;
}

.flip-card-back {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  transform: rotateX(180deg);
}

/* Progress dots */
.flip-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  position: relative;
  z-index: 2;
}

.flip-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--border);
  transition: background 0.3s, transform 0.3s;
}

.flip-dot.active {
  background: var(--primary);
  transform: scale(1.3);
}

/* ===========================================
   CONTACT
   =========================================== */
.contact-card {
  background: var(--secondary);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  width: 100%;
}

.contact-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-left h2 { font-size: clamp(22px, 3vw, 34px); }
.contact-left .btn { margin-top: 8px; }

.contact-right {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.contact-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-heading);
  margin-bottom: 8px;
  display: block;
}

.contact-email-row {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 6px;
}

.contact-link {
  color: var(--primary);
  font-size: 15px;
  font-weight: 500;
  transition: opacity 0.2s;
}

.contact-link:hover { opacity: 0.75; }

.contact-phone {
  font-size: 15px;
  color: var(--primary);
  display: block;
}

.copy-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text-body);
  padding: 5px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  transition: color 0.2s, background 0.2s;
  flex-shrink: 0;
}

.copy-btn:hover {
  color: var(--primary);
  background: rgba(88, 101, 242, 0.08);
}

.copy-btn.copied { color: #22c55e; }

/* ===========================================
   FOOTER
   =========================================== */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
}

.footer-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 28px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-copy {
  font-size: 13px;
  color: var(--text-body);
}

.footer-logo img { width: 120px; height: 42px; }

.footer-links {
  display: flex;
  gap: 24px;
}

.footer-links a {
  font-size: 13px;
  color: var(--text-body);
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--text-heading); }

/* ===========================================
   SCROLL FADE-IN
   =========================================== */
.fade-in {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/* ===========================================
   RESPONSIVE — TABLET (≤900px)
   =========================================== */
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
  }
}

/* ===========================================
   RESPONSIVE — MOBILE (≤768px)
   =========================================== */
@media (max-width: 768px) {
  .section-inner {
    padding: 80px 24px;
    gap: 40px;
  }

  .case-name { font-size: 20px; }

  /* Nav */
  .nav-links { display: none; }

  .nav-cta { margin-left: auto; }

  .hamburger { display: flex; margin-left: 8px; }

  .nav-mobile-menu { display: block; }

  .nav.nav-open {
    filter: drop-shadow(0 8px 30px rgba(0,0,0,0.10));
    border-bottom-color: transparent;
  }

  .nav.nav-open .nav-mobile-menu {
    max-height: 320px;
    border-radius: 0 0 20px 20px;
  }


  /* Hero */
  .hero {
    padding: 40px 24px;
  }

  .hero-sub { font-size: 16px; }

  /* 2×2 → 1 col */
  .cards-grid { grid-template-columns: 1fr; }

  /* Process 3col → 1col */
  .process-grid { grid-template-columns: 1fr; }

  .process-card {
    text-align: left;
    align-items: flex-start;
  }

  /* Offer — stack, photo first */
  .offer-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .offer-photo-card {
    max-width: 100%;
    min-height: 360px;
    max-height: 400px;
  }

  .offer-decoration {
    max-width: 80%;
  }

  /* Contact card */
  .contact-card {
    grid-template-columns: 1fr;
    gap: 32px;
    padding: 24px;
  }

  /* Footer */
  .footer-inner {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

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

  /* Banner ticker — animated on mobile */
  .ticker-track {
    justify-content: flex-start;
    width: max-content;
    gap: 48px;
    animation: ticker 20s linear infinite;
  }

  .ticker-item {
    color: var(--primary);
  }

  .ticker-dup {
    display: flex;
  }

  .case-motion-area {
    width: 80%;
  }

  .case-card-footer {
    flex-direction: column;
    align-items: flex-start;
  }

  /* Flip scroll card */
  .flip-card-perspective {
    width: 90%;
    max-width: 360px;
  }

  .flip-card {
    width: 100%;
  }
}

@media (max-width: 480px) {
  h2 { font-size: 24px; }

  .section-inner { padding: 64px 20px; }
}
