/* ============================================================
   GUZÚ design — Editorial Architecture + Subtle iOS Glass
   Inspired by branding.sientecinco.com with Light/Dark & iOS polish
   ============================================================ */

:root {
  /* Light Mode — Unified iOS 27 Liquid Glass */
  --bg-base: #eef1f7;
  --bg-soft: rgba(255, 255, 255, 0.45);
  --bg-card: rgba(255, 255, 255, 0.56);
  --bg-surface: rgba(255, 255, 255, 0.66);
  --bg-subcard: rgba(255, 255, 255, 0.48);

  --text-primary: #14151a;
  --text-secondary: #4e515c;
  --text-muted: #787c8a;

  /* Signature Mint / Emerald Accent (#00cc99) */
  --yellow: #00cc99;
  --yellow-hover: #00b588;
  --yellow-ink: #05261d;

  --border: rgba(255, 255, 255, 0.78);
  --border-subtle: rgba(20, 22, 30, 0.08);
  --border-strong: rgba(20, 22, 30, 0.14);
  --glass-border: rgba(255, 255, 255, 0.84);
  --shadow-card:
    0 16px 40px -14px rgba(18, 26, 46, 0.11),
    0 2px 8px -2px rgba(18, 26, 46, 0.05),
    inset 0 1px 0 rgba(255, 255, 255, 0.92),
    inset 0 -1px 0 rgba(255, 255, 255, 0.35);
  --shadow-hover:
    0 24px 54px -14px rgba(18, 26, 46, 0.16),
    0 4px 12px -2px rgba(18, 26, 46, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 1);

  --pill-bg: rgba(255, 255, 255, 0.52);
  --input-bg: rgba(255, 255, 255, 0.64);
  --logo-filter: none;

  /* Ambient Liquid Mesh Orbs (Light) */
  --orb-1: rgba(0, 204, 153, 0.24);
  --orb-2: rgba(140, 186, 255, 0.30);
  --orb-3: rgba(160, 232, 214, 0.28);

  --font-serif: -apple-system, BlinkMacSystemFont, "Plus Jakarta Sans", "Inter", sans-serif;
  --font-sans: -apple-system, BlinkMacSystemFont, "Inter", sans-serif;
  --font-mono: "PT Mono", ui-monospace, SFMono-Regular, monospace;

  --radius-sm: 16px;
  --radius-md: 28px;
  --radius-pill: 999px;
  --spring: cubic-bezier(0.22, 1, 0.36, 1);
}

[data-theme="dark"] {
  /* Dark Mode — Unified Obsidian Liquid Glass */
  --bg-base: #0a0b10;
  --bg-soft: rgba(255, 255, 255, 0.05);
  --bg-card: rgba(24, 26, 36, 0.54);
  --bg-surface: rgba(24, 26, 36, 0.68);
  --bg-subcard: rgba(255, 255, 255, 0.05);

  --text-primary: #f5f6fa;
  --text-secondary: #a5a9b8;
  --text-muted: #767a8a;

  --border: rgba(255, 255, 255, 0.14);
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.18);
  --glass-border: rgba(255, 255, 255, 0.18);
  --shadow-card:
    0 20px 48px -14px rgba(0, 0, 0, 0.62),
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    inset 0 -1px 0 rgba(255, 255, 255, 0.05);
  --shadow-hover:
    0 28px 60px -14px rgba(0, 0, 0, 0.78),
    inset 0 1px 0 rgba(255, 255, 255, 0.28);

  --pill-bg: rgba(255, 255, 255, 0.08);
  --input-bg: rgba(16, 18, 26, 0.62);
  --logo-filter: brightness(0) invert(0.95);

  /* Ambient Liquid Mesh Orbs (Dark) */
  --orb-1: rgba(0, 204, 153, 0.18);
  --orb-2: rgba(74, 130, 255, 0.20);
  --orb-3: rgba(0, 180, 160, 0.15);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-base);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  transition: background-color 0.4s var(--spring), color 0.3s ease;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.18;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; border: none; background: none; }

.container {
  width: min(1140px, 100% - 2.5rem);
  margin-inline: auto;
}

/* Ambient Liquid Mesh Background */
.ambient-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(95px);
  opacity: 0.95;
  transition: background 0.6s ease;
  animation: orbDrift 20s ease-in-out infinite alternate;
}

.orb-1 {
  width: 50vw;
  height: 50vw;
  max-width: 680px;
  max-height: 680px;
  top: -12%;
  left: -8%;
  background: var(--orb-1);
}

.orb-2 {
  width: 48vw;
  height: 48vw;
  max-width: 640px;
  max-height: 640px;
  top: 28%;
  right: -12%;
  background: var(--orb-2);
  animation-delay: -7s;
}

.orb-3 {
  width: 44vw;
  height: 44vw;
  max-width: 600px;
  max-height: 600px;
  bottom: -14%;
  left: 18%;
  background: var(--orb-3);
  animation-delay: -13s;
}

@keyframes orbDrift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(36px, 28px) scale(1.08); }
}

/* Unified Liquid Glass Primitives */
.glass-surface {
  background: var(--bg-surface);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
}

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(28px) saturate(185%);
  -webkit-backdrop-filter: blur(28px) saturate(185%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  border-radius: var(--radius-md);
  transition: transform 0.4s var(--spring), box-shadow 0.4s var(--spring), border-color 0.3s ease, background-color 0.3s ease;
}

.glass-subcard {
  background: var(--bg-subcard);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.35);
}

/* Unified Liquid Pill Buttons */
.btn-yellow,
.btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-sans);
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  border-radius: var(--radius-pill);
  transition: transform 0.3s var(--spring), background-color 0.25s ease, box-shadow 0.3s ease;
}

.btn-yellow {
  background: var(--yellow);
  color: var(--yellow-ink);
  box-shadow:
    0 10px 24px -8px rgba(0, 204, 153, 0.52),
    inset 0 1px 0 rgba(255, 255, 255, 0.55);
}

.btn-yellow:hover {
  background: var(--yellow-hover);
  transform: translateY(-2px) scale(1.015);
}

.btn-dark {
  background: var(--text-primary);
  color: var(--bg-base);
}

.btn-dark:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.btn-sm { padding: 0.6rem 1.15rem; }
.btn-lg { padding: 0.95rem 1.75rem; }

.eyebrow-mono {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--glass-border);
  margin-bottom: 0.9rem;
}

.yellow-text { color: var(--yellow); }
.light-text { color: #ffffff; }

/* Subtle Spacer Connector (replaces rigid print hairline) */
.hairline-connector {
  width: 1px;
  height: 28px;
  background: transparent;
  margin: 0 auto;
}

/* ============================================================
   FLOATING EDITORIAL GLASS NAVBAR
   ============================================================ */
.nav-wrapper {
  position: fixed;
  top: 0.9rem;
  left: 0;
  right: 0;
  z-index: 100;
  padding-inline: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
}

.nav-bar {
  width: min(1120px, 100%);
  padding: 0.55rem 0.8rem 0.55rem 1.25rem;
  border-radius: var(--radius-pill);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: rgba(255, 255, 255, 0.92);
  border-color: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-card);
}

[data-theme="dark"] .nav-bar {
  background: rgba(22, 24, 34, 0.88);
  border-color: rgba(255, 255, 255, 0.16);
}

.brand-link { display: flex; align-items: center; }

.brand-logo {
  height: 52px;
  width: auto;
  display: block;
  filter: var(--logo-filter);
  transition: filter 0.3s ease, transform 0.3s var(--spring);
}

.brand-link:hover .brand-logo { transform: scale(1.03); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-item {
  position: relative;
  padding: 0.45rem 0.75rem;
  font-size: 0.86rem;
  font-weight: 500;
  white-space: nowrap;
  color: var(--text-secondary);
  transition: color 0.25s ease;
}

.nav-item::after {
  content: "";
  position: absolute;
  left: 0.85rem;
  right: 0.85rem;
  bottom: 0.15rem;
  height: 2px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--spring);
}

.nav-item:hover,
.nav-item.active {
  color: var(--text-primary);
}

.nav-item:hover::after,
.nav-item.active::after {
  transform: scaleX(1);
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.ctrl-pill {
  height: 36px;
  padding: 0 0.7rem;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  color: var(--text-secondary);
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s var(--spring);
}

.ctrl-pill:hover {
  color: var(--text-primary);
  transform: scale(1.04);
}

.lang-opt.active {
  color: var(--text-primary);
  font-weight: 700;
  text-decoration: underline;
  text-decoration-color: var(--yellow);
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
}

.lang-sep { opacity: 0.4; }

.theme-toggle {
  width: 36px;
  padding: 0;
}

.theme-toggle svg { width: 16px; height: 16px; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"] .icon-sun { display: none; }

.nav-cta { border-radius: var(--radius-pill); white-space: nowrap; }

.mobile-menu-btn {
  display: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--yellow-ink);
  align-items: center;
  justify-content: center;
}

.mobile-menu-btn svg { width: 18px; height: 18px; }

.mobile-menu {
  width: min(1120px, 100%);
  border-radius: var(--radius-md);
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  box-shadow: var(--shadow-card);
}

.mobile-menu[hidden] { display: none; }

.mobile-link {
  padding: 0.8rem 0.9rem;
  border-bottom: 1px solid var(--border);
  font-family: var(--font-serif);
  font-size: 1.05rem;
}

.mobile-cta { margin-top: 0.7rem; padding: 0.85rem; }

/* ============================================================
   FULL-BLEED EDITORIAL HERO SLIDER
   ============================================================ */
.hero-slider {
  position: relative;
  height: clamp(540px, 76vh, 680px);
  background: #141416;
  overflow: hidden;
}

.hero-slides {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.85s var(--spring);
  display: flex;
  align-items: center;
}

.hero-slide.active {
  opacity: 1;
  pointer-events: auto;
  z-index: 2;
}

.hero-bg-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.04);
  transition: transform 6s ease-out;
}

.hero-slide.active .hero-bg-img {
  transform: scale(1);
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(95deg, rgba(14, 14, 17, 0.86) 0%, rgba(14, 14, 17, 0.56) 55%, rgba(14, 14, 17, 0.28) 100%);
}

.hero-inner {
  position: relative;
  z-index: 3;
  padding-top: 3rem;
  padding-bottom: 3rem;
  max-width: 720px;
  margin-left: max(1.25rem, calc((100% - 1140px) / 2));
}

.hero-eyebrow-bar {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(20, 22, 30, 0.52);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: var(--radius-pill);
  padding: 0.45rem 1.05rem 0.45rem 0.85rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: #f5f5f7;
  margin-bottom: 1.35rem;
}

.yellow-dot-edge {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

.hero-headline {
  font-family: var(--font-serif);
  font-style: normal;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(2.15rem, 4.5vw, 3.55rem);
  color: #ffffff;
  margin-bottom: 1.65rem;
  line-height: 1.12;
}

.hero-ghost-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  color: #ffffff;
  opacity: 0.92;
  transition: opacity 0.25s ease, gap 0.3s var(--spring);
}

.hero-ghost-link:hover {
  opacity: 1;
  gap: 1rem;
}

.plus-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.6);
  display: inline-grid;
  place-items: center;
  font-size: 1rem;
  line-height: 1;
  transition: background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}

.hero-ghost-link:hover .plus-circle {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--yellow-ink);
}

.hero-controls-wrap {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4.5rem;
  z-index: 5;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}

.glass-dark-pill {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 1rem;
  padding: 0.45rem 0.65rem 0.45rem 1.05rem;
  border-radius: var(--radius-pill);
  background: rgba(18, 18, 22, 0.58);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.mono-counter {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  letter-spacing: 0.12em;
}

.dark-counter { color: var(--text-secondary); }

.arrow-group {
  display: inline-flex;
  gap: 0.35rem;
}

.arrow-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: #ffffff;
  display: grid;
  place-items: center;
  transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}

.arrow-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--yellow-ink);
}

.dark-arrow {
  border-color: var(--border-strong);
  color: var(--text-primary);
}

/* ============================================================
   OVERLAPPING EDITORIAL INTRO CARD (mt-n5)
   ============================================================ */
.intro-overlap-wrap {
  position: relative;
  z-index: 10;
  margin-top: -3.2rem;
  margin-bottom: 2.5rem;
}

.intro-card {
  padding: 2.5rem 2.75rem;
  display: grid;
  grid-template-columns: 0.95fr 1.15fr;
  gap: 2.5rem;
  align-items: center;
}

.availability-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 4px rgba(34, 197, 94, 0.2);
}

.intro-title {
  font-size: clamp(1.75rem, 3vw, 2.35rem);
}

.intro-right p {
  font-size: 0.98rem;
  color: var(--text-secondary);
  margin-bottom: 0.9rem;
}

.intro-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.25rem;
  margin-top: 1.35rem;
}

.link-mono {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  color: var(--text-primary);
  border-bottom: 1px solid var(--border-strong);
  padding-bottom: 0.2rem;
  transition: border-color 0.25s ease;
}

.link-mono:hover {
  border-color: var(--yellow);
}

/* ============================================================
   SECTIONS COMMON
   ============================================================ */
.section {
  padding-block: 3.75rem;
  scroll-margin-top: 5.5rem;
}

.section-header {
  max-width: 680px;
  margin-bottom: 2.75rem;
}

.section-header.centered {
  text-align: center;
  margin-inline: auto;
}

.section-title {
  font-size: clamp(1.85rem, 3.6vw, 2.65rem);
  margin-bottom: 0.85rem;
}

.section-desc {
  font-size: 1rem;
  color: var(--text-secondary);
}

/* ============================================================
   DESAFÍOS DE MARCA (01 · 03 Carousel)
   ============================================================ */
.challenges-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.35rem;
}

.challenge-card {
  padding: 2rem 1.75rem;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.challenge-card.is-highlighted {
  border-color: var(--yellow);
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

.line-art-badge {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: 1.5px solid var(--text-primary);
  display: grid;
  place-items: center;
  margin-bottom: 0.5rem;
}

.line-art-badge::after {
  content: "";
  position: absolute;
  top: -3px;
  right: -3px;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: var(--yellow);
}

.line-art-badge svg {
  width: 24px;
  height: 24px;
  stroke: var(--text-primary);
}

.challenge-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  color: var(--text-muted);
}

.challenge-card h3 {
  font-size: 1.25rem;
}

.challenge-card p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

.carousel-footer {
  margin-top: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
}

/* ============================================================
   QUÉ HACEMOS — SERVICES (Siente Cinco 2-Column Editorial Grid)
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.35rem;
}

.service-card {
  padding: 1.5rem;
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 1.4rem;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}

.service-illus {
  position: relative;
  width: 112px;
  height: 112px;
  border-radius: 14px;
  background: var(--bg-soft);
  border: 1px solid var(--border);
  display: grid;
  place-items: center;
  overflow: hidden;
}

.service-illus::before {
  content: "";
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--yellow);
  opacity: 0.82;
  top: 16px;
  right: 16px;
}

.service-illus svg {
  position: relative;
  z-index: 2;
  width: 42px;
  height: 42px;
  stroke: var(--text-primary);
}

.service-body {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.service-cat {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.service-body h3 {
  font-size: 1.24rem;
}

.service-body p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  margin-bottom: 0.55rem;
}

.service-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding-top: 0.65rem;
  border-top: 1px solid var(--border);
}

.detail-plus-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
}

.detail-plus-btn .mini-plus {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-grid;
  place-items: center;
  font-size: 0.95rem;
  color: var(--text-primary);
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.detail-plus-btn:hover { color: var(--text-primary); }
.detail-plus-btn:hover .mini-plus {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--yellow-ink);
}

.btn-solicitar {
  padding: 0.48rem 0.95rem;
  font-size: 0.72rem;
}

/* ============================================================
   CONFIDENTIAL NDA CASES (2x2 Editorial Grid + Filter)
   ============================================================ */
.segmented-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 2.25rem;
}

.segmented-control {
  display: inline-flex;
  padding: 0.3rem;
  border-radius: var(--radius-pill);
  gap: 0.25rem;
  flex-wrap: wrap;
}

.seg-btn {
  padding: 0.48rem 1.15rem;
  border-radius: var(--radius-pill);
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-secondary);
  transition: background-color 0.25s ease, color 0.25s ease;
}

.seg-btn.active {
  background: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 700;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}

.case-card {
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.case-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.case-visual {
  position: relative;
  height: 205px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-art {
  position: absolute;
  inset: -14px;
  filter: blur(12px) contrast(1.05);
  transform: scale(1.06);
  transition: transform 0.6s var(--spring);
}

.case-card:hover .case-art { transform: scale(1.14); }

.art-print-1 { background: linear-gradient(135deg, #27272b 0%, #524d3f 55%, #f4d348 100%); }
.art-print-2 { background: linear-gradient(135deg, #1d2421 0%, #3d5247 60%, #d8cfc0 100%); }
.art-digital-1 { background: linear-gradient(135deg, #1c1d28 0%, #434766 58%, #f4d348 100%); }
.art-digital-2 { background: linear-gradient(135deg, #221f26 0%, #594b5e 55%, #e5d8c5 100%); }
.art-web-1 { background: linear-gradient(135deg, #121822 0%, #2b3f5c 55%, #e2e8f0 100%); }
.art-web-2 { background: linear-gradient(135deg, #181a1c 0%, #3a4046 58%, #f4d348 100%); }

.nda-veil {
  position: relative;
  z-index: 2;
  padding: 0.45rem 0.95rem;
  border-radius: var(--radius-pill);
  background: rgba(16, 16, 19, 0.64);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
}

.case-content {
  padding: 1.55rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  flex: 1;
}

/* Siente Cinco yellow horizontal dash above title */
.yellow-dash {
  width: 28px;
  height: 3px;
  background: var(--yellow);
  margin-bottom: 0.25rem;
}

.case-meta-line {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.case-content h3 { font-size: 1.28rem; }

.case-content p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  flex: 1;
}

.case-link-row {
  margin-top: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  color: var(--text-primary);
}

.nda-bar {
  padding: 2rem 2.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.nda-left h3 {
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
}

.nda-left p {
  font-size: 0.94rem;
  color: var(--text-secondary);
  max-width: 620px;
}

/* ============================================================
   UNIFIED LIQUID GLASS PROCESS SECTION
   ============================================================ */
.process-shell {
  padding: 2.5rem;
}

.process-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2.25rem;
  padding-bottom: 1.75rem;
  border-bottom: 1px solid var(--border-subtle);
}

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

.process-step {
  padding: 1.5rem;
  transition: transform 0.35s var(--spring), border-color 0.25s ease;
}

.process-step:hover {
  transform: translateY(-4px);
  border-color: var(--yellow);
}

.step-mono {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: var(--yellow);
  color: var(--yellow-ink);
  margin-bottom: 0.95rem;
}

.process-step h3 {
  font-size: 1.12rem;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.9rem;
  color: var(--text-secondary);
}

/* ============================================================
   FAQ ACCORDION
   ============================================================ */
.faq-list {
  max-width: 820px;
  margin-inline: auto;
  padding: 0.4rem 1.75rem;
}

.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }

.faq-question {
  width: 100%;
  padding: 1.3rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.06rem;
  color: var(--text-primary);
}

.faq-chevron {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  transition: transform 0.35s var(--spring), background-color 0.25s ease;
}

.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--yellow-ink);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--spring), padding-bottom 0.35s var(--spring);
}

.faq-item.open .faq-answer {
  max-height: 240px;
  padding-bottom: 1.3rem;
}

.faq-answer p {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* ============================================================
   CONTACT SECTION
   ============================================================ */
.contact-grid {
  display: grid;
  grid-template-columns: 0.92fr 1.2fr;
  gap: 2.25rem;
  align-items: start;
}

.contact-channels {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-block: 1.75rem;
}

.channel-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-radius: var(--radius-sm);
}

.channel-text { display: flex; flex-direction: column; min-width: 0; }

.channel-label {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.channel-value {
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--text-primary);
  overflow: hidden;
  text-overflow: ellipsis;
}

.copy-btn {
  padding: 0.38rem 0.8rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-primary);
  white-space: nowrap;
  transition: background-color 0.25s ease, border-color 0.25s ease;
}

.copy-btn:hover {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--yellow-ink);
}

.response-note {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.86rem;
  color: var(--text-secondary);
}

.contact-form { padding: 2.2rem; }
.hp-field { position: absolute; left: -9999px; opacity: 0; pointer-events: none; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
  margin-bottom: 1.15rem;
}

.field label {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  color: var(--text-secondary);
}

.field input,
.field textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: var(--input-bg);
  color: var(--text-primary);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--yellow);
  box-shadow: 0 0 0 3px rgba(0, 204, 153, 0.25);
}

.field textarea { resize: vertical; min-height: 112px; }

.chip-group { display: flex; flex-wrap: wrap; gap: 0.45rem; }

.chip {
  padding: 0.48rem 0.9rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--border-strong);
  background: var(--pill-bg);
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: all 0.25s var(--spring);
}

.chip:hover { color: var(--text-primary); }

.chip.active {
  background: var(--yellow);
  border-color: var(--yellow);
  color: var(--yellow-ink);
  font-weight: 600;
}

.submit-btn { width: 100%; }

.btn-spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(20, 20, 22, 0.3);
  border-top-color: #141416;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}

.submit-btn.loading .btn-spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

.form-feedback {
  margin-top: 0.85rem;
  font-size: 0.9rem;
  font-weight: 500;
  min-height: 1.4em;
  text-align: center;
}

.form-feedback.success { color: #16a34a; }
.form-feedback.error { color: #dc2626; }
[data-theme="dark"] .form-feedback.success { color: #4ade80; }
[data-theme="dark"] .form-feedback.error { color: #f87171; }

/* ============================================================
   UNIFIED LIQUID GLASS FOOTER
   ============================================================ */
.footer {
  padding-top: 1.5rem;
  padding-bottom: 3rem;
}

.footer-shell {
  padding: 2.5rem 2.25rem 1.75rem;
}

.footer-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 2rem;
}

.footer-logo { height: 68px; }

.footer-tagline {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
}

.footer-socials { display: flex; gap: 0.6rem; }

.social-pill {
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  border: 1px solid var(--glass-border);
  background: var(--pill-bg);
  font-family: var(--font-mono);
  font-size: 0.74rem;
}

.footer-utility {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-block: 1.4rem;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.footer-bottom {
  padding-top: 1.4rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ============================================================
   FLOATING WHATSAPP BUTTON (Bottom-Right Corner)
   ============================================================ */
.wa-float {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  z-index: 95;
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
}

.wa-tooltip {
  padding: 0.5rem 0.95rem;
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  box-shadow: var(--shadow-card);
  opacity: 0;
  transform: translateX(8px);
  pointer-events: none;
  transition: opacity 0.3s var(--spring), transform 0.3s var(--spring);
}

.wa-float:hover .wa-tooltip { opacity: 1; transform: translateX(0); }

.wa-circle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #ffffff;
  display: grid;
  place-items: center;
  box-shadow: 0 12px 26px -6px rgba(37, 211, 102, 0.55);
  transition: transform 0.35s var(--spring), box-shadow 0.35s var(--spring);
}

.wa-circle svg { width: 27px; height: 27px; }
.wa-float:hover .wa-circle { transform: scale(1.08) translateY(-2px); }

/* ============================================================
   iOS SHEET MODAL
   ============================================================ */
.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(12, 12, 16, 0.55);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.sheet-backdrop[hidden] { display: none; }

.sheet-panel {
  position: relative;
  width: min(560px, 100%);
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  animation: sheetIn 0.35s var(--spring);
}

@keyframes sheetIn {
  from { opacity: 0; transform: translateY(20px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

.sheet-handle {
  width: 40px;
  height: 4px;
  border-radius: 99px;
  background: var(--text-muted);
  opacity: 0.35;
  margin: 0 auto 1.25rem;
}

.sheet-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: var(--pill-bg);
  display: grid;
  place-items: center;
  font-size: 0.9rem;
}

.sheet-badge-row {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.6rem;
}

.sheet-badge-row .eyebrow-mono { margin-bottom: 0; }

.nda-pill {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  padding: 0.22rem 0.6rem;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  color: var(--text-secondary);
}

.nda-pill[hidden] { display: none; }

.sheet-title { font-size: 1.5rem; margin-bottom: 0.25rem; }
.sheet-sector { font-size: 0.88rem; color: var(--text-muted); margin-bottom: 1.35rem; }
.sheet-section { margin-bottom: 1.1rem; }

.sheet-section h4 {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.sheet-section p { font-size: 0.94rem; color: var(--text-secondary); }

.deliverable-tags { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.deliverable-tags span {
  font-size: 0.82rem;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  background: var(--pill-bg);
  border: 1px solid var(--border);
}

.sheet-footer { margin-top: 1.6rem; }
.sheet-footer .btn-yellow { width: 100%; }

/* Scroll Progress Bar */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 2.5px;
  width: var(--scroll-pct, 0%);
  background: var(--yellow);
  z-index: 150;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* iOS Dynamic Pill Toast */
.ios-toast {
  position: fixed;
  top: 5.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  z-index: 250;
  padding: 0.6rem 1.15rem;
  border-radius: var(--radius-pill);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-primary);
  box-shadow: var(--shadow-hover);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--spring), transform 0.35s var(--spring);
}

.ios-toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.ios-toast[hidden] { display: none; }

.toast-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--yellow);
  flex-shrink: 0;
}

/* Hero Slider iOS Story Progress Bars */
.hero-bars {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.hero-bar {
  width: 26px;
  height: 3px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.25);
  overflow: hidden;
  padding: 0;
  position: relative;
}

.hero-bar span {
  display: block;
  height: 100%;
  width: 0%;
  background: var(--yellow);
  border-radius: 99px;
}

.hero-bar.done span { width: 100%; }
.hero-bar.active span {
  animation: heroBarFill 6.5s linear forwards;
}

@keyframes heroBarFill {
  from { width: 0%; }
  to { width: 100%; }
}

/* Architectural Abstract Mockups inside NDA Case Cards */
.case-visual {
  position: relative;
  height: 215px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #17171a;
}

.mockup-scene {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.5rem;
  transition: transform 0.6s var(--spring);
}

.case-card:hover .mockup-scene {
  transform: scale(1.05);
}

.mockup-scene::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, rgba(20, 20, 24, 0.08) 0%, rgba(16, 16, 20, 0.45) 100%);
  pointer-events: none;
}

/* 1. Packaging Mockup */
.mk-pack {
  background: linear-gradient(145deg, #232327, #151518);
}
.mk-pack-box {
  position: relative;
  width: 118px;
  height: 126px;
  border-radius: 10px;
  background: linear-gradient(160deg, #323238, #1d1d21);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.45);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 14px;
}
.mk-pack-seal {
  width: 34px;
  height: 6px;
  border-radius: 99px;
  background: var(--yellow);
}
.mk-pack-lines span {
  display: block;
  height: 5px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.22);
  margin-top: 6px;
}
.mk-pack-lines span:last-child { width: 60%; }
.mk-pack-card {
  position: absolute;
  right: -28px;
  bottom: 14px;
  width: 56px;
  height: 76px;
  border-radius: 8px;
  background: #f4f2ec;
  border: 1px solid rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.35);
  transform: rotate(7deg);
}

/* 2. Editorial Spread Mockup */
.mk-editorial {
  background: linear-gradient(145deg, #252826, #161817);
}
.mk-spread {
  width: 210px;
  height: 132px;
  border-radius: 8px;
  background: #f5f3ee;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.42);
  display: grid;
  grid-template-columns: 1fr 1fr;
  overflow: hidden;
  position: relative;
}
.mk-spread::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 1px;
  background: rgba(20, 20, 22, 0.14);
}
.mk-page {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mk-img-block {
  flex: 1;
  border-radius: 4px;
  background: linear-gradient(135deg, #2c3531, #55635c);
}
.mk-page-accent {
  width: 26px;
  height: 4px;
  background: var(--yellow);
  border-radius: 2px;
}
.mk-text-lines span {
  display: block;
  height: 4px;
  border-radius: 2px;
  background: rgba(20, 20, 22, 0.18);
  margin-bottom: 5px;
}
.mk-text-lines span:last-child { width: 65%; }

/* 3. Social / Digital Grid Mockup */
.mk-social {
  background: linear-gradient(145deg, #1d1e2a, #13131b);
}
.mk-social-grid {
  display: grid;
  grid-template-columns: repeat(3, 64px);
  gap: 10px;
  transform: rotate(-4deg);
}
.mk-post {
  height: 84px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  padding: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.mk-post.featured {
  background: var(--yellow);
  border-color: var(--yellow);
  transform: translateY(-8px);
}
.mk-post i {
  display: block;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
}
.mk-post.featured i { background: rgba(20, 20, 22, 0.22); }
.mk-post b {
  display: block;
  height: 5px;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.35);
}
.mk-post.featured b { background: rgba(20, 20, 22, 0.55); }

/* 4. Web UI Mockup */
.mk-web {
  background: linear-gradient(145deg, #151b24, #101319);
}
.mk-browser {
  width: 220px;
  height: 136px;
  border-radius: 12px;
  background: #1d222b;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.48);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.mk-browser-top {
  height: 22px;
  padding: 0 10px;
  background: rgba(255, 255, 255, 0.05);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  gap: 5px;
}
.mk-browser-top span {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
}
.mk-browser-body {
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 9px;
  flex: 1;
}
.mk-web-title {
  width: 72%;
  height: 10px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.82);
}
.mk-web-cta {
  width: 58px;
  height: 14px;
  border-radius: 4px;
  background: var(--yellow);
}
.mk-web-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  flex: 1;
}
.mk-web-cards span {
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

/* Compact Trust / Direct Attention Strip */
.trust-section {
  padding-top: 0.5rem;
  padding-bottom: 2.5rem;
}

.trust-strip {
  padding: 2rem 2.25rem;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.trust-num {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.3rem 0.55rem;
  border-radius: 6px;
  background: var(--yellow);
  color: var(--yellow-ink);
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.trust-item h3 {
  font-size: 1.05rem;
  margin-bottom: 0.3rem;
}

.trust-item p {
  font-size: 0.88rem;
  color: var(--text-secondary);
}

@media (max-width: 900px) {
  .trust-strip {
    grid-template-columns: 1fr;
    gap: 1.4rem;
    padding: 1.5rem;
  }
}

/* ============================================================
   CLIENTS MARQUEE CAROUSEL
   ============================================================ */
.clients-marquee {
  position: relative;
  overflow: hidden;
  padding-block: 1.25rem;
  margin-bottom: 2.25rem;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 10%, #000 90%, transparent 100%);
}

.clients-track {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  width: max-content;
  animation: clientsScroll 28s linear infinite;
}

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

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

.client-pill {
  flex: 0 0 auto;
  min-width: 210px;
  height: 84px;
  padding: 0 1.75rem;
  border-radius: var(--radius-md);
  background: var(--bg-card);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.35s var(--spring), border-color 0.25s ease;
}

.client-pill:hover {
  transform: translateY(-3px);
  border-color: var(--yellow);
}

.client-pill img {
  max-height: 40px;
  max-width: 150px;
  width: auto;
  object-fit: contain;
  filter: grayscale(1) opacity(0.72);
  transition: filter 0.3s ease;
}

[data-theme="dark"] .client-pill img {
  filter: brightness(0) invert(0.88) opacity(0.78);
}

.client-pill:hover img {
  filter: grayscale(0) opacity(1);
}

.client-wordmark {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: -0.02em;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.25s ease;
}

.client-pill:hover .client-wordmark {
  color: var(--text-primary);
}

/* Scroll Reveal */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s var(--spring), transform 0.65s var(--spring);
}
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 960px) {
  .intro-card,
  .services-grid,
  .cases-grid,
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .challenges-track { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: repeat(2, 1fr); }
  .process-header,
  .nda-bar {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 900px) {
  .nav-links,
  .nav-cta { display: none; }
  .mobile-menu-btn { display: inline-flex; }
}

@media (max-width: 760px) {
  .brand-logo { height: 42px; }
  .hero-slider { height: 540px; }
  .hero-controls-wrap { bottom: 3.75rem; }
  .intro-card { padding: 1.75rem 1.4rem; }
  .service-card { grid-template-columns: 1fr; }
  .process-grid,
  .form-row { grid-template-columns: 1fr; }
  .wa-tooltip { display: none; }
}
