/* =========================================================
   Zinoto — Design tokens (matches Lovable prototype exactly)
   ========================================================= */
:root {
  /* HSL tokens from Lovable index.css */
  --background: 210 20% 98.5%;
  --foreground: 215 50% 10%;
  --card: 0 0% 100%;
  --primary: 213 55% 18%;
  --primary-fg: 0 0% 100%;
  --muted: 210 20% 94%;
  --muted-fg: 215 15% 45%;
  --accent: 190 100% 45%;
  --accent-fg: 215 55% 12%;
  --border: 210 18% 90%;
  --input: 210 18% 88%;
  --radius: 0.75rem;

  /* Hero gradient */
  --hero-gradient: linear-gradient(145deg, hsl(213, 55%, 14%) 0%, hsl(220, 60%, 6%) 60%, hsl(200, 50%, 10%) 100%);

  /* Type */
  --font-sans: 'DM Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Montserrat', system-ui, sans-serif;

  /* Spacing / layout */
  --container-max: 1280px;
  --gutter: 1rem;
  --nav-height: 5rem;
}

@media (min-width: 640px) {
  :root { --gutter: 1.5rem; }
}
@media (min-width: 1024px) {
  :root { --gutter: 2rem; }
}

/* =========================================================
   Reset / base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  background: hsl(var(--background));
  color: hsl(var(--foreground));
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
button { font: inherit; cursor: pointer; background: none; border: 0; color: inherit; }
a { color: inherit; text-decoration: none; }
input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  letter-spacing: -0.02em;
  line-height: 1.15;
  font-weight: 700;
  color: hsl(var(--foreground));
}

/* utilities */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding-left: var(--gutter);
  padding-right: var(--gutter);
}
.text-gradient {
  background: linear-gradient(135deg, hsl(var(--accent)) 0%, hsl(190 80% 65%) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}
.eyebrow {
  display: inline-block;
  font-family: var(--font-sans);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--accent));
}
.section-title {
  font-size: clamp(1.875rem, 4vw, 2.5rem);
  font-weight: 700;
  margin-top: 0.5rem;
}
.section-lead {
  color: hsl(var(--muted-fg));
  font-size: 1rem;
  max-width: 36rem;
  line-height: 1.7;
}
@media (min-width: 768px) {
  .section-lead { font-size: 1.0625rem; }
}

/* =========================================================
   Reveal animations
   ========================================================= */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition:
    opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: 0.08s; }
.reveal-d2 { transition-delay: 0.16s; }
.reveal-d3 { transition-delay: 0.24s; }
.reveal-d4 { transition-delay: 0.32s; }
.reveal-d5 { transition-delay: 0.40s; }
.reveal-d6 { transition-delay: 0.48s; }

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
  html { scroll-behavior: auto; }
}

/* =========================================================
   Navbar
   ========================================================= */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  background: #ffffff;
  border-bottom: 1px solid hsl(var(--border));
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled {
  box-shadow: 0 4px 20px -10px rgba(15, 30, 60, 0.08);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  height: var(--nav-height);
}
.nav-logo { display: inline-flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 34px; width: auto; max-width: 140px; object-fit: contain; }
@media (min-width: 640px) { .nav-logo img { height: 44px; max-width: none; } }
@media (min-width: 900px) { .nav-logo img { height: 50px; } }
@media (min-width: 1024px) { .nav-logo img { height: 56px; } }

.nav-links {
  display: none;
  align-items: center;
  gap: 0.25rem;
}
@media (min-width: 900px) { .nav-links { display: flex; } }

.nav-link {
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  border-radius: 0.5rem;
  transition: color 0.2s, background 0.2s;
}
.nav-link:hover { color: hsl(var(--foreground)); background: hsl(var(--muted) / 0.6); }

/* Nav dropdown (Case Studies) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}
.nav-dropdown > .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.nav-dropdown > .nav-link .chev {
  width: 11px; height: 11px;
  color: hsl(var(--muted-fg));
  transition: transform 0.2s;
}
.nav-dropdown:hover > .nav-link,
.nav-dropdown.open > .nav-link {
  color: hsl(var(--foreground));
  background: hsl(var(--muted) / 0.6);
}
.nav-dropdown:hover > .nav-link .chev,
.nav-dropdown.open > .nav-link .chev {
  transform: rotate(180deg);
  color: hsl(var(--accent));
}
.nav-submenu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  transform: translateY(-4px);
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 0.75rem;
  box-shadow: 0 18px 50px -18px rgba(20, 40, 80, 0.28), 0 2px 6px -2px rgba(20, 40, 80, 0.08);
  padding: 0.4rem;
  min-width: 280px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.16s ease, transform 0.16s ease;
  z-index: 60;
}
/* Hover bridge so the menu doesn't close while traveling from link to menu */
.nav-submenu::before {
  content: "";
  position: absolute;
  left: 0; right: 0;
  top: -8px;
  height: 10px;
}
.nav-dropdown:hover .nav-submenu,
.nav-dropdown:focus-within .nav-submenu,
.nav-dropdown.open .nav-submenu {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.nav-submenu a {
  display: flex;
  align-items: baseline;
  gap: 0.55rem;
  padding: 0.65rem 0.8rem;
  border-radius: 0.5rem;
  font-size: 0.875rem;
  line-height: 1.3;
  color: hsl(var(--foreground));
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.nav-submenu a:hover {
  background: hsl(var(--muted) / 0.7);
}
.nav-submenu a .tag {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  flex-shrink: 0;
}
.nav-submenu a .brand {
  font-weight: 600;
  color: hsl(var(--foreground));
}
.nav-submenu a .sep {
  color: hsl(var(--muted-fg));
  opacity: 0.6;
}
.nav-submenu .nav-submenu-all {
  margin-top: 0.25rem;
  padding-top: 0.65rem;
  border-top: 1px solid hsl(var(--border));
  font-size: 0.8rem;
  font-weight: 600;
  color: hsl(var(--accent));
  justify-content: space-between;
}
.nav-submenu .nav-submenu-all svg {
  width: 14px; height: 14px;
  transition: transform 0.18s;
}
.nav-submenu .nav-submenu-all:hover svg {
  transform: translate(2px, -2px);
}

/* Mobile: collapse dropdown into a flat group inside the mobile menu */
.nav-mobile .nav-dropdown { display: block; }
.nav-mobile .nav-dropdown > .nav-link .chev { display: none; }
.nav-mobile .nav-submenu {
  position: static;
  transform: none;
  opacity: 1;
  pointer-events: auto;
  box-shadow: none;
  border: 0;
  background: transparent;
  padding: 0 0 0.5rem 0.75rem;
  min-width: 0;
}
.nav-mobile .nav-submenu::before { display: none; }
.nav-mobile .nav-submenu a { padding: 0.55rem 0.5rem; }
.nav-mobile .nav-submenu .nav-submenu-all { display: none; }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
  border-radius: 0.5rem;
  margin-left: 0.25rem;
  transition: color 0.2s, background 0.2s;
}
.nav-cta:hover { color: hsl(var(--accent)); background: hsl(var(--muted) / 0.6); }

/* Language switch with flags */
.lang-switch {
  position: relative;
  display: inline-flex;
  align-items: center;
  margin-left: 0.5rem;
}
.lang-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.75rem 0.4rem 0.5rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
  background: white;
  border-radius: 999px;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  cursor: pointer;
}
.lang-trigger:hover {
  border-color: hsl(var(--accent) / 0.5);
  box-shadow: 0 4px 14px -8px hsl(var(--accent) / 0.4);
}
.lang-trigger .flag {
  width: 24px; height: 16px;
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.lang-trigger .flag svg { width: 100%; height: 100%; display: block; }
.lang-trigger .chev {
  width: 12px; height: 12px;
  transition: transform 0.2s;
  color: hsl(var(--muted-fg));
}
.lang-switch.open .lang-trigger .chev { transform: rotate(180deg); }

.lang-menu {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: 0.625rem;
  box-shadow: 0 14px 40px -16px rgba(20, 40, 80, 0.22);
  min-width: 132px;
  padding: 4px;
  opacity: 0;
  transform: translateY(-4px);
  pointer-events: none;
  transition: opacity 0.15s, transform 0.15s;
  z-index: 60;
}
.lang-switch.open .lang-menu {
  opacity: 1; transform: translateY(0); pointer-events: auto;
}
.lang-menu button {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  width: 100%;
  padding: 0.5rem 0.65rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: hsl(var(--foreground));
  border-radius: 0.4rem;
  cursor: pointer;
  text-align: left;
}
.lang-menu button:hover { background: hsl(var(--muted) / 0.7); }
.lang-menu button.active { background: hsl(var(--accent) / 0.12); color: hsl(var(--accent-fg)); }
.lang-menu .flag {
  width: 26px; height: 17px;
  display: inline-flex;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(0,0,0,0.12);
}
.lang-menu .flag svg { width: 100%; height: 100%; display: block; }

/* Mobile nav variant — compact pill, docked at the top of the menu */
.nav-mobile-top {
  display: flex;
  justify-content: flex-end;
  padding-bottom: 0.75rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px solid hsl(var(--border));
}
.nav-mobile .lang-switch { margin: 0; }
.nav-mobile .lang-trigger {
  width: auto;
  padding: 0.32rem 0.6rem 0.32rem 0.4rem;
  gap: 0.35rem;
  font-size: 0.7rem;
}
.nav-mobile .lang-trigger .flag { width: 19px; height: 13px; }
.nav-mobile .lang-menu { min-width: 128px; right: 0; left: auto; }

.nav-burger {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px; height: 40px;
  color: hsl(var(--foreground));
  border-radius: 0.5rem;
}
@media (min-width: 900px) { .nav-burger { display: none; } }

/* mobile nav */
.nav-mobile {
  display: none;
  padding: 0.5rem var(--gutter) 1rem;
  background: rgba(255,255,255,0.98);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid hsl(var(--border));
  animation: slideDown 0.25s ease-out;
}
.nav-mobile.open { display: block; }
.nav-mobile .nav-link {
  display: block;
  width: 100%;
  padding: 0.875rem 0.75rem;
  text-align: left;
  font-size: 0.95rem;
}
.nav-mobile .nav-cta { display: block; width: 100%; text-align: left; padding: 0.875rem 0.75rem; margin: 0; font-size: 0.95rem; }

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* =========================================================
   Hero
   ========================================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--hero-gradient);
  padding-top: calc(var(--nav-height) + 1rem);
  padding-bottom: 2rem;
}
.hero-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 90px 90px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, black 0%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 30% 50%, black 0%, transparent 80%);
}
.hero-glow {
  position: absolute;
  top: 25%; right: 12%;
  width: clamp(280px, 50vw, 560px);
  height: clamp(280px, 50vw, 560px);
  background: hsl(var(--accent) / 0.12);
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
}
.hero-glow.second {
  top: auto; right: auto;
  bottom: -10%; left: -10%;
  width: clamp(220px, 40vw, 420px);
  height: clamp(220px, 40vw, 420px);
  background: hsl(220 90% 50% / 0.10);
  filter: blur(120px);
}

.hero-inner {
  position: relative;
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 4rem var(--gutter);
}
@media (min-width: 768px) { .hero-inner { padding: 6rem var(--gutter); } }
@media (min-width: 1024px) { .hero-inner { padding: 8rem var(--gutter); } }

.hero-content { max-width: 56rem; }

.hero-badge {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid hsl(var(--accent) / 0.4);
  border-radius: 999px;
  color: hsl(var(--accent));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.75rem;
  backdrop-filter: blur(6px);
}

.hero-title .hero-line {
  display: block;
}
:root[lang="pt-BR"] .hero-title .hero-line--hide-pt {
  display: none;
}

/* Hero "de" — split treatment for mobile vs desktop (PT only) */
.hero-de--desktop { display: inline; }
.hero-de--mobile  { display: none; }
@media (max-width: 640px) {
  .hero-de--desktop { display: none; }
  .hero-de--mobile  { display: inline; color: #fff; }
}
.hero-title {
  color: white;
  font-size: clamp(2.25rem, 6.4vw, 4.5rem);
  line-height: 1.08;
  font-weight: 700;
  margin-bottom: 1.75rem;
  letter-spacing: -0.02em;
}
@media (min-width: 1280px) { .hero-title { font-size: 4.75rem; } }

.hero-sub {
  color: rgba(255,255,255,0.62);
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  max-width: 32rem;
  line-height: 1.65;
  margin-bottom: 2.5rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.95rem 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: 0.625rem;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  white-space: nowrap;
}
.btn-primary {
  background: hsl(var(--accent));
  color: hsl(var(--accent-fg));
  box-shadow: 0 10px 30px -8px hsl(var(--accent) / 0.45);
}
.btn-primary:hover {
  filter: brightness(1.08);
  transform: translateY(-1px);
  box-shadow: 0 14px 34px -8px hsl(var(--accent) / 0.55);
}
.btn-primary .icon { transition: transform 0.25s; }
.btn-primary:hover .icon { transform: translateX(4px); }
.btn-ghost-light {
  background: transparent;
  color: rgba(255,255,255,0.85);
  border: 1px solid rgba(255,255,255,0.22);
}
.btn-ghost-light:hover {
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.4);
}

/* Hero stats */
.hero-stats {
  margin-top: 4rem;
  padding-top: 2.5rem;
  border-top: 1px solid rgba(255,255,255,0.10);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
}
@media (min-width: 640px) { .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 2rem; } }
.stat-value {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.75rem, 3.2vw, 2.25rem);
  color: hsl(var(--accent));
  letter-spacing: -0.02em;
}
.stat-label {
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.42);
  margin-top: 0.25rem;
}

/* =========================================================
   Common section frame
   ========================================================= */
section { scroll-margin-top: var(--nav-height); }
.section {
  position: relative;
  padding: 4.5rem 0;
}
@media (min-width: 768px) { .section { padding: 6rem 0; } }
@media (min-width: 1024px) { .section { padding: 7.5rem 0; } }

/* Two-tone alternation — matches Lovable prototype.
   section-light = paler off-white; section-tint = slightly darker gray. */
.section-light { background: hsl(210 20% 98.5%); }
.section-tint  { background: hsl(220 18% 95.5%); }
.section-dark  { background: linear-gradient(140deg, hsl(213, 55%, 14%) 0%, hsl(220, 60%, 8%) 100%); color: white; }

/* Subtle grid — barely-there architectural lines, not a screaming pattern.
   ~0.04 opacity at the densest point, fades to nothing at the edges. */
.section-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(hsl(213 25% 60% / 0.09) 1px, transparent 1px),
    linear-gradient(90deg, hsl(213 25% 60% / 0.09) 1px, transparent 1px);
  background-size: 80px 80px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 85%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, black 0%, transparent 85%);
}

/* =========================================================
   About
   ========================================================= */
.about-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) { .about-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

/* Push cards down on desktop so they align with the body copy, not the heading */
@media (min-width: 900px) {
  .about-cards { margin-top: 10rem; }
}

.about-copy p {
  color: hsl(var(--muted-fg));
  line-height: 1.75;
  margin-top: 1.25rem;
  font-size: 1rem;
}
.about-copy h2 { margin-top: 0.75rem; }

.about-cards { display: grid; gap: 1rem; }
.about-card {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 1rem;
  align-items: start;
  padding: 1.25rem 1.5rem;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.about-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 40px -20px rgba(20, 40, 80, 0.15);
}
.about-card .icon-tile {
  width: 44px; height: 44px;
  border-radius: 0.625rem;
  background: hsl(var(--accent) / 0.12);
  color: hsl(var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.about-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
}
.about-card p {
  font-size: 0.9rem;
  color: hsl(var(--muted-fg));
  line-height: 1.55;
}

/* =========================================================
   Services
   ========================================================= */
.services-head { text-align: center; margin-bottom: 3.5rem; }
.services-head .section-lead { margin: 1rem auto 0; }

.services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 640px) { .services-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
@media (min-width: 1024px) { .services-grid { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; } }

.service-card {
  padding: 2rem 1.75rem;
  background: white;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: hsl(var(--accent) / 0.4);
  box-shadow: 0 24px 50px -22px rgba(20, 50, 100, 0.18);
}
.service-card::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius);
  background: radial-gradient(circle at top right, hsl(var(--accent) / 0.06), transparent 60%);
  opacity: 0;
  transition: opacity 0.4s;
  pointer-events: none;
}
.service-card:hover::after { opacity: 1; }
.service-card .icon-tile {
  width: 48px; height: 48px;
  border-radius: 0.625rem;
  background: hsl(var(--accent) / 0.12);
  color: hsl(var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-card h3 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.service-card p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: hsl(var(--muted-fg));
}

/* =========================================================
   Brands strip — text-based name list (matches prototype)
   ========================================================= */
.brands-head { text-align: center; margin-bottom: 3.5rem; }
.brands-head .section-lead { margin: 1rem auto 0; }

.brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem 2rem;
  align-items: center;
  justify-items: center;
  max-width: 1080px;
  margin: 0 auto;
}
@media (min-width: 700px) { .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 2rem 2.5rem; } }
@media (min-width: 1024px) { .brands-grid { grid-template-columns: repeat(4, 1fr); gap: 2.5rem 3rem; } }

.brand-name {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1rem, 1.6vw, 1.25rem);
  letter-spacing: 0.14em;
  color: hsl(215 18% 65%);
  text-transform: uppercase;
  text-align: center;
  transition: color 0.3s ease, transform 0.3s ease;
  white-space: nowrap;
}
.brand-name:hover {
  color: hsl(var(--primary));
  transform: translateY(-1px);
}

/* =========================================================
   Success Stories
   ========================================================= */
.stories-head {
  display: flex;
  flex-wrap: wrap;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 3rem;
}
.stories-lead { text-align: right; }
.stories-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}
@media (min-width: 700px) { .stories-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .stories-grid { grid-template-columns: repeat(3, 1fr); gap: 2rem; } }

/* Mobile: horizontal swipe carousel (like testimonials) */
@media (max-width: 699px) {
  .stories-lead { text-align: left; }
  .stories-grid {
    display: flex;
    grid-template-columns: none;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    /* Bleed to the screen edges so cards can peek; offset with padding */
    margin-left: calc(var(--gutter) * -1);
    margin-right: calc(var(--gutter) * -1);
    padding: 0.5rem var(--gutter) 1.25rem;
    scroll-padding-left: var(--gutter);
    scrollbar-width: none;
  }
  .stories-grid::-webkit-scrollbar { display: none; }
  .stories-grid > .story-card {
    flex: 0 0 86%;
    max-width: 86%;
    scroll-snap-align: start;
  }
}

.story-card {
  background: white;
  border-radius: var(--radius);
  border: 1px solid hsl(var(--border));
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}
@media (hover: hover) and (pointer: fine) {
  .story-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 28px 60px -25px rgba(20, 50, 100, 0.22);
  }
}

.story-cover {
  position: relative;
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, hsl(210 50% 96%), hsl(200 50% 90%));
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.story-cover.cover-1 { background: linear-gradient(140deg, hsl(195 80% 92%) 0%, hsl(210 70% 86%) 100%); }
.story-cover.cover-2 { background: linear-gradient(140deg, hsl(210 25% 92%) 0%, hsl(210 18% 80%) 100%); }
.story-cover.cover-3 { background: linear-gradient(140deg, hsl(200 50% 94%) 0%, hsl(220 55% 88%) 100%); }

.story-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.story-cover.cover-2 .story-photo { object-position: 55% center; }

.story-num {
  position: relative;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: clamp(4.5rem, 12vw, 7.5rem);
  color: rgba(20, 50, 100, 0.16);
  letter-spacing: -0.04em;
  line-height: 1;
  z-index: 1;
}
.story-illu {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.story-body { padding: 1.5rem 1.5rem 1.75rem; flex: 1; display: flex; flex-direction: column; }
.story-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  margin-bottom: 0.75rem;
}
.story-title {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.35;
  color: hsl(var(--foreground));
  margin-bottom: 1rem;
  flex: 1;
}
.story-meta {
  font-size: 0.8125rem;
  color: hsl(var(--muted-fg));
}
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: hsl(var(--foreground));
  transition: color 0.2s;
}
.story-link:hover { color: hsl(var(--accent)); }
.story-link .icon { transition: transform 0.25s; }
.story-link:hover .icon { transform: translate(2px, -2px); }
.story-soon {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: hsl(var(--muted-fg));
}
.story-soon::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: hsl(var(--muted-fg) / 0.5);
}

/* =========================================================
   Testimonials (dark)
   ========================================================= */
/* legacy — kept for back-compat in case referenced elsewhere */
.tm-wrap {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.tm-mark {
  width: 52px; height: 52px;
  margin: 0 auto 2rem;
  border-radius: 0.75rem;
  background: hsl(var(--accent) / 0.14);
  color: hsl(var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tm-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.25rem, 2.4vw, 1.625rem);
  font-weight: 600;
  line-height: 1.45;
  color: rgba(255,255,255,0.94);
  letter-spacing: -0.01em;
}
.tm-author {
  margin-top: 2.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}
.tm-avatar {
  width: 44px; height: 44px;
  border-radius: 999px;
  background: hsl(var(--accent) / 0.18);
  color: hsl(var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.875rem;
  border: 1px solid hsl(var(--accent) / 0.3);
}
.tm-meta { text-align: left; }
.tm-name { font-weight: 700; color: white; font-size: 0.95rem; }
.tm-role { font-size: 0.8125rem; color: rgba(255,255,255,0.5); }

/* --- carousel --- */
#tm .tm-mark { display: inline-flex; margin: 0 auto 1.75rem; }
#tm .container { text-align: center; }

.tm-carousel {
  position: relative;
  overflow: hidden;
  max-width: 880px;
  margin: 0 auto;
}
.tm-carousel:focus-visible { outline: none; }

.tm-track {
  display: flex;
  align-items: stretch;
  transition: transform 0.55s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
  /* fallback: enable native scroll-snap on mobile when JS hasn't initialised */
}

.tm-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 0 0.5rem;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  user-select: text;
}
.tm-slide .tm-quote {
  font-family: var(--font-heading);
  font-size: clamp(1.125rem, 2.2vw, 1.625rem);
  font-weight: 600;
  line-height: 1.5;
  color: rgba(255,255,255,0.94);
  letter-spacing: -0.01em;
  margin: 0;
  max-width: 720px;
  text-wrap: pretty;
}
.tm-slide .tm-author {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
}

/* controls row: arrows + dots */
.tm-controls {
  margin-top: 2.5rem;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.4rem 0.5rem;
}
.tm-arrow {
  width: 38px; height: 38px;
  border-radius: 999px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.14);
  color: rgba(255,255,255,0.8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.tm-arrow:hover {
  background: hsl(var(--accent) / 0.18);
  color: hsl(var(--accent));
  border-color: hsl(var(--accent) / 0.45);
}
.tm-arrow:active { transform: scale(0.94); }

.tm-dots {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.tm-dot {
  width: 8px;
  height: 8px;
  padding: 0;
  border: none;
  border-radius: 999px;
  background: rgba(255,255,255,0.22);
  cursor: pointer;
  transition: background 0.25s, width 0.3s ease;
}
.tm-dot:hover { background: rgba(255,255,255,0.45); }
.tm-dot.is-active {
  background: hsl(var(--accent));
  width: 24px;
}

.tm-hint {
  display: none;
  margin-top: 1rem;
  font-size: 0.75rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  font-weight: 600;
}

/* On small screens, prefer native swipe via scroll-snap as a graceful fallback,
   and the JS layer keeps the transform-based motion smooth. Show the hint. */
@media (max-width: 640px) {
  .tm-slide { padding: 0 0.25rem; }
  .tm-slide .tm-author { margin-top: 1.5rem; flex-direction: column; gap: 0.625rem; text-align: center; }
  .tm-slide .tm-meta { text-align: center; }
  .tm-controls { margin-top: 2rem; gap: 0.75rem; }
  .tm-hint { display: block; }
}

/* =========================================================
   Contact
   ========================================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1fr 1.15fr; gap: 4.5rem; } }

.contact-info p { color: hsl(var(--muted-fg)); margin-top: 1.25rem; line-height: 1.7; }

.contact-channels { margin-top: 2.25rem; display: grid; gap: 0.75rem; }
.contact-row {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.9rem 1.125rem;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  font-size: 0.9rem;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
  max-width: 380px;
}
.contact-row:hover {
  border-color: hsl(var(--accent) / 0.4);
  transform: translateY(-1px);
  box-shadow: 0 12px 28px -14px rgba(20, 50, 100, 0.18);
}
.contact-row .icon-tile {
  width: 36px; height: 36px;
  border-radius: 0.5rem;
  background: hsl(var(--accent) / 0.12);
  color: hsl(var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Form */
.contact-form {
  background: white;
  padding: 1.75rem;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  box-shadow: 0 24px 60px -30px rgba(20, 50, 100, 0.18);
}
@media (min-width: 640px) { .contact-form { padding: 2.25rem; } }
.form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}
@media (min-width: 640px) { .form-row.two { grid-template-columns: 1fr 1fr; } }

.field { position: relative; }
.field input, .field textarea {
  width: 100%;
  padding: 0.95rem 1rem;
  background: hsl(210 25% 97%);
  border: 1px solid hsl(var(--input));
  border-radius: 0.625rem;
  font-size: 0.9375rem;
  color: hsl(var(--foreground));
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
}
.field textarea { resize: vertical; min-height: 130px; }
.field input:focus, .field textarea:focus {
  outline: none;
  background: white;
  border-color: hsl(var(--accent) / 0.6);
  box-shadow: 0 0 0 4px hsl(var(--accent) / 0.12);
}
.field input::placeholder, .field textarea::placeholder { color: hsl(var(--muted-fg) / 0.85); }

.btn-submit {
  width: 100%;
  padding: 1rem;
  font-size: 0.9375rem;
  font-weight: 600;
  background: hsl(var(--accent));
  color: hsl(var(--accent-fg));
  border-radius: 0.625rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  box-shadow: 0 14px 32px -10px hsl(var(--accent) / 0.45);
  transition: filter 0.2s, transform 0.2s, box-shadow 0.2s;
  margin-top: 0.5rem;
}
.btn-submit:hover { filter: brightness(1.08); transform: translateY(-1px); }
.btn-submit .icon { transition: transform 0.25s; }
.btn-submit:hover .icon { transform: translate(3px, -3px); }

.form-status {
  margin-top: 1rem;
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
  border-radius: 0.5rem;
  display: none;
}
.form-status.ok {
  display: block;
  background: hsl(140 60% 96%);
  color: hsl(150 60% 22%);
  border: 1px solid hsl(140 50% 80%);
}

/* =========================================================
   Footer
   ========================================================= */
.footer {
  padding: 3rem 0 2rem;
  border-top: 1px solid hsl(var(--border));
  background: hsl(var(--background));
}
.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}
.footer-logo img { height: 38px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem;
  font-size: 0.875rem;
  color: hsl(var(--muted-fg));
}
.footer-links a { transition: color 0.2s; }
.footer-links a:hover { color: hsl(var(--foreground)); }
.footer-copy {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid hsl(var(--border));
  text-align: center;
  font-size: 0.8125rem;
  color: hsl(var(--muted-fg));
}

/* Mobile footer: stack & center to match design */
@media (max-width: 640px) {
  .footer { padding: 2.75rem 0 2rem; }
  .footer-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1.25rem;
  }
  .footer-logo img { height: 34px; }
  .footer-links {
    flex-direction: column;
    gap: 0.875rem;
    align-items: center;
  }
  .footer-links a { font-size: 0.95rem; }
  .footer-links a[href^="mailto:"] { color: hsl(var(--foreground)); font-weight: 500; }
  .footer-links a[href*="linkedin"] { color: hsl(var(--accent)); font-weight: 600; }
  .footer-copy { margin-top: 1.5rem; padding-top: 1.5rem; font-size: 0.8rem; }
}

/* =========================================================
   Helpers / focus-visible
   ========================================================= */
:focus-visible {
  outline: 2px solid hsl(var(--accent));
  outline-offset: 2px;
  border-radius: 4px;
}

/* =========================================================
   Case study pages
   ========================================================= */
.case-hero {
  position: relative;
  background: var(--hero-gradient);
  color: white;
  padding: calc(var(--nav-height) + 3.5rem) 0 4rem;
  overflow: hidden;
}
@media (min-width: 768px) { .case-hero { padding: calc(var(--nav-height) + 5rem) 0 5.5rem; } }
.case-hero .hero-grid,
.case-hero .hero-glow { z-index: 0; }
.case-hero > .container { position: relative; z-index: 1; }

/* Case-study hero grid: refined — barely there, localized behind the headline.
   Drops opacity from 0.05 → 0.025, widens cells 90 → 120px,
   tightens mask to a small region under the eyebrow + headline. */
.case-hero .hero-grid {
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 120px 120px;
  mask-image: radial-gradient(ellipse 38% 45% at 42% 48%, black 0%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 38% 45% at 42% 48%, black 0%, transparent 75%);
}

.back-link {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 1.25rem;
  transition: color 0.2s, transform 0.2s;
}
.back-link:hover { color: white; transform: translateX(-2px); }

.case-tag {
  display: inline-block;
  padding: 0.4rem 1rem;
  border: 1px solid hsl(var(--accent) / 0.4);
  border-radius: 999px;
  color: hsl(var(--accent));
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.case-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(2rem, 5vw, 3.5rem);
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: white;
  max-width: 22ch;
  margin-bottom: 1.5rem;
}
.case-sub {
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  color: rgba(255,255,255,0.65);
  line-height: 1.65;
  max-width: 38rem;
}

/* Stats strip */
.case-stats {
  background: hsl(var(--background));
  padding: 2.5rem 0;
  border-bottom: 1px solid hsl(var(--border));
}
.case-stats-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.75rem;
}
@media (min-width: 640px) { .case-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 1rem; } }
@media (min-width: 1024px) { .case-stats-grid { grid-template-columns: repeat(4, 1fr); gap: 1.25rem; } }

.case-stat {
  padding: 1.5rem 1.5rem 1.5rem;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  transition: transform 0.3s, box-shadow 0.3s;
}
.case-stat:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -20px rgba(20, 40, 80, 0.18);
}
.case-stat .icon-tile {
  width: 38px; height: 38px;
  border-radius: 0.5rem;
  background: hsl(var(--accent) / 0.12);
  color: hsl(var(--accent));
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.875rem;
}
.case-stat .stat-num {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  color: hsl(var(--foreground));
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin-bottom: 0.25rem;
}
.case-stat .stat-cap {
  font-size: 0.8rem;
  color: hsl(var(--muted-fg));
  line-height: 1.4;
}

/* Two-column case body */
.case-body { padding: 4.5rem 0; }
@media (min-width: 768px) { .case-body { padding: 6rem 0; } }

.case-section { padding: 2.25rem 0; }
.case-section:first-child { padding-top: 0; }

.case-section .case-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  margin-bottom: 1rem;
}
.case-section .case-eyebrow .icon-tile {
  width: 28px; height: 28px;
  border-radius: 0.4rem;
  background: hsl(var(--accent) / 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.case-section h3 {
  font-size: clamp(1.375rem, 2.4vw, 1.75rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  margin-bottom: 1.125rem;
  max-width: 28ch;
}
.case-section p {
  font-size: 1rem;
  line-height: 1.75;
  color: hsl(var(--muted-fg));
}
.case-section p + p { margin-top: 1rem; }
.case-section strong { color: hsl(var(--foreground)); font-weight: 600; }

/* Strategy two-card grid */
.case-strategy-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-top: 1.25rem;
}
@media (min-width: 640px) { .case-strategy-grid { grid-template-columns: repeat(2, 1fr); gap: 1.25rem; } }
.case-strategy-card {
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  padding: 1.5rem;
  transition: border-color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.case-strategy-card:hover {
  border-color: hsl(var(--accent) / 0.45);
  transform: translateY(-2px);
  box-shadow: 0 18px 36px -20px rgba(20, 40, 80, 0.18);
}
.case-strategy-card .pill {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: hsl(var(--accent));
  margin-bottom: 0.5rem;
}
.case-strategy-card h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.case-strategy-card p { font-size: 0.9rem; line-height: 1.6; color: hsl(var(--muted-fg)); }

/* Results list */
.case-results-list {
  margin-top: 1.25rem;
  display: grid;
  gap: 0.75rem;
}
.case-results-list li {
  list-style: none;
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 0.875rem;
  align-items: start;
  padding: 1.125rem 1.25rem;
  background: hsl(var(--muted) / 0.45);
  border-left: 3px solid hsl(var(--accent) / 0.55);
  border-radius: 0 0.5rem 0.5rem 0;
}
.case-results-list li::before {
  content: '';
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: hsl(var(--accent));
  margin-top: 0.55rem;
  margin-left: 0.3rem;
  box-shadow: 0 0 0 4px hsl(var(--accent) / 0.16);
}
.case-results-list li p { color: hsl(var(--foreground)); font-size: 0.95rem; line-height: 1.55; }

/* Media on right (side-by-side layout when wide) */
.case-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  align-items: start;
}
@media (min-width: 960px) { .case-grid { grid-template-columns: 1fr 1fr; gap: 4rem; } }

.case-media {
  position: sticky;
  top: calc(var(--nav-height) + 1.5rem);
}
@media (max-width: 959px) { .case-media { position: static; } }

.case-media-card {
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 24px 60px -30px rgba(20, 40, 80, 0.22);
}
.case-media-card img { width: 100%; height: auto; display: block; }
.case-media-card.bare { background: transparent; border: 0; box-shadow: none; }
.case-media-card.bare img { border-radius: var(--radius); }
.case-media-caption {
  font-size: 0.78rem;
  color: hsl(var(--muted-fg));
  margin-top: 0.5rem;
  font-style: italic;
}

/* YouTube embed */
.case-video {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  border-radius: var(--radius);
  margin-top: 1.5rem;
  background: #000;
  box-shadow: 0 18px 40px -20px rgba(20, 40, 80, 0.25);
}
.case-video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Next CTA card */
.case-next {
  margin-top: 4rem;
  padding: 2.5rem 2rem;
  background: white;
  border: 1px solid hsl(var(--border));
  border-radius: var(--radius);
  text-align: center;
}
@media (min-width: 768px) { .case-next { padding: 3.5rem 2.5rem; } }
.case-next h3 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  font-weight: 700;
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}
.case-next p {
  color: hsl(var(--muted-fg));
  max-width: 36rem;
  margin: 0 auto 1.75rem;
  line-height: 1.65;
}
.case-next .actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
}
.btn-dark {
  background: hsl(var(--primary));
  color: white;
  border: 1px solid hsl(var(--primary));
}
.btn-dark:hover { background: hsl(213 55% 24%); border-color: hsl(213 55% 24%); }
.btn-ghost {
  background: transparent;
  color: hsl(var(--foreground));
  border: 1px solid hsl(var(--border));
}
.btn-ghost:hover { border-color: hsl(var(--accent) / 0.6); color: hsl(var(--accent-fg)); background: hsl(var(--accent) / 0.05); }
