/* CATLADY AI TECH — Editorial Dark Tech */

:root {
  --red: #e8193a;
  --red-hot: #ff2d55;
  --red-deep: #b01028;
  --red-glow: rgba(232, 25, 58, 0.45);
  --red-soft: rgba(232, 25, 58, 0.1);
  --black: #080808;
  --black-soft: #111111;
  --black-card: #161616;
  --ink: #1c1c1c;
  --gray-700: #4a4a4a;
  --gray-500: #7a7a7a;
  --gray-300: #c8c8c8;
  --gray-200: #e8e8e6;
  --cream: #f6f4f0;
  --white: #ffffff;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-display: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --header-h: 80px;
  --container: 1240px;
  --radius: 10px;
  --radius-lg: 18px;
  --radius-xl: 28px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

body.nav-open { overflow: hidden; }

::selection {
  background: var(--red);
  color: var(--white);
}

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

a {
  color: var(--red);
  text-decoration: none;
  transition: color 0.2s ease;
}

a:hover { color: var(--red-deep); }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  line-height: 1.2;
  color: var(--black);
  margin-top: 0;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.5rem, 6.5vw, 4rem); font-weight: 700; }
h2 { font-size: clamp(2rem, 4.5vw, 3rem); font-weight: 700; }
h3 { font-size: clamp(1.125rem, 2vw, 1.375rem); font-weight: 600; }

p { margin: 0 0 1rem; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--red-hot) 0%, var(--red) 50%, #ff6b7a 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  padding: 1rem 2rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 100px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s ease, background 0.3s ease, color 0.3s ease, border-color 0.3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.btn svg { width: 18px; height: 18px; transition: transform 0.3s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn:hover { transform: translateY(-2px); }

.btn--primary {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 24px var(--red-glow);
}

.btn--primary:hover {
  background: var(--red-hot);
  border-color: var(--red-hot);
  color: var(--white);
  box-shadow: 0 8px 32px var(--red-glow);
}

.btn--glow::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.2) 50%, transparent 60%);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.btn--glow:hover::before { transform: translateX(100%); }

.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
}

.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.4);
  color: var(--white);
}

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

.btn--outline:hover {
  background: var(--red);
  color: var(--white);
}

.btn--dark {
  background: var(--black);
  color: var(--white);
  border-color: var(--black);
}

.btn--dark:hover {
  background: var(--ink);
  color: var(--white);
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  transition: background 0.4s ease, border-color 0.4s ease, backdrop-filter 0.4s ease;
  border-bottom: 1px solid transparent;
}

.site-header.is-scrolled {
  background: rgba(8, 8, 8, 0.88);
  backdrop-filter: blur(20px) saturate(1.4);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.page-inner .site-header {
  background: rgba(8, 8, 8, 0.95);
  backdrop-filter: blur(20px);
  border-bottom-color: rgba(255, 255, 255, 0.06);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  color: var(--white);
  z-index: 2;
}

.logo-mark {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, var(--red) 0%, var(--red-deep) 100%);
  border-radius: 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--red-glow);
  transition: transform 0.3s var(--ease-spring);
}

.logo:hover .logo-mark { transform: rotate(-6deg) scale(1.05); }
.logo-mark svg { width: 22px; height: 22px; }

.logo-text {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.8125rem;
  letter-spacing: 0.1em;
  line-height: 1.15;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-menu a {
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  letter-spacing: 0.02em;
  position: relative;
}

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

.nav-menu a:hover { color: var(--white); }
.nav-menu a:hover::after { width: 100%; }

.nav-cta { margin-left: 0.5rem; }
.nav-cta .btn { padding: 0.75rem 1.5rem; font-size: 0.875rem; }

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 48px; height: 48px;
  padding: 0;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 12px;
  cursor: pointer;
  z-index: 2;
}

.nav-toggle span {
  display: block;
  width: 22px; height: 2px;
  background: var(--white);
  margin: 0 auto;
  transition: transform 0.3s ease, opacity 0.3s ease;
  border-radius: 2px;
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

.nav-overlay { display: none; }

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: var(--header-h);
  background: var(--black);
  color: var(--white);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-mesh {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 20%, rgba(232, 25, 58, 0.18) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 10% 80%, rgba(232, 25, 58, 0.08) 0%, transparent 50%),
    linear-gradient(180deg, var(--black) 0%, #0e0e0e 100%);
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 70% 70% at 50% 40%, black 20%, transparent 80%);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: orbFloat 12s ease-in-out infinite;
}

.hero-orb--1 {
  width: 400px; height: 400px;
  background: var(--red);
  opacity: 0.15;
  top: -10%; right: -5%;
}

.hero-orb--2 {
  width: 300px; height: 300px;
  background: var(--red-hot);
  opacity: 0.08;
  bottom: 10%; left: -5%;
  animation-delay: -6s;
}

@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(20px, -30px) scale(1.1); }
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
  padding-top: 3rem;
  padding-bottom: 2rem;
}

.hero-content h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
  max-width: 14ch;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  padding: 0.5rem 1rem 0.5rem 0.75rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 100px;
  font-size: 0.8125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.75rem;
  backdrop-filter: blur(8px);
}

.pulse-dot {
  width: 8px; height: 8px;
  background: var(--red-hot);
  border-radius: 50%;
  box-shadow: 0 0 12px var(--red-glow);
  animation: pulse 2s ease infinite;
}

@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.6; transform: scale(0.85); }
}

.hero-subtitle {
  font-size: 1.125rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 2.25rem;
  max-width: 480px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 3rem;
}

.hero-stats {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-stat-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
}

.hero-stat-text {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-stat-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.12);
}

.hero-visual {
  position: relative;
}

.hero-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
}

.hero-frame img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  display: block;
}

.hero-frame-border {
  position: absolute;
  inset: -3px;
  border-radius: calc(var(--radius-xl) + 3px);
  background: linear-gradient(135deg, var(--red) 0%, transparent 40%, transparent 60%, var(--red-deep) 100%);
  z-index: -1;
}

.hero-float-card {
  position: absolute;
  bottom: -1rem;
  left: -1rem;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 1rem 1.25rem;
  background: rgba(8, 8, 8, 0.9);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  animation: floatCard 5s ease-in-out infinite;
}

.hero-float-card svg {
  width: 28px; height: 28px;
  stroke: var(--red);
  flex-shrink: 0;
}

.hero-float-card strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--white);
}

.hero-float-card span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.hero-marquee {
  position: relative;
  margin-top: auto;
  padding: 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}

.marquee-track {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  white-space: nowrap;
  animation: marquee 30s linear infinite;
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.25);
}

.marquee-dot {
  width: 6px; height: 6px;
  background: var(--red);
  border-radius: 50%;
  flex-shrink: 0;
}

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

/* ─── Sections ─── */
.section {
  padding: 6rem 0;
  position: relative;
}

.section--dark {
  background: var(--black);
  color: rgba(255, 255, 255, 0.75);
}

.section--dark::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 50% at 50% 0%, rgba(232, 25, 58, 0.12) 0%, transparent 60%);
  pointer-events: none;
}

.section--dark h2, .section--dark h3 { color: var(--white); }

.section--gray {
  background: var(--cream);
  background-image: radial-gradient(circle at 1px 1px, rgba(0,0,0,0.04) 1px, transparent 0);
  background-size: 32px 32px;
}

.section-header {
  max-width: 640px;
  margin: 0 0 4rem;
  position: relative;
}

.section-header--center {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 1rem;
}

.section-label::before {
  content: '';
  width: 32px; height: 2px;
  background: var(--red);
}

.section-header p {
  color: var(--gray-700);
  font-size: 1.0625rem;
  line-height: 1.75;
}

.section--dark .section-header p { color: rgba(255, 255, 255, 0.6); }
.section--dark .section-label { color: var(--red-hot); }
.section--dark .section-label::before { background: var(--red-hot); }

.section-header--light .section-label { color: var(--red-hot); }
.section-header--light .section-label::before { background: var(--red-hot); }
.section-header--light h2 { color: var(--white); }
.section-header--light p { color: rgba(255, 255, 255, 0.65); }

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

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

.card-grid .reveal:nth-child(2) { transition-delay: 0.08s; }
.card-grid .reveal:nth-child(3) { transition-delay: 0.16s; }
.card-grid .reveal:nth-child(4) { transition-delay: 0.24s; }
.card-grid .reveal:nth-child(5) { transition-delay: 0.32s; }
.card-grid .reveal:nth-child(6) { transition-delay: 0.4s; }

.process-grid .reveal:nth-child(2) { transition-delay: 0.1s; }
.process-grid .reveal:nth-child(3) { transition-delay: 0.2s; }
.process-grid .reveal:nth-child(4) { transition-delay: 0.3s; }

/* ─── Cards & Grids ─── */
.card-grid {
  display: grid;
  gap: 1.5rem;
}

.card-grid--2 { grid-template-columns: 1fr; }
.card-grid--3 { grid-template-columns: 1fr; }
.card-grid--4 { grid-template-columns: 1fr; }

.card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease, border-color 0.4s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
  border-color: transparent;
}

.card-image { overflow: hidden; }

.card-image img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.card:hover .card-image img { transform: scale(1.06); }

.card-body { padding: 1.75rem; }

.card-body h3 { margin-bottom: 0.625rem; }
.card-body p { color: var(--gray-700); font-size: 0.9375rem; margin: 0; }

.card-tag {
  display: inline-block;
  padding: 0.25rem 0.75rem;
  background: var(--red-soft);
  color: var(--red);
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 100px;
  margin-bottom: 0.75rem;
}

/* Services bento */
.services-grid {
  display: grid;
  gap: 1.25rem;
  grid-template-columns: 1fr;
}

.service-card--featured {
  border-color: transparent;
  background: linear-gradient(var(--white), var(--white)) padding-box,
              linear-gradient(135deg, var(--red), transparent 60%) border-box;
  border: 2px solid transparent;
}

.service-card--wide {
  display: grid;
  grid-template-columns: 1fr;
}

.service-card--wide .card-image img {
  aspect-ratio: 21/9;
}

/* Industry cards */
.industry-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  min-height: 280px;
  cursor: default;
}

.industry-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 2px solid transparent;
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease;
  pointer-events: none;
}

.industry-card:hover::after { border-color: var(--red); }

.industry-card img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.industry-card:hover img { transform: scale(1.08); }

.industry-card-content {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8,8,8,0.92) 0%, rgba(8,8,8,0.1) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  color: var(--white);
}

.industry-card-content h3 {
  color: var(--white);
  margin-bottom: 0.375rem;
  transform: translateY(0);
  transition: transform 0.3s var(--ease-out);
}

.industry-card:hover .industry-card-content h3 { transform: translateY(-4px); }

.industry-card-content p {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  margin: 0;
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease;
}

.industry-card:hover .industry-card-content p {
  max-height: 80px;
  opacity: 1;
  margin-top: 0.375rem;
}

/* Process timeline */
.process-grid {
  display: grid;
  gap: 0;
  position: relative;
}

.process-step {
  position: relative;
  padding: 2.5rem 2rem;
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.process-step:hover {
  border-color: var(--red);
  box-shadow:
    inset 0 0 0 1px var(--red),
    0 12px 40px rgba(232, 25, 58, 0.08);
  position: relative;
  z-index: 1;
}

.step-icon {
  width: 52px; height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--black);
  border-radius: 14px;
  margin-bottom: 1.5rem;
  transition: background 0.3s ease, transform 0.3s var(--ease-spring);
}

.process-step:hover .step-icon {
  background: var(--red);
  transform: rotate(-4deg);
}

.step-icon svg { width: 24px; height: 24px; stroke: var(--white); }

.step-number {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--gray-200);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.process-step:hover .step-number { color: var(--red-deep); }

.process-step h3 { margin-bottom: 0.75rem; }
.process-step p { color: var(--gray-700); font-size: 0.9375rem; margin: 0; }

/* Case studies */
.case-study {
  display: grid;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  margin-bottom: 2rem;
  transition: box-shadow 0.4s ease;
}

.case-study:last-child { margin-bottom: 0; }
.case-study:hover { box-shadow: 0 32px 64px rgba(0, 0, 0, 0.1); }

.case-study-image { overflow: hidden; }

.case-study-image img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
  transition: transform 0.7s var(--ease-out);
}

.case-study:hover .case-study-image img { transform: scale(1.04); }

.case-study-content {
  padding: 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.case-study-meta {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  margin-bottom: 0.75rem;
}

.case-study h3 { margin-bottom: 1.5rem; font-size: 1.75rem; }

.case-detail { margin-bottom: 1rem; }

.case-detail strong {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  margin-bottom: 0.375rem;
}

.case-detail p { font-size: 0.9375rem; color: var(--gray-700); margin: 0; }

.case-result {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.75rem 1.25rem;
  background: var(--black);
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9375rem;
  border-radius: 100px;
  align-self: flex-start;
}

.case-result::before {
  content: '';
  width: 8px; height: 8px;
  background: var(--red-hot);
  border-radius: 50%;
  box-shadow: 0 0 8px var(--red-glow);
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  padding: 2.25rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0; left: 2rem; right: 2rem;
  height: 3px;
  background: linear-gradient(90deg, var(--red), var(--red-hot));
  border-radius: 0 0 4px 4px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.08);
}

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

.testimonial-card--featured {
  background: var(--black);
  border-color: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.testimonial-card--featured::before { opacity: 1; }

.testimonial-card--featured .testimonial-quote { color: rgba(255, 255, 255, 0.8); }
.testimonial-card--featured .testimonial-author { border-color: rgba(255, 255, 255, 0.1); }
.testimonial-card--featured .testimonial-author strong { color: var(--white); }
.testimonial-card--featured .testimonial-author span { color: rgba(255, 255, 255, 0.45); }

.testimonial-quote {
  font-size: 1.0625rem;
  line-height: 1.75;
  color: var(--gray-700);
  flex: 1;
  margin-bottom: 1.75rem;
}

.testimonial-author {
  border-top: 1px solid var(--gray-200);
  padding-top: 1.25rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--black);
}

.testimonial-author span {
  font-size: 0.8125rem;
  color: var(--gray-500);
}

/* About */
.about-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image::before {
  content: '';
  position: absolute;
  top: -16px; right: -16px;
  width: 60%; height: 60%;
  background: var(--red);
  border-radius: var(--radius-xl);
  z-index: -1;
  opacity: 0.15;
}

.about-image img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.15);
}

.mission-vision {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.mv-block {
  padding: 1.5rem;
  background: var(--white);
  border-radius: var(--radius);
  border-left: 3px solid var(--red);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.mv-block h3 { margin-bottom: 0.375rem; font-size: 1rem; }
.mv-block p { font-size: 0.9375rem; color: var(--gray-700); margin: 0; }

/* Achievements */
.achievements-grid {
  display: grid;
  gap: 1.25rem;
  position: relative;
}

.achievement-item {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  transition: background 0.3s ease, border-color 0.3s ease, transform 0.3s var(--ease-out);
  position: relative;
  overflow: hidden;
}

.achievement-item::before {
  content: '';
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 60%; height: 1px;
  background: linear-gradient(90deg, transparent, var(--red), transparent);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.achievement-item:hover {
  background: rgba(232, 25, 58, 0.08);
  border-color: rgba(232, 25, 58, 0.25);
  transform: translateY(-4px);
}

.achievement-item:hover::before { opacity: 1; }

.achievement-icon { width: 48px; height: 48px; margin: 0 auto 1.25rem; }
.achievement-icon svg { width: 48px; height: 48px; stroke: var(--red-hot); }

.stat {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.stat-label {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.5);
  letter-spacing: 0.04em;
}

/* Blog */
.blog-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-200);
  transition: transform 0.4s var(--ease-out), box-shadow 0.4s ease;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.1);
}

.blog-card a { text-decoration: none; color: inherit; display: block; }

.blog-card .card-image,
.blog-card > a > img { overflow: hidden; }

.blog-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.6s var(--ease-out);
}

.blog-card:hover img { transform: scale(1.06); }

.blog-card-body { padding: 1.75rem; }

.blog-date {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--red);
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 0.625rem;
}

.blog-card h3 {
  margin-bottom: 0.625rem;
  transition: color 0.3s ease;
}

.blog-card:hover h3 { color: var(--red); }
.blog-card p { font-size: 0.9375rem; color: var(--gray-700); margin: 0; }

/* FAQ */
.faq-list {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.faq-item.is-open {
  border-color: var(--red);
  box-shadow: 0 8px 32px rgba(232, 25, 58, 0.08);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.375rem 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-display);
  font-size: 1.0625rem;
  font-weight: 600;
  color: var(--black);
  transition: color 0.3s ease;
}

.faq-item.is-open .faq-question { color: var(--red); }

.faq-question svg {
  flex-shrink: 0;
  width: 20px; height: 20px;
  stroke: var(--gray-500);
  transition: transform 0.35s var(--ease-out), stroke 0.3s ease;
}

.faq-item.is-open .faq-question svg {
  transform: rotate(180deg);
  stroke: var(--red);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}

.faq-item.is-open .faq-answer { max-height: 320px; }

.faq-answer p {
  padding: 0 1.5rem 1.375rem;
  color: var(--gray-700);
  font-size: 0.9375rem;
  margin: 0;
}

/* Contact */
.section--contact {
  background: var(--black);
  position: relative;
  overflow: hidden;
  padding-bottom: 6rem;
}

.contact-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 80% 100%, rgba(232, 25, 58, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 40% at 0% 50%, rgba(232, 25, 58, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
  position: relative;
}

.contact-info-item {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.contact-info-item:hover {
  border-color: rgba(232, 25, 58, 0.3);
  background: rgba(232, 25, 58, 0.06);
}

.contact-info-item svg {
  width: 22px; height: 22px;
  stroke: var(--red-hot);
  flex-shrink: 0;
  margin-top: 2px;
}

.contact-info-item strong {
  display: block;
  color: var(--white);
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.25rem;
}

.contact-info-item a,
.contact-info-item div {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9375rem;
  line-height: 1.6;
}

.contact-info-item a:hover { color: var(--white); }

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form {
  background: var(--white);
  padding: 2.5rem;
  border-radius: var(--radius-xl);
  box-shadow: 0 32px 80px rgba(0, 0, 0, 0.4);
}

.form-group { margin-bottom: 1.25rem; }

.form-group label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
  color: var(--gray-700);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1.125rem;
  font-family: var(--font-body);
  font-size: 0.9375rem;
  border: 2px solid var(--gray-200);
  border-radius: var(--radius);
  background: var(--cream);
  transition: border-color 0.3s ease, background 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--red);
  background: var(--white);
}

.form-group textarea { min-height: 150px; resize: vertical; }

.form-success {
  margin-top: 1rem;
  padding: 1rem;
  background: #e8f8ec;
  color: #1a7a34;
  border-radius: var(--radius);
  font-size: 0.9375rem;
  font-weight: 500;
}

/* Footer */
.site-footer {
  background: var(--black-soft);
  color: rgba(255, 255, 255, 0.55);
  padding: 4rem 0 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-grid {
  display: grid;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand .logo { margin-bottom: 1.25rem; }
.footer-brand p { font-size: 0.9375rem; line-height: 1.7; max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-display);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.footer-col li { margin-bottom: 0.625rem; }

.footer-col a {
  color: rgba(255, 255, 255, 0.55);
  font-size: 0.9375rem;
  transition: color 0.2s ease;
}

.footer-col a:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  font-size: 0.8125rem;
}

/* Cookie banner */
.cookie-banner {
  position: fixed;
  bottom: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2000;
  background: var(--black);
  color: var(--white);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5);
}

.cookie-banner[hidden] { display: none; }

.cookie-inner {
  max-width: var(--container);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: flex-start;
}

.cookie-inner p {
  font-size: 0.875rem;
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

.cookie-actions { display: flex; gap: 0.75rem; flex-shrink: 0; }
.cookie-actions .btn { padding: 0.625rem 1.25rem; font-size: 0.8125rem; border-radius: 100px; }

.btn--cookie-accept {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn--cookie-deny {
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  border-color: rgba(255, 255, 255, 0.2);
}

.btn--cookie-deny:hover {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

/* Terms */
.terms-content {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 5rem;
  background: var(--cream);
}

.terms-content h1 { margin-bottom: 0.5rem; }

.terms-updated {
  color: var(--gray-500);
  font-size: 0.9375rem;
  margin-bottom: 2.5rem;
}

.terms-content h2 {
  font-size: 1.375rem;
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--red-soft);
}

.terms-content p, .terms-content li { color: var(--gray-700); font-size: 0.9375rem; }
.terms-content ul { list-style: disc; padding-left: 1.5rem; margin-bottom: 1rem; }
.terms-content li { margin-bottom: 0.5rem; }

/* ─── Tablet 768px+ ─── */
@media (min-width: 768px) {
  .section { padding: 7rem 0; }

  .hero-grid {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    padding-top: 4rem;
    padding-bottom: 3rem;
  }

  .hero-content h1 { max-width: none; }

  .card-grid--2 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--3 { grid-template-columns: repeat(2, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(2, 1fr); }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card--featured {
    grid-row: span 2;
    display: flex;
    flex-direction: column;
  }

  .service-card--featured .card-image { flex: 1; }
  .service-card--featured .card-image img { height: 100%; aspect-ratio: auto; min-height: 200px; }

  .service-card--wide {
    grid-column: span 2;
    grid-template-columns: 1.2fr 1fr;
  }

  .service-card--wide .card-image img { aspect-ratio: auto; height: 100%; min-height: 220px; }

  .process-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }

  .case-study {
    grid-template-columns: 1fr 1.1fr;
  }

  .case-study--reverse { grid-template-columns: 1.1fr 1fr; }
  .case-study--reverse .case-study-image { order: 2; }

  .achievements-grid { grid-template-columns: repeat(2, 1fr); }

  .about-grid { grid-template-columns: 1fr 1.1fr; }

  .contact-grid { grid-template-columns: 1fr 1.3fr; }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr; }

  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .cookie-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }

  .cookie-banner {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    max-width: 720px;
    width: calc(100% - 2.5rem);
  }
}

/* ─── Desktop 1024px+ ─── */
@media (min-width: 1024px) {
  .card-grid--3 { grid-template-columns: repeat(3, 1fr); }
  .card-grid--4 { grid-template-columns: repeat(4, 1fr); }

  .process-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
  }

  .process-step {
    border-radius: 0;
    border-right: none;
  }

  .process-step:first-child { border-radius: var(--radius-lg) 0 0 var(--radius-lg); }
  .process-step:last-child { border-radius: 0 var(--radius-lg) var(--radius-lg) 0; border-right: 1px solid var(--gray-200); }

  .achievements-grid { grid-template-columns: repeat(4, 1fr); }

  .testimonial-card--featured {
    transform: scale(1.04);
    z-index: 1;
  }

  .card-grid--3:has(.testimonial-card--featured) {
    align-items: center;
  }
}

/* ─── Mobile nav ─── */
@media (max-width: 767px) {
  .nav-toggle { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: 0;
    width: min(320px, 88vw);
    height: 100vh;
    height: 100dvh;
    background: var(--black-soft);
    flex-direction: column;
    align-items: flex-start;
    padding: calc(var(--header-h) + 1.5rem) 1.5rem 2rem;
    gap: 0;
    transform: translateX(100%);
    transition: transform 0.4s var(--ease-out);
    border-left: 1px solid rgba(255, 255, 255, 0.06);
    overflow-y: auto;
  }

  .nav-menu.is-open { transform: translateX(0); }

  .nav-menu li { width: 100%; }

  .nav-menu a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    width: 100%;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
  }

  .nav-cta { margin: 1.5rem 0 0; width: 100%; }
  .nav-cta .btn { width: 100%; }

  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease, visibility 0.4s ease;
  }

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

  .hero-actions .btn { width: 100%; }
  .hero-float-card { left: 0.5rem; bottom: -0.5rem; }
  .hero-stats { gap: 1rem; }

  .service-card--featured { grid-row: auto; }
  .service-card--wide { grid-column: auto; }

  .testimonial-card--featured { transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .reveal { opacity: 1; transform: none; }
  .marquee-track { animation: none; }
}
