/* ============================================
   MILIMPRESIONES · Sistema visual CMYK Honesto
   ============================================ */

:root {
  /* CMYK Core — from logo */
  --c: #00AEEF;
  --m: #EC008C;
  --y: #FFE500;
  --k: #111111;

  /* Typography-safe yellow (legible on cream paper) */
  --y-ink: #C9A800;

  /* Tints for surfaces */
  --c-soft: #E0F5FD;
  --m-soft: #FDE4F1;
  --y-soft: #FFF9D1;

  /* Neutrals */
  --paper: #F4F1EA;
  --paper-2: #EAE5DB;
  --ink: #1a1815;
  --ink-2: #3A3A3A;
  --ink-3: #6B6B6B;
  --line: #D9D4C8;

  /* Semantic (light by default) */
  --bg: var(--paper);
  --bg-2: var(--paper-2);
  --fg: var(--ink);
  --fg-2: var(--ink-2);
  --fg-3: var(--ink-3);
  --border: var(--line);
  --card: #FFFFFF;

  /* Primary accent — tweakable */
  --accent: var(--m);
  --accent-soft: var(--m-soft);

  /* Type */
  --font-display: 'Space Grotesk', ui-sans-serif, system-ui, sans-serif;
  --font-body: 'DM Sans', ui-sans-serif, system-ui, sans-serif;
  --font-brand: 'Jost', ui-sans-serif, system-ui, sans-serif;

  /* Spacing scale */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;
  --s8: 64px;
  --s9: 96px;
  --s10: 128px;

  --radius-sm: 10px;
  --radius: 18px;
  --radius-lg: 28px;
  --radius-xl: 40px;

  --container: 1240px;
}

[data-theme="dark"] {
  --bg: #0B0B0C;
  --bg-2: #141416;
  --fg: #FAFAF7;
  --fg-2: #D4D4CE;
  --fg-3: #8A8A84;
  --border: #24242A;
  --card: #16161A;
  --paper: #0B0B0C;
  --paper-2: #141416;
  --c-soft: #062733;
  --m-soft: #2E0820;
  --y-soft: #2E2A05;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--fg);
  line-height: 1.55;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  transition: background 0.3s ease, color 0.3s ease;
}
[data-theme="dark"] body { background-image: none; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ============ Typography ============ */
h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.02;
  text-wrap: balance;
}
h1 { font-size: clamp(30px, 4.5vw, 68px); letter-spacing: -0.035em; }
h2 { font-size: clamp(24px, 3.2vw, 46px); letter-spacing: -0.03em; }
h3 { font-size: clamp(17px, 1.6vw, 22px); }
h4 { font-size: 20px; }
p { text-wrap: pretty; }

.display-xl {
  font-family: var(--font-display);
  font-size: clamp(56px, 11vw, 180px);
  font-weight: 600;
  line-height: 0.92;
  letter-spacing: -0.045em;
}

.eyebrow {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--fg-3);
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
}
.eyebrow::before {
  content: '';
  width: 28px; height: 2px;
  background: currentColor;
  opacity: 0.6;
}

/* ============ Layout ============ */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s5);
}
section { padding: var(--s7) 0; position: relative; }
@media (max-width: 768px) {
  section { padding: var(--s7) 0; }
  .container { padding: 0 var(--s4); }
}

/* ============ Nav ============ */
.nav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s;
}
.nav.scrolled { border-bottom-color: var(--border); }
.nav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: var(--s4) var(--s5);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s5);
}
.nav-logo {
  display: flex; align-items: center; gap: var(--s3);
  font-family: var(--font-brand);
  font-weight: 500;
  font-size: 18px;
  letter-spacing: -0.01em;
}
[data-theme="dark"] .logo-light { display: none !important; }
[data-theme="dark"] .logo-dark { display: block !important; }
.logo-mark img { height: 30px; width: auto; display: block; }
.logo-mark .logo-light { display: block; }
.logo-mark .logo-dark { display: none; }
[data-theme="dark"] .logo-mark .logo-light { display: none; }
[data-theme="dark"] .logo-mark .logo-dark { display: block; }
[data-theme="dark"] .nav-logo .logo-mark img { filter: brightness(0) invert(1); }
.nav-links {
  display: flex; gap: var(--s5);
  font-size: 15px;
  font-weight: 500;
}
.nav-links a {
  position: relative;
  padding: var(--s2) 0;
  color: var(--fg-2);
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: var(--fg); }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0; right: 0;
  height: 2px;
  background: var(--accent);
}
.nav-actions { display: flex; gap: var(--s3); align-items: center; }

.theme-toggle {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.theme-toggle:hover { background: var(--bg-2); }

.mobile-menu-btn {
  display: none;
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border);
  align-items: center;
  justify-content: center;
}
@media (max-width: 860px) {
  .nav-links { display: none; }
  .mobile-menu-btn { display: inline-flex; }
  .nav-actions .btn-pill { display: none; }
}

/* Mobile nav drawer — injected as direct body child */
.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 200;
  background: var(--bg);
  flex-direction: column;
  padding: 80px var(--s6) var(--s6);
  gap: var(--s2);
  align-items: flex-start;
  overflow-y: auto;
}
.mobile-drawer.open { display: flex; }
.mobile-drawer a {
  font-size: 30px;
  font-family: var(--font-display);
  font-weight: 600;
  letter-spacing: -0.03em;
  color: var(--fg);
  text-decoration: none;
  padding: var(--s3) 0;
  width: 100%;
  border-bottom: 1px solid var(--border);
}
.mobile-drawer a:last-child { border-bottom: 0; }
.mobile-drawer a.active { color: var(--accent); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--s2);
  padding: 14px 22px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.01em;
  transition: transform 0.2s, background 0.2s, color 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.btn-pill { padding: 10px 16px; font-size: 14px; }
.btn-primary {
  background: var(--accent);
  color: #fff;
}
.btn-primary:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 28px -8px color-mix(in srgb, var(--accent) 75%, transparent);
}
.btn-dark {
  background: var(--ink);
  color: var(--paper);
}
[data-theme="dark"] .btn-dark { background: var(--paper); color: var(--ink); }
.btn-dark:hover { transform: translateY(-1px); }
.btn-ghost {
  background: transparent;
  color: var(--fg);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: var(--bg-2); }
.btn-arrow { transition: transform 0.2s; }
.btn:hover .btn-arrow { transform: translateX(3px); }

/* ============ CMYK dots / marks ============ */
.cmyk-dots {
  display: inline-flex;
  gap: 5px;
}
.cmyk-dots span {
  width: 10px; height: 10px;
  border-radius: 50%;
  display: block;
}
.dot-c { background: var(--c); }
.dot-m { background: var(--m); }
.dot-y { background: var(--y); }
.dot-k { background: var(--k); }
[data-theme="dark"] .dot-k { background: #fff; }

/* ============ Hero ============ */
.hero {
  padding: var(--s9) 0 var(--s10);
  position: relative;
  overflow: hidden;
}
.hero-inner {
  position: relative;
}
/* Aísla el texto del hero de los blend modes de los círculos CMYK */
.hero-inner > *:not(.hero-cmyk) {
  position: relative;
  z-index: 2;
  isolation: isolate;
}
.hero-eyebrow-row {
  display: flex; justify-content: space-between;
  align-items: center; flex-wrap: wrap; gap: var(--s4);
  margin-bottom: var(--s7);
}
.hero-title {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.6vw, 72px);
  font-weight: 600;
  line-height: 0.95;
  letter-spacing: -0.04em;
}
.hero-title .ink-c { color: var(--c); }
.hero-title .ink-m { color: var(--m); }
.hero-title .ink-y { color: var(--y-ink); }
.hero-title .ink-k { color: var(--fg); }
.hero-title .ink-italic {
  font-family: 'Fraunces', serif;
  font-style: italic;
  font-weight: 400;
  letter-spacing: -0.02em;
}
[data-theme="dark"] .hero-title .ink-y { color: var(--y); }

.hero-sub {
  margin-top: var(--s6);
  font-size: clamp(18px, 1.6vw, 22px);
  max-width: 620px;
  color: var(--fg-2);
  line-height: 1.4;
}
.hero-ctas {
  margin-top: var(--s6);
  display: flex;
  gap: var(--s3);
  flex-wrap: wrap;
}

.hero-meta {
  margin-top: var(--s8);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s5);
  padding-top: var(--s5);
  border-top: 1px solid var(--border);
}
.hero-meta-item .num {
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.03em;
}
.hero-meta-item .label {
  margin-top: 6px;
  font-size: 14px;
  color: var(--fg-3);
}
@media (max-width: 600px) {
  .hero-meta { grid-template-columns: 1fr 1fr; }
  .hero-meta-item:last-child { display: none; }
}


/* ── CMYK overlap hero (rediseñado v2) ── */
.hero-cmyk {
  position: absolute;
  top: 50%;
  right: -40px;
  transform: translateY(-50%);
  width: 480px;
  height: 480px;
  pointer-events: none;
  user-select: none;
  animation: cmyk-rosette-rotate 60s linear infinite;
}
.cmyk-circle {
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 50%;
  mix-blend-mode: multiply;
  opacity: 0.92;
  will-change: transform;
}
[data-theme="dark"] .cmyk-circle { mix-blend-mode: normal; opacity: 0.38; }
.cmyk-c {
  background: var(--c);
  top: 30px; left: 50%;
  transform: translateX(-50%);
  animation: cmyk-breathe-c 9s ease-in-out infinite;
}
.cmyk-m {
  background: var(--m);
  bottom: 60px; left: 30px;
  animation: cmyk-breathe-m 11s ease-in-out infinite;
}
.cmyk-y {
  background: var(--y);
  bottom: 60px; right: 30px;
  animation: cmyk-breathe-y 8s ease-in-out infinite;
}
.cmyk-label-c, .cmyk-label-m, .cmyk-label-y {
  position: absolute;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  opacity: 0.55;
  pointer-events: none;
  z-index: 2;
}
.cmyk-label-c { top: 4px; left: 50%; transform: translateX(-50%); color: var(--c); animation: cmyk-label-c-upright 60s linear infinite; }
.cmyk-label-m { bottom: 76px; left: 46px; color: var(--m); animation: cmyk-label-upright 60s linear infinite; }
.cmyk-label-y { bottom: 76px; right: 46px; color: var(--y-ink); animation: cmyk-label-upright 60s linear infinite; }
[data-theme="dark"] .cmyk-label-c,
[data-theme="dark"] .cmyk-label-m,
[data-theme="dark"] .cmyk-label-y { color: #fff; }
@keyframes cmyk-label-c-upright {
  0%   { transform: translateX(-50%) rotate(0deg); }
  100% { transform: translateX(-50%) rotate(-360deg); }
}
@keyframes cmyk-label-upright {
  0%   { transform: rotate(0deg); }
  100% { transform: rotate(-360deg); }
}
@keyframes cmyk-rosette-rotate {
  0% { transform: translateY(-50%) rotate(0deg); }
  100% { transform: translateY(-50%) rotate(360deg); }
}
@keyframes cmyk-breathe-c {
  0%, 100% { transform: translateX(-50%) scale(1); }
  50%       { transform: translateX(-52%) scale(1.04); }
}
@keyframes cmyk-breathe-m {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50%       { transform: scale(1.05) translate(6px, -6px); }
}
@keyframes cmyk-breathe-y {
  0%, 100% { transform: scale(1) translate(0, 0); }
  50%       { transform: scale(1.06) translate(-6px, -6px); }
}
@media (max-width: 1100px) {
  .hero-cmyk { width: 380px; height: 380px; right: -60px; }
  .cmyk-circle { width: 210px; height: 210px; }
}
@media (max-width: 900px) {
  .hero-cmyk {
    position: relative; top: auto; right: auto;
    transform: none;
    width: 260px; height: 260px;
    margin: var(--s6) auto 0;
    opacity: 0.85;
    animation-duration: 80s;
  }
  .cmyk-circle { width: 150px; height: 150px; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-cmyk, .cmyk-circle { animation: none; }
  .cmyk-label-c { transform: translateX(-50%); animation: none; }
  .cmyk-label-m, .cmyk-label-y { transform: none; animation: none; }
}

/* ============ Service grid ============ */
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: var(--s5);
  margin-bottom: var(--s7);
  flex-wrap: wrap;
}
.section-head h2 { max-width: 720px; }
.section-head .link {
  font-family: var(--font-display);
  font-weight: 500;
  font-size: 15px;
  display: inline-flex;
  gap: 6px;
  align-items: center;
  padding-bottom: 2px;
  border-bottom: 1px solid currentColor;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s4);
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s6);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1), border-color 0.2s, box-shadow 0.3s;
  display: flex; flex-direction: column;
  gap: var(--s5);
  min-height: 260px;
}
.service-card:hover {
  transform: translateY(-4px);
  border-color: transparent;
  box-shadow: 0 20px 40px -24px rgba(0,0,0,0.25);
}
.service-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--ink-bg, transparent);
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 0;
  border-radius: inherit;
}
.service-card:hover::before { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-card:hover .service-title,
.service-card:hover .service-desc,
.service-card:hover .service-num,
.service-card:hover .service-arrow { color: #fff; }
.service-card.y-ink:hover .service-title,
.service-card.y-ink:hover .service-desc,
.service-card.y-ink:hover .service-num,
.service-card.y-ink:hover .service-arrow { color: var(--ink); }

.service-num {
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-3);
  letter-spacing: 0.05em;
  transition: color 0.2s;
}
.service-title {
  font-family: var(--font-display);
  font-size: 19px;
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.15;
  transition: color 0.2s;
}
.service-desc {
  color: var(--fg-2);
  font-size: 15px;
  line-height: 1.45;
  transition: color 0.2s;
  flex: 1;
}
.service-arrow {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  transition: color 0.2s, gap 0.2s;
}
.service-card:hover .service-arrow { gap: 10px; }

.service-card.c-ink { --ink-bg: var(--c); }
.service-card.m-ink { --ink-bg: var(--m); }
.service-card.y-ink { --ink-bg: var(--y); }
.service-card.k-ink { --ink-bg: var(--ink); }
[data-theme="dark"] .service-card.k-ink { --ink-bg: #3a3a3a; }

/* Grid spans */
.span-4 { grid-column: span 4; }
.span-6 { grid-column: span 6; }
.span-8 { grid-column: span 8; }
.span-12 { grid-column: span 12; }
@media (max-width: 900px) {
  .span-4, .span-6, .span-8 { grid-column: span 6; }
}
@media (max-width: 600px) {
  .span-4, .span-6, .span-8, .span-12 { grid-column: span 12; }
}

/* ============ Pillars ============ */
.pillars {
  background: var(--bg-2);
  border-radius: var(--radius-lg);
  padding: var(--s8) var(--s7);
}
.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: var(--s6);
  margin-top: var(--s7);
}
.pillar {
  padding-top: var(--s4);
  border-top: 2px solid var(--fg);
}
.pillar.highlight { border-top-color: var(--m); }
.pillar.highlight .pillar-num { background: var(--m); color: #fff; }
.pillar-num {
  display: inline-flex;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--fg);
  color: var(--bg);
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 600;
  margin-bottom: var(--s4);
}
.pillar h3 {
  font-size: 24px;
  margin-bottom: var(--s3);
  letter-spacing: -0.02em;
}
.pillar p { color: var(--fg-2); font-size: 15px; }
.pillar-badge {
  display: inline-block;
  margin-top: var(--s3);
  padding: 4px 10px;
  background: var(--m);
  color: #fff;
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 4px;
  font-weight: 500;
}
@media (max-width: 860px) {
  .pillars-grid { grid-template-columns: 1fr; gap: var(--s5); }
  .pillars { padding: var(--s6) var(--s5); }
}

/* ============ Works gallery ============ */
.works-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: var(--s4);
}
.work-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3/4;
  cursor: pointer;
  transition: transform 0.3s;
}
.work-card.wide { aspect-ratio: 16/8; }
.work-card:hover { transform: scale(0.98); }
.work-thumb {
  width: 100%; height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(28px, 4vw, 56px);
  letter-spacing: -0.03em;
  position: relative;
  overflow: hidden;
}
.work-thumb.bg-c { background: var(--c); color: #fff; }
.work-thumb.bg-m { background: var(--m); color: #fff; }
.work-thumb.bg-y { background: var(--y); color: var(--ink); }
.work-thumb.bg-k { background: var(--ink); color: #fff; }
.work-thumb.bg-paper { background: var(--paper-2); color: var(--ink); }
[data-theme="dark"] .work-thumb.bg-paper { background: #1e1e22; color: #fff; }
.work-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 55%);
  display: flex;
  align-items: flex-end;
  padding: var(--s5);
  color: #fff;
  opacity: 0;
  transition: opacity 0.3s;
}
.work-card:hover .work-overlay { opacity: 1; }
.work-meta { font-size: 13px; opacity: 0.8; font-family: var(--font-display); }
.work-title { font-size: 20px; font-weight: 600; margin-top: 4px; font-family: var(--font-display); letter-spacing: -0.02em; }

/* ============ Testimonials ============ */
.testimonials {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s4);
}
.testimonial {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s6);
  display: flex;
  flex-direction: column;
  gap: var(--s4);
}
.testimonial-quote {
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.35;
  letter-spacing: -0.015em;
  flex: 1;
}
.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--s3);
  padding-top: var(--s3);
  border-top: 1px solid var(--border);
}
.avatar {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
}
.testimonial-name { font-weight: 500; font-size: 15px; }
.testimonial-role { font-size: 13px; color: var(--fg-3); }
@media (max-width: 860px) {
  .testimonials { grid-template-columns: 1fr; }
}

/* ============ CTA band ============ */
.cta-band {
  border-radius: var(--radius-lg);
  padding: var(--s7) var(--s7);
  background: #111;
  color: #fff;
  position: relative;
  overflow: hidden;
  text-align: center;
}
[data-theme="dark"] .cta-band { background: #111; }
.cta-band h2 {
  font-size: clamp(22px, 2.8vw, 40px);
  max-width: 820px;
  margin: 0 auto;
  letter-spacing: -0.035em;
}
.cta-band .cta-sub {
  margin-top: var(--s4);
  font-size: 18px;
  color: #ffffffcc;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}
.cta-band .hero-ctas { margin-top: var(--s6); justify-content: center; }
.cta-band .btn-primary { background: #fff; color: var(--ink); }
.cta-band .btn-ghost { border-color: #ffffff55; color: #fff; }
.cta-band .btn-ghost:hover { background: #ffffff15; }
.cta-band .bg-dot {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.3;
  pointer-events: none;
}
.cta-band .bg-dot.c { background: var(--c); width: 400px; height: 400px; top: -150px; left: -100px; }
.cta-band .bg-dot.m { background: var(--m); width: 350px; height: 350px; bottom: -150px; right: -50px; }
[data-theme="dark"] .cta-band .bg-dot { display: none; }
@media (max-width: 600px) {
  .cta-band { padding: var(--s8) var(--s5); }
}

/* ============ Footer ============ */
.footer {
  background: #111;
  color: #fafafa;
  padding: var(--s8) 0 var(--s5);
}
[data-theme="dark"] .footer { background: #000; border-top: 1px solid #222; }
.footer-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 var(--s5);
}
.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s6);
  padding-bottom: var(--s7);
  border-bottom: 1px solid #ffffff1a;
  align-items: start;
}
.footer-col { padding-top: 56px; }
@media (max-width: 860px) { .footer-col { padding-top: 0; } }
  gap: var(--s6);
  padding-bottom: var(--s7);
  border-bottom: 1px solid #ffffff1a;
}
.footer-brand h3 {
  font-family: var(--font-brand);
  font-size: 32px;
  letter-spacing: -0.02em;
  font-weight: 500;
  margin-bottom: var(--s3);
}
.footer-brand p { color: #ffffff99; max-width: 320px; font-size: 15px; }
.footer-col h4 {
  font-size: 13px;
  font-family: var(--font-display);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff66;
  margin-bottom: var(--s4);
  font-weight: 500;
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: var(--s3); }
.footer-col a { color: #ffffffdd; font-size: 15px; transition: color 0.2s; }
.footer-col a:hover { color: var(--y); }
.footer-bottom {
  padding-top: var(--s5);
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #ffffff66;
  font-size: 13px;
  flex-wrap: wrap;
  gap: var(--s3);
}
@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: span 2; }
}

.footer-brand img { filter: brightness(0) invert(1); }

/* ============ Floating WhatsApp ============ */
.wa-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 40;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: #25D366;
  color: #fff;
  border-radius: 999px;
  width: 68px;
  height: 68px;
  border: 1px solid rgba(255,255,255,0.22);
  overflow: hidden;
  text-decoration: none;
  transition: width 0.55s cubic-bezier(.16,1,.3,1), gap 0.55s cubic-bezier(.16,1,.3,1), padding 0.55s cubic-bezier(.16,1,.3,1), transform 0.35s cubic-bezier(.16,1,.3,1), box-shadow 0.35s;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1), 0 8px 24px -2px rgba(37,211,102,0.5);
}
.wa-float::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(255,255,255,0.22) 0%, rgba(255,255,255,0) 55%);
  border-radius: 999px;
  pointer-events: none;
}
.wa-float:hover {
  width: 206px;
  gap: 13px;
  padding: 0 26px;
  transform: translateY(-5px);
  animation-play-state: paused;
  box-shadow: 0 20px 52px -4px rgba(37,211,102,0.72), 0 6px 16px rgba(0,0,0,0.13);
}
.wa-icon {
  flex-shrink: 0;
  position: relative; z-index: 1;
  transition: transform 0.55s cubic-bezier(.16,1,.3,1);
}
.wa-float:hover .wa-icon { transform: rotate(12deg) scale(1.1); }
.wa-float-text {
  font-family: var(--font-display);
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: -0.015em;
  max-width: 0;
  overflow: hidden;
  opacity: 0;
  position: relative; z-index: 1;
  transition: max-width 0.55s cubic-bezier(.16,1,.3,1), opacity 0.25s 0.24s;
}
.wa-float:hover .wa-float-text { max-width: 130px; opacity: 1; }

/* ============ Process grid ============ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
}
.process-step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s6);
  min-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
.process-step .step-num {
  font-family: var(--font-display);
  font-size: 52px;
  font-weight: 600;
  line-height: 1;
  letter-spacing: -0.05em;
}
.process-step:nth-child(1) .step-num { color: var(--c); }
.process-step:nth-child(2) .step-num { color: var(--m); }
.process-step:nth-child(3) .step-num { color: var(--y); }
.process-step:nth-child(4) .step-num { color: var(--fg); }
.process-step h3 { font-size: 17px; margin-bottom: var(--s2); letter-spacing: -0.02em; }
.process-step p { font-size: 14px; color: var(--fg-2); line-height: 1.45; }
@media (max-width: 900px) { .process-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .process-grid { grid-template-columns: 1fr; } }

/* ============ Scroll animations ============ */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s cubic-bezier(.2,.8,.3,1), transform 0.7s cubic-bezier(.2,.8,.3,1);
}
.reveal.in {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.08s; }
.reveal-delay-2 { transition-delay: 0.16s; }
.reveal-delay-3 { transition-delay: 0.24s; }
.reveal-delay-4 { transition-delay: 0.32s; }

/* ============ Premium micro-interactions ============ */

/* Nav logo: fade suave al hover */
.nav-logo { transition: opacity 0.25s ease; }
.nav-logo:hover { opacity: 0.7; }

/* Nav links: underline que aparece de izquierda a derecha */
.nav-links a:not(.active)::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 0; height: 1.5px;
  background: var(--fg-2);
  transition: width 0.3s cubic-bezier(.2,.9,.3,1);
}
.nav-links a:not(.active):hover::after { width: 100%; }

/* Work cards: zoom del thumb, no scale del card */
.work-card { transition: none; }
.work-card:hover { transform: none; }
.work-thumb { transition: transform 0.7s cubic-bezier(.2,.9,.3,1); }
.work-card:hover .work-thumb { transform: scale(1.05); }

/* Process steps: lift suave */
.process-step {
  transition: transform 0.35s cubic-bezier(.2,.9,.3,1), box-shadow 0.35s, border-color 0.25s;
}
.process-step:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px -10px rgba(0,0,0,0.1);
  border-color: var(--fg-3);
}

/* Service card: transición más suave y elegante */
.service-card {
  transition: transform 0.4s cubic-bezier(.2,.9,.3,1), border-color 0.25s, box-shadow 0.4s;
}

/* Botón ghost: borde que se llena suavemente */
.btn-ghost {
  transition: background 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* Links de sección: subrayado animado */
.section-head .link {
  position: relative;
  border-bottom: none;
  overflow: hidden;
}
.section-head .link::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 1px;
  background: currentColor;
  transform: scaleX(1);
  transform-origin: left;
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1);
}
.section-head .link:hover::after { transform: scaleX(0); transform-origin: right; }
.section-head .link:hover::before {
  content: '';
  position: absolute;
  bottom: 0; right: 0;
  width: 100%; height: 1px;
  background: currentColor;
  animation: underline-in 0.3s cubic-bezier(.2,.9,.3,1) 0.3s forwards;
  transform: scaleX(0);
  transform-origin: left;
}
@keyframes underline-in {
  to { transform: scaleX(1); }
}

/* ============ Utilities ============ */
.divider {
  display: flex;
  align-items: center;
  gap: var(--s4);
  margin: var(--s5) 0;
}
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}
.cmyk-bar {
  height: 6px;
  display: flex;
  border-radius: 3px;
  overflow: hidden;
  margin-bottom: var(--s5);
}
.cmyk-bar span { flex: 1; }
.cmyk-bar .c { background: var(--c); }
.cmyk-bar .m { background: var(--m); }
.cmyk-bar .y { background: var(--y); }
.cmyk-bar .k { background: var(--ink); }
[data-theme="dark"] .cmyk-bar .k { background: #fff; }

/* ============ Inner page hero (not home) ============ */
.page-hero {
  padding: var(--s8) 0 var(--s7);
  border-bottom: 1px solid var(--border);
}
.page-hero .eyebrow { margin-bottom: var(--s4); }
.page-hero h1 {
  font-size: clamp(28px, 4.2vw, 62px);
  letter-spacing: -0.04em;
  max-width: 900px;
}
.page-hero p {
  margin-top: var(--s4);
  font-size: 20px;
  color: var(--fg-2);
  max-width: 640px;
}

/* ============ Services detailed page ============ */
.service-detail {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  padding: var(--s8) 0;
  border-bottom: 1px solid var(--border);
  align-items: center;
}
.service-detail:nth-child(even) .service-detail-visual { order: -1; }
.service-detail-visual {
  aspect-ratio: 4/3;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: clamp(60px, 8vw, 120px);
  font-weight: 600;
  letter-spacing: -0.04em;
  position: relative;
  overflow: hidden;
}
.service-detail-info .service-num-big {
  font-family: var(--font-display);
  font-size: 14px;
  color: var(--fg-3);
  letter-spacing: 0.1em;
  margin-bottom: var(--s3);
  display: block;
}
.service-detail-info h2 {
  font-size: clamp(22px, 2.8vw, 38px);
  margin-bottom: var(--s4);
}
.service-detail-info p {
  color: var(--fg-2);
  font-size: 17px;
  margin-bottom: var(--s5);
  max-width: 520px;
}
.service-detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s5);
}
.tag {
  padding: 6px 12px;
  border: 1px solid var(--border);
  border-radius: 999px;
  font-size: 13px;
  font-family: var(--font-display);
  color: var(--fg-2);
}
@media (max-width: 860px) {
  .service-detail { grid-template-columns: 1fr; gap: var(--s5); padding: var(--s6) 0; }
  .service-detail:nth-child(even) .service-detail-visual { order: 0; }
}

/* ============ Filter bar ============ */
.filter-bar {
  display: flex;
  gap: var(--s2);
  flex-wrap: wrap;
  margin-bottom: var(--s6);
}
.filter-chip {
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-family: var(--font-display);
  font-size: 14px;
  font-weight: 500;
  color: var(--fg-2);
  transition: all 0.2s;
}
.filter-chip:hover { border-color: var(--fg); color: var(--fg); }
.filter-chip.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}

/* ============ Contact layout ============ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s8);
  padding: var(--s7) 0 var(--s9);
}
.contact-info h2 { font-size: clamp(36px, 4.5vw, 56px); margin-bottom: var(--s5); }
.contact-info p { color: var(--fg-2); font-size: 18px; max-width: 440px; margin-bottom: var(--s6); }

.contact-channels { display: flex; flex-direction: column; gap: var(--s4); }
.channel {
  display: flex;
  align-items: center;
  gap: var(--s4);
  padding: var(--s5);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: transform 0.2s, border-color 0.2s;
}
.channel:hover { transform: translateX(4px); border-color: var(--fg); }
.channel-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff;
  flex-shrink: 0;
}
.channel-icon.wa { background: #25D366; }
.channel-icon.mail { background: var(--m); }
.channel-label {
  font-family: var(--font-display);
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: 2px;
}
.channel-value { font-family: var(--font-display); font-size: 18px; font-weight: 500; letter-spacing: -0.01em; }

.form-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: var(--s7);
}
.form-group { margin-bottom: var(--s5); }
.form-group label {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.005em;
  margin-bottom: var(--s2);
}
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 12px;
  font-family: var(--font-body);
  font-size: 15px;
  background: var(--bg);
  color: var(--fg);
  transition: border-color 0.2s;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.form-textarea { min-height: 120px; resize: vertical; }
.form-hint { font-size: 13px; color: var(--fg-3); margin-top: var(--s3); }
@media (max-width: 860px) {
  .contact-layout { grid-template-columns: 1fr; gap: var(--s6); }
  .form-card { padding: var(--s5); }
}

/* ============ Tweaks panel ============ */
.tweaks-panel {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 60;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: var(--s5);
  width: 280px;
  box-shadow: 0 20px 50px -15px rgba(0,0,0,0.3);
  font-size: 14px;
  display: none;
}
.tweaks-panel.on { display: block; }
.tweaks-panel h4 {
  font-size: 14px;
  font-family: var(--font-display);
  margin-bottom: var(--s4);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.tweak-row { margin-bottom: var(--s4); }
.tweak-label {
  font-family: var(--font-display);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fg-3);
  margin-bottom: var(--s2);
}
.tweak-swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.tweak-swatch {
  width: 30px; height: 30px;
  border-radius: 50%;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s, border-color 0.15s;
}
.tweak-swatch:hover { transform: scale(1.1); }
.tweak-swatch.active { border-color: var(--fg); }
.tweak-font-btn {
  padding: 8px 12px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-display);
  font-size: 13px;
  margin-right: 4px;
  margin-bottom: 4px;
}
.tweak-font-btn.active { background: var(--fg); color: var(--bg); border-color: var(--fg); }

/* ============================================
   v2 ADDITIONS — sticker pack, halftone, cursor,
   process v2, service icons, carousel polish
   ============================================ */

/* ── Sticker pack — UI elements with rotated tape vibe ── */
.sticker {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1.5px dashed currentColor;
  border-radius: 4px;
  background: color-mix(in srgb, currentColor 8%, var(--bg));
  white-space: nowrap;
  user-select: none;
  transform: rotate(-2deg);
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1);
}
.sticker:hover { transform: rotate(0deg) scale(1.05); }
.sticker.c { color: var(--c); }
.sticker.m { color: var(--m); }
.sticker.y { color: var(--y-ink); }
.sticker.k { color: var(--fg); }
.sticker.solid {
  border-style: solid;
  background: currentColor;
}
.sticker.solid.c { color: #fff; background: var(--c); border-color: var(--c); }
.sticker.solid.m { color: #fff; background: var(--m); border-color: var(--m); }
.sticker.solid.y { color: var(--k); background: var(--y); border-color: var(--y); }
.sticker.solid.k { color: var(--bg); background: var(--fg); border-color: var(--fg); }
.sticker.tilt-r { transform: rotate(3deg); }
.sticker.tilt-r:hover { transform: rotate(0deg) scale(1.05); }
.sticker-float {
  position: absolute;
  z-index: 3;
  pointer-events: auto;
}
@media (max-width: 700px) {
  .sticker-float { display: none; }
}

/* ── Halftone pattern background ── */
.halftone-bg {
  position: relative;
}
.halftone-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, var(--m) 1px, transparent 1.5px),
    radial-gradient(circle, var(--c) 1px, transparent 1.5px);
  background-size: 24px 24px, 24px 24px;
  background-position: 0 0, 12px 12px;
  opacity: 0.08;
  pointer-events: none;
  z-index: 0;
}
.halftone-bg > * { position: relative; z-index: 1; }

/* ── Process strip v2 — no box, horizontal connector ── */
.process-v2 {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  padding: var(--s6) 0;
}
.process-v2::before {
  content: '';
  position: absolute;
  top: calc(var(--s6) + 14px);
  left: 4%;
  right: 4%;
  height: 2px;
  background: linear-gradient(to right,
    var(--c) 0%, var(--c) 25%,
    var(--m) 25%, var(--m) 50%,
    var(--y) 50%, var(--y) 75%,
    var(--k) 75%, var(--k) 100%);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: opacity 0.4s, transform 1.4s cubic-bezier(.2,.9,.3,1);
  z-index: 0;
}
.process-v2.in-view::before {
  opacity: 0.85;
  transform: scaleX(1);
}
.pv2-step {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: var(--s2);
  padding-top: 0;
  z-index: 1;
}
.pv2-dot {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  margin-bottom: var(--s4);
  transition: transform 0.3s cubic-bezier(.2,.9,.3,1), background 0.3s, color 0.3s;
}
/* Hover por step — colores explícitos para evitar conflicto currentColor */
.pv2-step.c:hover .pv2-dot { transform: scale(1.15); background: var(--c);   color: #fff; }
.pv2-step.m:hover .pv2-dot { transform: scale(1.15); background: var(--m);   color: #fff; }
.pv2-step.y:hover .pv2-dot { transform: scale(1.15); background: var(--y);   color: var(--k); }
.pv2-step.k:hover .pv2-dot { transform: scale(1.15); background: var(--fg);  color: var(--bg); }
.pv2-step.c { color: var(--c); }
.pv2-step.m { color: var(--m); }
.pv2-step.y { color: var(--y-ink); }
.pv2-step.k { color: var(--fg); }
.pv2-title {
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--fg);
}
.pv2-sub {
  font-size: 14px;
  color: var(--fg-3);
  line-height: 1.4;
}
@media (max-width: 860px) {
  .process-v2 { grid-template-columns: 1fr 1fr; gap: var(--s5); }
  .process-v2::before { display: none; }
}
@media (max-width: 500px) {
  .process-v2 { grid-template-columns: 1fr; }
}

/* ── Service rows v2 — inline SVG icon support ── */
.service-row {
  grid-template-columns: 48px 56px 1fr auto auto;
}
.sr-icon {
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-3);
  transition: color 0.3s ease, transform 0.35s cubic-bezier(.2,.9,.3,1);
  flex-shrink: 0;
}
.sr-icon svg {
  width: 100%;
  height: 100%;
  stroke-width: 1.5;
}
.service-row:hover .sr-icon {
  color: var(--row-color, var(--m));
  transform: rotate(-4deg) scale(1.08);
}
@media (max-width: 600px) {
  .service-row { grid-template-columns: 36px 44px 1fr 20px; }
  .sr-icon { width: 44px; height: 44px; }
}

/* ── Carousel polish — typographic arrows ── */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 48px;
  height: 48px;
  background: transparent;
  box-shadow: none;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--fg-3);
  border-radius: 0;
  transition: color 0.2s, transform 0.2s cubic-bezier(.2,.9,.3,1);
}
.carousel-btn:hover {
  background: transparent;
  color: var(--fg);
  transform: translateY(-50%) scale(1.08);
}
.carousel-btn svg { display: none; }
.carousel-btn::before {
  font-family: var(--font-display);
  font-weight: 300;
  font-size: 52px;
  line-height: 1;
  display: block;
}
.carousel-prev::before { content: '\2039'; }
.carousel-next::before { content: '\203A'; }
.carousel-prev { left: -4px; }
.carousel-next { right: -4px; }
@media (max-width: 700px) {
  .carousel-btn { width: 40px; height: 40px; }
  .carousel-btn::before { font-size: 40px; }
}

/* ── Loading placeholders CMYK (carrusel) ── */
.carousel-loading {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s4);
  padding: 0 var(--s4) var(--s4);
}
.carousel-loading-slide {
  aspect-ratio: 4/5;
  border-radius: var(--radius);
  display: flex;
  align-items: flex-end;
  padding: var(--s5);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 14px;
  letter-spacing: 0.05em;
  color: rgba(255,255,255,0.85);
  position: relative;
  overflow: hidden;
}
.carousel-loading-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.18) 50%, transparent 100%);
  animation: shimmer 1.8s infinite;
}
@keyframes shimmer {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%);  }
}
.carousel-loading-slide.c { background: var(--c); }
.carousel-loading-slide.m { background: var(--m); }
.carousel-loading-slide.y { background: var(--y); color: var(--k); }
.carousel-loading-slide.k { background: var(--k); }
@media (max-width: 900px) { .carousel-loading { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .carousel-loading { grid-template-columns: 1fr; } }

/* ── CTA band v2 — solid dark + halftone ── */
.cta-band {
  background: var(--k);
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.06) 1px, transparent 1.5px);
  background-size: 16px 16px;
  pointer-events: none;
  opacity: 0.5;
}
.cta-band > * { position: relative; z-index: 1; }
.cta-band .bg-dot { display: none; }

/* ── Hero polish: stickers on hero ── */
.hero { position: relative; }
.hero .sticker-float-1 {
  top: 18%;
  right: 8%;
}
.hero .sticker-float-2 {
  bottom: 22%;
  right: 28%;
}
@media (max-width: 1100px) {
  .hero .sticker-float-1 { top: 12%; right: 4%; }
  .hero .sticker-float-2 { display: none; }
}

/* ── Filter pills for trabajos carousel ── */
.carousel-filters {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s5);
}
.carousel-filter {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-2);
  cursor: pointer;
  transition: all 0.2s;
}
.carousel-filter:hover { border-color: var(--fg); color: var(--fg); }
.carousel-filter.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
.carousel-filter.c.active { background: var(--c); border-color: var(--c); color: #fff; }
.carousel-filter.m.active { background: var(--m); border-color: var(--m); color: #fff; }
.carousel-filter.y.active { background: var(--y); border-color: var(--y); color: var(--k); }
.carousel-filter.k.active { background: var(--k); border-color: var(--k); color: var(--bg); }

/* ── Misc polish ── */
.section-pad-tight { padding: var(--s6) 0; }

/* Eyebrow with ink dot variant */
.eyebrow.ink-dot::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--m);
  opacity: 1;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--m) 18%, transparent);
}
.eyebrow.ink-dot.c::before { background: var(--c); box-shadow: 0 0 0 4px color-mix(in srgb, var(--c) 18%, transparent); }
.eyebrow.ink-dot.y::before { background: var(--y); box-shadow: 0 0 0 4px color-mix(in srgb, var(--y) 22%, transparent); }
.eyebrow.ink-dot.k::before { background: var(--fg); box-shadow: 0 0 0 4px color-mix(in srgb, var(--fg) 18%, transparent); }

/* ── Filter chips (trabajos.html) — alineados al estilo pill nuevo ── */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s2);
  margin-bottom: var(--s6);
}
.filter-chip {
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 500;
  padding: 7px 16px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--fg-2);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  white-space: nowrap;
}
.filter-chip:hover {
  border-color: var(--fg);
  color: var(--fg);
}
.filter-chip.active {
  background: var(--fg);
  color: var(--bg);
  border-color: var(--fg);
}
