/* ============ Coombo · Editorial Maximalist System ============ */
@font-face {
  font-family: 'GT Flexa Display';
  src: url('fonts/GT-Flexa-Standard-Bold.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT Flexa';
  src: url('fonts/GT-Flexa-Standard-Light.ttf') format('truetype');
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'GT Flexa';
  src: url('fonts/GT-Flexa-Standard-Bold.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Coombo brand palette — exact hex */
  --orange:   #FF571F;
  --pink:     #FF5C7F;
  --green:    #009553;
  --blue:     #0056E0;
  --ink:      #292929;
  --paper:    #FFFFFF;
  --cream:    #FFF0EB;

  --ink-2:    #5A5A5A;

  --font-display: 'GT Flexa Display', 'Archivo Black', Impact, sans-serif;
  --font-body:    'GT Flexa', 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1320px;
  --shadow-hard:    6px 6px 0 0 var(--ink);
  --shadow-hard-sm: 4px 4px 0 0 var(--ink);
  --shadow-hard-lg: 10px 10px 0 0 var(--ink);
  --bw: 2px;   /* base border weight */
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: var(--font-body);
  font-weight: 300;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-size: 16px;
  line-height: 1.5;
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
button { font-family: inherit; }
img { max-width: 100%; display: block; }
strong, b { font-weight: 700; }

/* GT Flexa has no italic — use synthesized italic only for short emphasis */
i, em, .italic {
  font-style: italic;
  font-synthesis: style;
}

/* ============ Logo helpers ============ */
.logo { display: inline-block; line-height: 0; }
.logo img { height: 100%; width: auto; display: block; }
.logo--white img { filter: brightness(0) invert(1); }
.logo--orange img { filter: brightness(0) saturate(100%) invert(40%) sepia(95%) saturate(3500%) hue-rotate(360deg) brightness(102%) contrast(102%); }

/* ============ Animated rotating stamp ============ */
@keyframes spin   { to { transform: rotate(360deg); } }
@keyframes spinR  { to { transform: rotate(-360deg); } }
@keyframes pulse  { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes wiggle { 0%, 100% { transform: rotate(-3deg); } 50% { transform: rotate(3deg); } }

.stamp {
  position: relative;
  width: 130px;
  height: 130px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.stamp svg.ring {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  animation: spin 22s linear infinite;
}
.stamp svg.ring text {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  fill: currentColor;
}
.stamp__core {
  width: 58%;
  height: 58%;
  border-radius: 50%;
  border: var(--bw) solid currentColor;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 900;
  text-align: center;
  font-size: 18px;
  line-height: 1;
  text-transform: uppercase;
  background: transparent;
  padding: 6px;
}

/* ============ Catalog labels (Fig. A / Fig. 01) ============ */
.fig {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.fig::before {
  content: '';
  width: 18px; height: var(--bw);
  background: currentColor;
  display: inline-block;
  align-self: center;
}
.fig em {
  font-style: italic;
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* ============ Editorial header / display type ============ */
.h-display {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(58px, 8.4vw, 132px);
  line-height: 0.86;
  letter-spacing: -0.012em;
  text-transform: uppercase;
  margin: 0;
  color: var(--ink);
}
.h-display em {
  font-style: italic;
  font-weight: 900;
  font-family: var(--font-display);
  display: inline-block;
  transform: skewX(-10deg);
  margin: 0 .04em;
}
.h-mid {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(38px, 5.4vw, 78px);
  line-height: 0.9;
  margin: 0;
  letter-spacing: -0.01em;
  color: var(--ink);
}
.h-mid em {
  font-style: italic;
  font-weight: 900;
  font-family: var(--font-display);
  display: inline-block;
  transform: skewX(-10deg);
  margin: 0 .04em;
}
.h-sm {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 1;
  margin: 0;
}
.eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.lead {
  font-size: 17px;
  line-height: 1.55;
  color: var(--ink);
  font-weight: 300;
}
.lead em { font-style: italic; }

/* ============ Decorative scribbles & stars ============ */
.deco { position: absolute; pointer-events: none; user-select: none; z-index: 2; }
.rot-l1 { transform: rotate(-1deg); }
.rot-l2 { transform: rotate(-2deg); }
.rot-l3 { transform: rotate(-3deg); }
.rot-r1 { transform: rotate(1deg); }
.rot-r2 { transform: rotate(2deg); }
.rot-r3 { transform: rotate(3deg); }

/* ============ Marquee top — ribbon ============ */
.marquee {
  overflow: hidden;
  white-space: nowrap;
  border-block: var(--bw) solid var(--ink);
  background: var(--ink);
  color: var(--paper);
}
.marquee--top {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.06em;
  padding: 12px 0;
  text-transform: uppercase;
}
.marquee__track {
  display: inline-block;
  animation: marquee 60s linear infinite;
  padding-right: 40px;
}
.marquee__track > span { padding: 0 22px; }
.marquee__track > span::after { content: '✱'; padding-left: 36px; color: var(--orange); font-size: 1.1em; }
@keyframes marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* Big mid marquee */
.bigmar {
  position: relative;
  background: var(--paper);
  padding: 26px 0 22px;
  border-block: var(--bw) solid var(--ink);
  overflow: hidden;
}
.bigmar--orange { background: var(--orange); color: var(--paper); }
.bigmar--blue   { background: var(--blue);   color: var(--paper); }
.bigmar--pink   { background: var(--pink);   color: var(--paper); }
.bigmar--ink    { background: var(--ink);    color: var(--paper); }
.bigmar__track {
  display: inline-block;
  white-space: nowrap;
  animation: marquee 80s linear infinite;
  padding-right: 60px;
}
.bigmar__track > span {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(56px, 8vw, 124px);
  letter-spacing: -0.015em;
  padding: 0 28px;
  color: var(--paper);
  text-transform: uppercase;
  line-height: 1;
}
.bigmar__track > span em {
  font-style: italic;
  display: inline-block;
  transform: skewX(-10deg);
  padding: 0 .05em;
}
.bigmar__track > span.outline {
  color: transparent;
  -webkit-text-stroke: 2.5px var(--paper);
}
.bigmar__track > span::after {
  content: '✱';
  padding-left: 28px;
  font-size: 0.6em;
  vertical-align: 0.4em;
  -webkit-text-stroke: 0;
  color: currentColor;
}

/* ============ Nav ============ */
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 28px;
  max-width: var(--maxw);
  margin: 0 auto;
  flex-wrap: wrap;
}
.nav__logo { height: auto; display: inline-flex; align-items: center; }
.nav__logo img { height: auto; width: auto; }

/* Hamburger — hidden on desktop */
.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  padding: 0 11px;
  border: var(--bw) solid var(--ink);
  border-radius: 12px;
  background: var(--paper);
  cursor: pointer;
  flex-shrink: 0;
}
.nav__burger span {
  display: block;
  height: 3px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .25s ease, opacity .2s ease;
}
.nav--open .nav__burger span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav--open .nav__burger span:nth-child(2) { opacity: 0; }
.nav--open .nav__burger span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }
.nav__scrim { display: none; }

.pillrow { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 18px;
  border-radius: 999px;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
  white-space: nowrap;
  color: var(--ink);
  text-decoration: none;
  box-shadow: 0 0 0 0 var(--ink);
}
.pill:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard-sm); }
.pill--orange { background: var(--orange); color: #fff; }
.pill--pink   { background: var(--pink);   color: #fff; }
.pill--blue   { background: var(--blue);   color: #fff; }
.pill--green  { background: var(--green);  color: #fff; }
.pill--ink    { background: var(--ink);    color: var(--paper); }

.lang-toggle {
  display: inline-flex;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  overflow: hidden;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  background: var(--paper);
}
.lang-toggle button {
  padding: 8px 12px;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-transform: uppercase;
}
.lang-toggle button.active { background: var(--ink); color: var(--paper); }

/* ============ Generic ============ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; position: relative; }

/* ============ HERO ============ */
.hero { padding: 36px 0 80px; position: relative; background: var(--paper); }
.hero__top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: var(--bw) solid var(--ink);
  padding-bottom: 12px;
  margin-bottom: 36px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
}
.hero__top-l, .hero__top-r { display: flex; gap: 18px; }
.hero__display {
  position: relative;
  margin: 0 0 32px;
}
.hero__display .h-display {
  font-size: clamp(64px, 11vw, 168px);
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 28px;
  align-items: stretch;
  position: relative;
}
.hero__photo {
  position: relative;
  border: var(--bw) solid var(--ink);
  background: var(--orange);
  min-height: 540px;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  transform: rotate(-1deg);
}
.hero__photo img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 1;
}
.hero__photo::after {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(41,41,41,.65) 100%);
}
.hero__caption {
  position: absolute;
  z-index: 3;
  bottom: 24px;
  left: 26px;
  right: 26px;
  color: var(--paper);
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 16px;
}
.hero__caption .fig { color: var(--paper); }
.hero__caption-r {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  text-align: right;
}

.hero__panel {
  border: var(--bw) solid var(--ink);
  background: var(--blue);
  color: var(--paper);
  padding: 36px 32px 28px;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-hard);
  transform: rotate(1deg);
}
.hero__panel-eyebrow {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--paper);
  margin-bottom: 14px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.hero__panel h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(36px, 4vw, 56px);
  margin: 0 0 18px;
  line-height: 0.9;
  color: var(--paper);
  letter-spacing: -0.01em;
}
.hero__panel h2 em {
  font-style: italic;
  display: inline-block;
  transform: skewX(-10deg);
  padding: 0 .04em;
}
.hero__panel p {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  color: var(--paper);
}
.hero__panel-bottom {
  margin-top: auto;
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.hero__panel-bottom .pill { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.hero__panel-locations {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  opacity: 0.95;
}

@media (max-width: 880px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__photo { min-height: 440px; }
  .hero__top { flex-wrap: wrap; gap: 8px; }
}

/* ============ Section bg blocks ============ */
.section { padding: 110px 0 110px; position: relative; overflow: hidden; }
.section--paper  { background: var(--paper); color: var(--ink); }
.section--cream  { background: var(--cream);  color: var(--ink); }
.section--orange { background: var(--orange); color: var(--paper); border-block: var(--bw) solid var(--ink); }
.section--blue   { background: var(--blue);   color: var(--paper); border-block: var(--bw) solid var(--ink); }
.section--pink   { background: var(--pink);   color: var(--paper); border-block: var(--bw) solid var(--ink); }
.section--green  { background: var(--green);  color: var(--paper); border-block: var(--bw) solid var(--ink); }
.section--ink    { background: var(--ink);    color: var(--paper); border-block: var(--bw) solid var(--ink); }

.section--orange .h-mid, .section--blue .h-mid, .section--pink .h-mid, .section--green .h-mid, .section--ink .h-mid { color: var(--paper); }
.section--orange .lead, .section--blue .lead, .section--pink .lead, .section--green .lead, .section--ink .lead { color: var(--paper); }

/* ============ Section header (catalog style) ============ */
.sec-head {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 36px;
  align-items: end;
  margin-bottom: 48px;
  position: relative;
}
.sec-head .fig { display: inline-flex; margin-bottom: 18px; }
.sec-head .lead { max-width: 44ch; margin: 0; }
.sec-head__r {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: flex-start;
}
@media (max-width: 880px) { .sec-head { grid-template-columns: 1fr; gap: 18px; } }

/* ============ Sticker / pill (used sparingly) ============ */
.sticker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 9px 16px;
  border-radius: 999px;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  text-align: center;
  line-height: 1.1;
  transition: transform .25s cubic-bezier(.6,-.3,.4,1.3);
}
.sticker--rotate-l { transform: rotate(-3deg); }
.sticker--rotate-r { transform: rotate(3deg); }
.sticker:hover { transform: rotate(0) scale(1.04); }
.sticker--pink   { background: var(--pink);   color: #fff; }
.sticker--orange { background: var(--orange); color: #fff; }
.sticker--blue   { background: var(--blue);   color: #fff; }
.sticker--green  { background: var(--green);  color: #fff; }
.sticker--ink    { background: var(--ink);    color: var(--paper); }
.sticker--paper  { background: var(--paper);  color: var(--ink); }

/* ============ SERVICES catalog ============ */
.svc { padding: 110px 0 130px; background: var(--orange); color: var(--paper); border-block: var(--bw) solid var(--ink); position: relative; overflow: hidden; }
.svc .sec-head .h-mid, .svc .sec-head .lead { color: var(--paper); }
.svc .sec-head .fig { color: var(--paper); }

.svc__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.svc__card {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  padding: 26px 24px 22px;
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  min-height: 380px;
  transition: transform .22s ease, box-shadow .22s ease;
  cursor: pointer;
  color: var(--ink);
  box-shadow: var(--shadow-hard);
}
.svc__card:nth-child(odd)  { transform: rotate(-1deg); }
.svc__card:nth-child(even) { transform: rotate( 1deg); }
.svc__card:hover { transform: rotate(0) translate(-3px, -6px); box-shadow: var(--shadow-hard-lg); }

.svc__card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
}
.svc__card .svc__icon {
  width: 64px;
  height: 64px;
  background: var(--blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  border: 2px solid var(--ink);
  box-shadow: 5px 5px 0 var(--ink);
  border-radius: 4px;
  transform: rotate(-2deg);
}
.svc__card[data-color="orange"] .svc__icon { background: var(--orange); }
.svc__card[data-color="pink"]   .svc__icon { background: var(--pink); }
.svc__card[data-color="green"]  .svc__icon { background: var(--green); }
.svc__card[data-color="blue"]   .svc__icon { background: var(--blue); }
.svc__card .letter {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 56px;
  line-height: 0.85;
  color: var(--ink);
}
.svc__card .letter em {
  font-style: italic;
  display: inline-block;
  transform: skewX(-10deg);
}
.svc__card .pill-num {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  padding: 5px 12px;
  background: var(--cream);
  color: var(--ink);
}
.svc__card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 0.95;
  margin: 0 0 12px;
  letter-spacing: -0.005em;
}
.svc__card h3 em {
  font-style: italic;
  display: inline-block;
  transform: skewX(-10deg);
}
.svc__card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0 0 18px;
  font-weight: 300;
}
.svc__card .deliv {
  margin-top: 0;
  border-top: var(--bw) solid var(--ink);
  padding-top: 14px;
  font-family: var(--font-body);
  font-size: 11px;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.svc__card .deliv span::before {
  content: '→ '; color: var(--orange); font-weight: 900;
}
.svc__card .deliv__label {
  display: block;
  font-family: 'GT Flexa', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-top: auto;
  padding-bottom: 6px;
}
.svc__card .deliv .deliv__label {
  font-family: 'GT Flexa', sans-serif;
  font-weight: 300;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-2);
  margin-bottom: 4px;
}
.svc__card .deliv .deliv__label::before { content: none; }
.svc__card[data-color="pink"]  .deliv span::before { color: var(--pink); }
.svc__card[data-color="green"] .deliv span::before { color: var(--green); }
.svc__card[data-color="blue"]  .deliv span::before { color: var(--blue); }

.svc__card .accent-bar {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 12px;
  background: var(--orange);
  border-bottom: var(--bw) solid var(--ink);
}
.svc__card[data-color="pink"]  .accent-bar { background: var(--pink); }
.svc__card[data-color="green"] .accent-bar { background: var(--green); }
.svc__card[data-color="blue"]  .accent-bar { background: var(--blue); }

.svc__foot {
  margin-top: 56px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
  padding: 24px 32px;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  box-shadow: var(--shadow-hard);
  transform: rotate(-0.4deg);
}
.svc__foot p { margin: 0; font-size: 16px; color: var(--ink); }
.svc__foot p strong { font-weight: 700; }
.svc__foot p em { font-style: italic; }

@media (max-width: 1100px) { .svc__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 700px)  { .svc__grid { grid-template-columns: 1fr; } }

/* ============ QUIZ ============ */
.quiz {
  padding: 110px 0;
  background: var(--cream);
  color: var(--ink);
  border-block: var(--bw) solid var(--ink);
  position: relative;
  overflow: hidden;
}
.quiz__card {
  max-width: 920px;
  margin: 0 auto;
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  padding: 48px 44px;
  position: relative;
  box-shadow: var(--shadow-hard-lg);
}
.quiz__head { text-align: center; margin-bottom: 30px; }
.quiz__head .h-mid { margin-bottom: 12px; }
.quiz__head p { font-size: 16px; color: var(--ink); margin: 0; }
.quiz__progress {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 28px;
}
.quiz__progress .dot {
  width: 36px; height: 10px; border-radius: 0;
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  transition: background .2s;
}
.quiz__progress .dot.active { background: var(--orange); }
.quiz__progress .dot.done   { background: var(--green); }
.quiz__q {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 30px;
  line-height: 1;
  margin: 0 0 22px;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.quiz__q .num {
  color: var(--orange);
  margin-right: 12px;
  font-style: italic;
  display: inline-block;
  transform: skewX(-10deg);
}
.quiz__opts { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.quiz__opt {
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  padding: 18px 22px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-align: left;
  cursor: pointer;
  transition: all .18s;
  color: var(--ink);
  line-height: 1.35;
}
.quiz__opt:hover { background: var(--cream); transform: translate(-2px, -2px); box-shadow: var(--shadow-hard-sm); }
.quiz__opt.selected {
  background: var(--orange);
  color: #fff;
  border-color: var(--ink);
  transform: translate(-2px, -2px);
  box-shadow: var(--shadow-hard-sm);
}
.quiz__nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 28px;
  gap: 12px;
  flex-wrap: wrap;
}
.quiz__back {
  background: transparent;
  border: 0;
  color: var(--ink-2);
  cursor: pointer;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 10px 16px;
}
.quiz__back:disabled { opacity: 0.4; cursor: not-allowed; }
.quiz__result { text-align: center; padding: 8px 0; }
.quiz__result h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 38px;
  margin: 12px 0 6px;
  line-height: 0.95;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.quiz__result h3 em {
  font-style: italic;
  display: inline-block;
  transform: skewX(-10deg);
  color: var(--orange);
}
.quiz__result p {
  font-size: 15px;
  color: var(--ink);
  max-width: 56ch;
  margin: 8px auto 24px;
  line-height: 1.55;
}
.quiz__result .reco {
  border: var(--bw) solid var(--ink);
  background: var(--cream);
  padding: 24px;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  text-align: left;
  margin: 0 auto 24px;
  max-width: 600px;
  align-items: center;
  box-shadow: var(--shadow-hard-sm);
  transform: rotate(-0.5deg);
}
.quiz__result .reco .reco-ico {
  width: 64px; height: 64px;
  border: var(--bw) solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--orange);
  color: #fff;
}
.quiz__result .reco h4 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 20px;
  margin: 0 0 4px;
  line-height: 1;
}
.quiz__result .reco p {
  font-size: 13px;
  margin: 0;
  color: var(--ink);
  max-width: none;
  text-align: left;
  line-height: 1.5;
}

@media (max-width: 700px) {
  .quiz__opts { grid-template-columns: 1fr; }
  .quiz__card { padding: 32px 22px; }
}

/* ============ PROCESS — blue ============ */
.process { padding: 110px 0; background: var(--blue); color: var(--paper); border-block: var(--bw) solid var(--ink); position: relative; overflow: hidden; }
.process .sec-head .h-mid, .process .sec-head .lead, .process .sec-head .fig { color: var(--paper); }
.process__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}
.process__card { min-width: 0; }
.process__card .num { max-width: 100%; overflow: hidden; }
.process__card h3 { word-break: break-word; }
.process__card {
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 28px 24px 26px;
  position: relative;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-hard);
}
.process__card:nth-child(1) { transform: rotate(-1.5deg); }
.process__card:nth-child(2) { transform: rotate( 1deg); }
.process__card:nth-child(3) { transform: rotate(-0.8deg); }
.process__card:nth-child(4) { transform: rotate( 1.4deg); }
.process__card:hover { transform: rotate(0) translate(-3px, -5px); box-shadow: var(--shadow-hard-lg); }
.process__card .step {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue);
}
.process__card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 22px;
  line-height: 0.95;
  margin: 12px 0 12px;
  letter-spacing: -0.02em;
  color: var(--ink);
  word-break: break-word;
  overflow-wrap: anywhere;
  white-space: pre-line;
}
.stats__card h4, .stats__card p, .process__card p,
.benefits__card h3 { white-space: pre-line; }
.process__card h3 em { font-style: italic; display: inline-block; transform: skewX(-10deg); }
.process__card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
.process__card .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 64px;
  line-height: 0.85;
  color: var(--ink);
  margin-bottom: 4px;
}
.process__card .num em { font-style: italic; display: inline-block; transform: skewX(-10deg); color: var(--orange); }

.process__grid .process__card h3 { font-size: clamp(30px, 3.2vw, 42px) !important; line-height: 0.95; }
@media (max-width: 880px) { .process__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 540px) { .process__grid { grid-template-columns: 1fr; } }

/* ============ STATS — pink ============ */
.stats {
  padding: 110px 0;
  background: var(--pink);
  color: var(--paper);
  border-block: var(--bw) solid var(--ink);
  position: relative;
  overflow: hidden;
}
.stats .sec-head .h-mid, .stats .sec-head .lead, .stats .sec-head .fig { color: var(--paper); }
.stats__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  position: relative;
}
.stats__card { min-width: 0; }
.stats__card .num {
  max-width: 100%;
  overflow: hidden;
  text-overflow: clip;
  word-break: break-word;
}
.stats__card {
  border: var(--bw) solid var(--ink);
  padding: 38px 28px;
  background: var(--paper);
  color: var(--ink);
  text-align: left;
  position: relative;
  box-shadow: var(--shadow-hard);
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.stats__card:nth-child(1) { transform: rotate(-1deg); }
.stats__card:nth-child(2) { transform: rotate( 0.6deg); }
.stats__card:nth-child(3) { transform: rotate(-0.4deg); }
.stats__card .fig-mark {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--pink);
}
.stats__card .num {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: clamp(64px, 6.4vw, 110px);
  line-height: 0.85;
  color: var(--ink);
  letter-spacing: -0.04em;
}
.stats__card .num em {
  font-style: italic;
  display: inline-block;
  transform: skewX(-10deg);
  color: var(--pink);
}
.stats__card h4 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 20px;
  margin: 0;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1;
}
.stats__card p { font-size: 14px; line-height: 1.55; margin: 0; color: var(--ink); }
@media (max-width: 800px) { .stats__grid { grid-template-columns: 1fr; } }

/* ============ BENEFITS — paper / cream cards ============ */
.benefits { padding: 110px 0; background: var(--paper); color: var(--ink); position: relative; overflow: hidden; }
.benefits__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
.benefits__card {
  border: var(--bw) solid var(--ink);
  padding: 30px 30px 30px 120px;
  background: var(--cream);
  position: relative;
  min-height: 168px;
  transition: transform .2s, box-shadow .2s;
  box-shadow: var(--shadow-hard);
}
.benefits__card:nth-child(1) { transform: rotate(-0.7deg); }
.benefits__card:nth-child(2) { transform: rotate( 0.7deg); background: var(--paper); }
.benefits__card:nth-child(3) { transform: rotate( 0.4deg); background: var(--paper); }
.benefits__card:nth-child(4) { transform: rotate(-0.4deg); }
.benefits__card:hover { transform: rotate(0) translate(-3px, -4px); box-shadow: var(--shadow-hard-lg); }
.benefits__card .icon {
  position: absolute;
  left: 26px; top: 26px;
  width: 72px; height: 72px;
  border: var(--bw) solid var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: var(--shadow-hard-sm);
}
.benefits__card:nth-child(1) .icon { background: var(--orange); }
.benefits__card:nth-child(2) .icon { background: var(--pink); }
.benefits__card:nth-child(3) .icon { background: var(--green); }
.benefits__card:nth-child(4) .icon { background: var(--blue); }
.benefits__card .fig {
  margin-bottom: 10px;
  color: var(--ink-2);
}
.benefits__card h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 24px;
  margin: 0 0 8px;
  letter-spacing: -0.005em;
  color: var(--ink);
  line-height: 0.95;
}
.benefits__card h3 em { font-style: italic; display: inline-block; transform: skewX(-10deg); }
.benefits__card p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--ink);
  margin: 0;
}
@media (max-width: 800px) {
  .benefits__grid { grid-template-columns: 1fr; }
  .benefits__card { padding: 30px 24px 30px 100px; }
}

/* ============ CASES — green ============ */
.cases { padding: 110px 0; background: var(--green); color: var(--paper); border-block: var(--bw) solid var(--ink); position: relative; overflow: hidden; }
.cases .sec-head .h-mid, .cases .sec-head .lead, .cases .sec-head .fig { color: var(--paper); }
.cases__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}
.case {
  border: var(--bw) solid var(--ink);
  background: var(--paper);
  color: var(--ink);
  padding: 0;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform .22s, box-shadow .22s;
  box-shadow: var(--shadow-hard);
}
.case:nth-child(odd)  { transform: rotate(-0.6deg); }
.case:nth-child(even) { transform: rotate( 0.6deg); }
.case:hover { transform: rotate(0) translate(-3px, -5px); box-shadow: var(--shadow-hard-lg); }
.case__img {
  position: relative;
  height: 260px;
  overflow: hidden;
  border-bottom: var(--bw) solid var(--ink);
  background: var(--cream);
}
.case__img img,
.case__img svg { width: 100%; height: 100%; object-fit: cover; display: block; }
.case__img .n {
  position: absolute;
  top: 16px; left: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink);
  background: var(--paper);
  padding: 6px 12px;
  border: var(--bw) solid var(--ink);
  z-index: 2;
}

/* ---- Branded logo card (client logo on brand colour) ---- */
.case__logo { display: flex; align-items: center; justify-content: center; }
.case__logo--orange { background: var(--orange); }
.case__logo--blue   { background: var(--blue); }
.case__logo--pink   { background: var(--pink); }
.case__logo--green  { background: var(--green); }
.case__logo--ink    { background: var(--ink); }
.case__logo .case__brand {
  position: static;
  width: auto;
  height: auto;
  max-width: 64%;
  max-height: 92px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.97;
  transition: transform .25s ease;
}
.case:hover .case__brand { transform: scale(1.05); }
.case__sector {
  position: absolute;
  bottom: 14px; right: 16px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 10px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--paper);
  opacity: 0.92;
  z-index: 2;
}
.case__body {
  padding: 22px 26px 26px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.case__body h3 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 24px;
  line-height: 0.95;
  margin: 0;
  letter-spacing: -0.005em;
  color: var(--ink);
}
.case__body h3 em { font-style: italic; display: inline-block; transform: skewX(-10deg); }
.case__body .impact {
  font-size: 14px;
  line-height: 1.55;
  color: var(--ink);
  margin: 0;
}
.case__body .client {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: var(--bw) solid var(--ink);
  background: var(--cream);
  color: var(--ink);
  align-self: flex-start;
}
.case__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: auto;
}
.case__more {
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink);
  text-decoration: none;
  border-bottom: 2px solid var(--ink);
  padding-bottom: 2px;
  transition: gap .2s, opacity .2s;
  white-space: nowrap;
}
.case__more:hover { opacity: 0.6; }
@media (max-width: 800px) { .cases__grid { grid-template-columns: 1fr; } }

/* ============ TEAM — ink ============ */
.team {
  padding: 110px 0;
  background: var(--ink);
  color: var(--paper);
  border-block: var(--bw) solid var(--ink);
  position: relative;
  overflow: hidden;
}
.team .sec-head .h-mid, .team .sec-head .lead, .team .sec-head .fig { color: var(--paper); }
.team__grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 44px; align-items: center; }
.team__photo {
  border: var(--bw) solid var(--paper);
  overflow: hidden;
  aspect-ratio: 4/3;
  background: var(--paper);
  position: relative;
  box-shadow: 8px 8px 0 0 var(--orange);
  transform: rotate(-1deg);
}
.team__photo img { width: 100%; height: 100%; object-fit: cover; }
.team__photo .team__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease;
  z-index: 1;
}
.team__photo .team__slide.is-on { opacity: 1; z-index: 2; }
.team__copy { padding: 0; position: relative; }
.team__copy .fig { color: var(--orange); margin-bottom: 14px; }
.team__copy .h-mid { color: var(--paper); margin-bottom: 18px; }
.team__copy p { font-size: 17px; line-height: 1.55; color: var(--paper); margin: 0 0 22px; max-width: 44ch; opacity: 0.95; }
.team__values {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.team__values .sticker {
  background: var(--paper);
  color: var(--ink);
  border-color: var(--paper);
}
.team__values .sticker:nth-child(2n) { background: var(--orange); color: var(--paper); border-color: var(--orange); }
.team__values .sticker:nth-child(3n) { background: var(--green);  color: var(--paper); border-color: var(--green); }
.team .pill { background: var(--paper); color: var(--ink); border-color: var(--paper); }
@media (max-width: 880px) {
  .team__grid { grid-template-columns: 1fr; gap: 28px; }
  /* En una sola columna el marco ocupa todo el ancho: quitamos la rotación
     (sus esquinas se salían del viewport y cortaban el marco) y dejamos el
     aspecto natural para que SIEMPRE se vea completo, con su sombra dentro. */
  .team__photo {
    transform: rotate(0);
    width: 100%;
    max-width: 100%;
    aspect-ratio: 4 / 3;
    min-height: 0;
    box-shadow: 6px 6px 0 0 var(--orange);
  }
}

/* El sitio nunca debe poder desplazarse en horizontal — evita que marcos
   rotados, sombras o anchos del carrusel “corten” el contenido en pantallas
   de una columna (antes solo se aplicaba ≤768px y fallaba en 769–880px). */
html, body { overflow-x: hidden; max-width: 100%; }

/* ============ CLIENTS — paper grid ============ */
.clients { padding: 90px 0; background: var(--paper); border-top: var(--bw) solid var(--ink); position: relative; overflow: hidden; }
.clients__grid {
  display: flex;
  flex-wrap: wrap;
  gap: var(--bw);
  border: var(--bw) solid var(--ink);
  background: var(--ink);
  box-shadow: var(--shadow-hard);
  transform: rotate(-0.4deg);
}
.clients__cell {
  flex: 1 1 calc(33.333% - var(--bw));
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--blue);
  min-height: 112px;
  transition: background .2s;
}
.clients__cell img {
  max-width: 45%;
  max-height: 59px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 1;
  transform: scale(var(--logo-scale, 1));
  transition: transform .2s;
}
.clients__cell:hover { background: #0049c2; }
.clients__cell:hover img { transform: scale(calc(var(--logo-scale, 1) * 1.12)); }

/* Rotación automática del banco de logos: cada logo entra con un fundido suave */
@keyframes clientsLogoIn {
  from { opacity: 0; transform: scale(calc(var(--logo-scale, 1) * 0.86)); }
  to   { opacity: 1; transform: scale(var(--logo-scale, 1)); }
}
.clients__logo { animation: clientsLogoIn .55s ease both; }
@media (prefers-reduced-motion: reduce) {
  .clients__logo { animation: none; }
}
@media (max-width: 1000px) {
  .clients__cell { flex-basis: calc(33.333% - var(--bw)); }
}
@media (max-width: 600px) {
  .clients__cell { flex-basis: calc(50% - var(--bw)); }
}

/* ============ TESTIMONIALS — ink rotating quotes ============ */
.testim {
  padding: 120px 0 110px;
  background: var(--ink);
  color: var(--paper);
  border-top: var(--bw) solid var(--ink);
  position: relative;
  overflow: hidden;
}
.testim .sec-head__r .lead { color: var(--paper); }
.testim .fig em { color: var(--orange); }
.testim__stage {
  position: relative;
  margin-top: 60px;
  border: var(--bw) solid var(--paper);
  background: var(--ink);
  border-radius: 18px;
  padding: 80px 90px 70px;
  box-shadow: 8px 8px 0 var(--orange);
  transform: rotate(-0.6deg);
}
.testim__quote-mark {
  position: absolute;
  top: -54px;
  left: 30px;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 220px;
  line-height: 1;
  color: var(--orange);
  font-weight: 900;
  pointer-events: none;
}
.testim__viewport {
  position: relative;
  min-height: 280px;
}
.testim__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 30px;
}
.testim__slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.testim__quote {
  font-family: var(--font-display);
  font-size: 38px;
  line-height: 1.2;
  font-weight: 300;
  color: var(--paper);
  margin: 0;
  text-wrap: pretty;
  max-width: 32ch;
}
.testim__meta {
  display: flex;
  align-items: center;
  gap: 14px;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 700;
}
.testim__company {
  color: var(--orange);
  font-style: italic;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: none;
  font-weight: 700;
}
.testim__sep { opacity: 0.5; }
.testim__year { opacity: 0.8; font-weight: 400; }
.testim__controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 50px;
}
.testim__nav {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: 2px solid var(--paper);
  background: transparent;
  color: var(--paper);
  font-size: 22px;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
  font-family: inherit;
}
.testim__nav:hover {
  background: var(--orange);
  border-color: var(--orange);
  color: var(--ink);
  transform: translate(-2px, -2px);
}
.testim__dots {
  display: flex;
  gap: 10px;
  align-items: center;
}
.testim__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.3);
  border: none;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease, width 0.3s ease;
  padding: 0;
}
.testim__dot.active {
  background: var(--orange);
  width: 32px;
  border-radius: 5px;
}
.testim__count {
  position: absolute;
  top: 28px;
  right: 32px;
  font-family: var(--font-mono, monospace);
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.7;
}
.testim__count em {
  font-style: italic;
  color: var(--orange);
  opacity: 1;
}
@media (max-width: 720px) {
  .testim__stage { padding: 60px 28px 50px; }
  .testim__quote { font-size: 26px; }
  .testim__quote-mark { font-size: 140px; top: -36px; left: 12px; }
  .testim__count { top: 14px; right: 16px; }
}

/* ============ FAQ — cream ============ */
.faq { padding: 110px 0; background: var(--cream); color: var(--ink); position: relative; overflow: hidden; }
.faq__list {
  border: var(--bw) solid var(--ink);
  overflow: hidden;
  background: var(--paper);
  box-shadow: var(--shadow-hard);
}
.faq__item { border-bottom: var(--bw) solid var(--ink); }
.faq__item:last-child { border-bottom: 0; }
.faq__q {
  display: grid;
  grid-template-columns: 60px 1fr 44px;
  align-items: center;
  gap: 18px;
  width: 100%;
  text-align: left;
  padding: 24px 30px;
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 18px;
  background: transparent;
  border: 0;
  cursor: pointer;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.1;
  transition: background .2s;
}
.faq__q:hover { background: var(--cream); }
.faq__q .qnum {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--orange);
  text-transform: uppercase;
}
.faq__q .toggle {
  width: 36px; height: 36px;
  border: var(--bw) solid var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--paper);
  font-size: 20px;
  font-family: var(--font-body);
  font-weight: 700;
  transition: transform .25s, background .2s;
  flex-shrink: 0;
}
.faq__item.open .toggle { transform: rotate(45deg); background: var(--orange); color: var(--paper); }
.faq__a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
  font-size: 15px;
  line-height: 1.6;
  color: var(--ink);
}
.faq__a-inner { padding: 0 30px 26px 110px; max-width: 70ch; }
.faq__item.open .faq__a { max-height: 500px; }
@media (max-width: 800px) {
  .faq__q { grid-template-columns: 1fr 36px; }
  .faq__q .qnum { display: none; }
  .faq__a-inner { padding: 0 30px 26px; }
}

/* ============ CTA / FOOTER ============ */
.cta {
  padding: 130px 0 100px;
  text-align: center;
  background: var(--orange);
  color: var(--paper);
  border-top: var(--bw) solid var(--ink);
  position: relative;
  overflow: hidden;
}
.cta h2 {
  font-family: var(--font-display);
  font-weight: 900;
  text-transform: uppercase;
  font-size: clamp(54px, 8.4vw, 124px);
  line-height: 0.92;
  margin: 0 0 28px;
  letter-spacing: -0.012em;
  color: var(--paper);
}
.cta h2 em {
  font-style: italic;
  display: inline-block;
  transform: skewX(-10deg);
  padding: 0 .04em;
}
.cta p {
  max-width: 56ch;
  margin: 0 auto 32px;
  font-size: 17px;
  line-height: 1.5;
  color: var(--paper);
  opacity: 0.95;
}
.cta .pill { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.cta .pill--ink { background: var(--ink); color: var(--paper); border-color: var(--ink); }

.footer {
  background: var(--ink);
  color: var(--paper);
  padding: 70px 0 30px;
  font-size: 13px;
  border-top: var(--bw) solid var(--ink);
}
.footer__top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.18);
  margin-bottom: 28px;
}
.footer__col h5 {
  font-family: var(--font-body);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.20em;
  text-transform: uppercase;
  margin: 0 0 14px;
  color: var(--orange);
}
.footer__col a {
  display: block;
  padding: 5px 0;
  opacity: 0.85;
  font-weight: 300;
}
.footer__col a:hover { opacity: 1; color: var(--orange); }
.footer__logo { height: 48px; margin-bottom: 18px; }
.footer__logo img { height: 100%; width: auto; }
.footer__bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 12px;
  color: rgba(255,255,255,.65);
}
@media (max-width: 800px) { .footer__top { grid-template-columns: 1fr 1fr; } }

/* ============ utilities ============ */
.spacer { height: 60px; }
.spacer-sm { height: 30px; }
.center { text-align: center; }
.row { display: flex; gap: 12px; flex-wrap: wrap; align-items: center; }
.row--center { justify-content: center; }

/* photo placeholder generic */
.ph-photo {
  position: relative;
  border: var(--bw) solid var(--ink);
  overflow: hidden;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.06) 0 12px, rgba(0,0,0,0) 12px 24px),
    var(--cream);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 180px;
}

/* ============ Lead capture modal ============ */
.lead-modal {
  position: fixed;
  inset: 0;
  background: rgba(41, 41, 41, 0.65);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  animation: leadFade 180ms ease-out;
}
@keyframes leadFade { from { opacity: 0; } to { opacity: 1; } }
.lead-modal__card {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  box-shadow: 8px 8px 0 var(--ink);
  padding: 36px 32px 30px;
  max-width: 480px;
  width: 100%;
  position: relative;
  transform: rotate(-0.4deg);
  animation: leadIn 220ms cubic-bezier(0.4, 1.4, 0.6, 1);
}
@keyframes leadIn {
  from { transform: rotate(-0.4deg) translateY(20px) scale(0.96); opacity: 0; }
  to   { transform: rotate(-0.4deg) translateY(0) scale(1); opacity: 1; }
}
.lead-modal__close {
  position: absolute;
  top: 12px;
  right: 14px;
  background: transparent;
  border: none;
  font-size: 28px;
  font-weight: 900;
  cursor: pointer;
  line-height: 1;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--ink);
  transition: background 120ms ease;
}
.lead-modal__close:hover { background: var(--ink); color: var(--paper); }
.lead-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 18px;
}
.lead-form label {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-family: 'GT Flexa', sans-serif;
}
.lead-form label > span {
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--ink);
}
.lead-form input {
  font-family: 'GT Flexa', sans-serif;
  font-size: 15px;
  padding: 12px 14px;
  border: 2px solid var(--ink);
  background: #fff;
  outline: none;
  transition: box-shadow 120ms ease, transform 120ms ease;
}
.lead-form input:focus {
  box-shadow: 4px 4px 0 var(--orange);
  transform: translate(-1px, -1px);
}
.lead-form label em {
  font-style: italic;
  font-size: 12px;
  color: var(--orange);
  font-weight: 700;
}

/* ============================================================
   ============ MOBILE OPTIMIZATIONS (≤768px) ================
   ============================================================ */
@media (max-width: 768px) {
  html, body { overflow-x: hidden; }

  /* ---------- Container ---------- */
  .wrap { padding: 0 18px; }


  /* ---------- Section paddings ---------- */
  .hero       { padding: 24px 0 56px; }
  .svc        { padding: 60px 0 64px; }
  .process    { padding: 60px 0 56px; }
  .stats      { padding: 60px 0 56px; }
  .benefits   { padding: 60px 0 56px; }
  .cases      { padding: 60px 0 56px; }
  .team       { padding: 60px 0 56px; }
  .clients    { padding: 60px 0 64px; }
  .testim     { padding: 60px 0 64px; }
  .faq        { padding: 60px 0 64px; }
  .cta        { padding: 80px 0; }

  /* ---------- Hero ---------- */
  .hero__top {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
    font-size: 10px;
  }
  .hero__top-l, .hero__top-r { gap: 10px; flex-wrap: wrap; }
  .hero__display { margin: 12px 0 24px; }
  .hero__display .h-display { font-size: clamp(44px, 11vw, 64px) !important; line-height: 0.88; }
  .h-display { font-size: clamp(44px, 11vw, 64px); letter-spacing: -0.01em; }
  /* Decorative shapes — hide or shrink on small screens */
  .hero__display .star,
  .hero__display .star5,
  .hero__display .big-arrow,
  .hero__display .scribble { transform: scale(0.55) !important; }
  .hero__grid { gap: 24px; }
  .hero__photo { min-height: 340px; transform: rotate(-0.6deg); }
  .hero__panel { padding: 28px 22px; transform: rotate(0.6deg); }
  .hero__panel h2,
  .hero__panel h2 em { font-size: 32px !important; line-height: 0.95; }
  .hero__panel p { font-size: 15px; }
  .hero__panel-bottom { gap: 10px; flex-direction: column; align-items: stretch; }
  .hero__panel-bottom .pill { font-size: 11px; padding: 12px 14px; width: 100%; justify-content: center; text-align: center; white-space: normal; }

  /* ---------- Section heads (h2.h-mid is used everywhere with inline fontSize:65px) ---------- */
  .h-mid,
  .sec-head h2.h-mid { font-size: 38px !important; line-height: 0.92; }
  .sec-head { gap: 16px; }
  .sec-head__r .stamp { display: none; }
  .sec-head__r .lead { font-size: 15px; }
  .fig { font-size: 10px; letter-spacing: 0.14em; }

  /* ---------- Marquees (keep but shrink) ---------- */
  .bigmar__track > span { font-size: clamp(40px, 12vw, 64px); padding: 0 16px; }
  .marquee__track { font-size: 11px; }

  /* ---------- Services ---------- */
  .svc__grid { gap: 18px; }
  .svc__card { padding: 26px 22px; }
  .svc__card h3 { font-size: 22px !important; }
  .svc__card p { font-size: 15px !important; }
  .deliv__label { font-size: 10px; }
  .deliv span { font-size: 11px; padding: 6px 10px; }

  /* ---------- Process ---------- */
  .process__grid { gap: 16px; }
  .process__card { padding: 24px 22px; min-height: auto; }
  .process__card .num { font-size: 64px; line-height: 1; }
  .process__card .step { font-size: 10px; }
  .process__card h3 { font-size: 22px !important; }
  .process__card p { font-size: 14px; }

  /* ---------- Stats (HUGE inline 150px / 85px) ---------- */
  .stats__card { padding: 30px 20px; }
  .stats__card .num { font-size: 96px !important; line-height: 0.9; }
  .stats__card .num em { font-size: 64px !important; }
  .stats__card h4 { font-size: 18px; }
  .stats__card p { font-size: 14px; }

  /* ---------- Benefits ---------- */
  .benefits__card { padding: 24px 22px 24px 84px !important; }
  .benefits__card .letter { width: 56px; left: 18px; font-size: 38px; }
  .benefits__card h3 { font-size: 22px; }
  .benefits__card p { font-size: 14px; }

  /* ---------- Cases ---------- */
  .case__card { padding: 22px; }
  .case__img { min-height: 180px; aspect-ratio: 16 / 11; }
  .case__body h3 { font-size: 22px; }
  .case__body .impact { font-size: 14px; }

  /* ---------- Team ---------- */
  .team__grid { gap: 24px; }
  .team__photo { transform: rotate(0); aspect-ratio: 4 / 3; min-height: 0; }
  .team__copy h2 { font-size: 38px !important; }
  .team__copy p { font-size: 15px; }

  /* ---------- Clients ---------- */
  .clients__cell { padding: 12px 10px; }
  .clients__cell img { max-height: 64px; }

  /* ---------- Testimonials ---------- */
  .testim__stage { padding: 50px 22px 44px; }
  .testim__quote { font-size: 22px !important; line-height: 1.25; }
  .testim__author { font-size: 13px; }
  .testim__count { font-size: 11px; }

  /* ---------- FAQ ---------- */
  .faq__q { padding: 22px 16px; grid-template-columns: 1fr 32px; }
  .faq__q h3 { font-size: 17px; line-height: 1.25; }
  .faq__q .qnum { display: none; }
  .faq__a-inner { padding: 0 16px 22px 16px; font-size: 14px; }
  .toggle { width: 32px; height: 32px; }

  /* ---------- CTA ---------- */
  .cta h2,
  .cta h2 em { font-size: 40px !important; line-height: 0.95; }
  .cta p { font-size: 15px; }
  .cta .row { flex-direction: column; gap: 12px; align-items: stretch; }
  .cta .row .pill { text-align: center; }

  /* ---------- Pills (CTA buttons) ---------- */
  .pill { font-size: 11px; padding: 10px 16px; }

  /* ---------- Footer ---------- */
  .footer { padding: 60px 0 32px; }
  .footer__top { grid-template-columns: 1fr !important; gap: 28px; }
  .footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
  }

  /* ---------- Decorative shapes — reduce visual noise on mobile ---------- */
  section > .star,
  section > .star5,
  section > .scribble,
  section > .big-arrow { transform: scale(0.55) !important; opacity: 0.6; }

  /* ---------- Tweaks panel — keep but compact ---------- */
  .tweaks-panel { max-width: 92vw !important; right: 4vw !important; }
}

/* ============ Extra small phones (≤420px) ============ */
@media (max-width: 420px) {
  .wrap { padding: 0 14px; }
  .hero__display .h-display { font-size: 42px !important; }
  .h-mid, .sec-head h2.h-mid { font-size: 32px !important; }
  .hero__panel h2, .hero__panel h2 em { font-size: 28px !important; }
  .stats__card .num { font-size: 80px !important; }
  .stats__card .num em { font-size: 54px !important; }
  .cta h2, .cta h2 em { font-size: 32px !important; }
  .bigmar__track > span { font-size: 36px; }
  .clients__grid { grid-template-columns: repeat(2, 1fr); }
}

/* =================================================================
   ===========  FLUID RESPONSIVE LAYER  (320px → 1920px+)  =========
   Centralised fluid typography + intermediate breakpoints so the
   layout holds, text stays legible, and nothing overflows at any
   viewport. clamp() rules override the hard-coded inline sizes in
   the JSX, replacing the abrupt 768px step-downs with smooth scaling.
   Loaded last so it wins where intended.
   ================================================================= */

/* ---- Global overflow & wrapping guards ---- */
html, body { max-width: 100%; overflow-x: hidden; }
img, svg, video { max-width: 100%; }

/* ---- NEVER split words mid-character. Wrap only between words; the
   fit-text routine shrinks a line's font when a whole word would
   otherwise overflow. (Overrides base word-break:break-word rules.) ---- */
.h-display, .h-mid, .cta h2, .hero__panel h2,
.stats__card .num, .stats__card h4, .stats__card p,
.testim__quote, .bigmar__track > span,
.svc__card h3, .svc__card p, .process__card h3, .process__card p,
.case__body h3, .case__body .impact, .benefits__card h3, .benefits__card p,
.faq__q, .faq__q span, .quiz__q, .lead, p, li, a, h1, h2, h3, h4, h5 {
  word-break: normal !important;
  overflow-wrap: normal !important;
  hyphens: manual !important;
}

/* ---- Fluid display / heading type (overrides inline px) ---- */
/* Hero: ceiling + vw chosen so the longest single word ("TRANSFORMAMOS",
   ~18.75× its font-size wide in this ultra-expanded face) fits on one line at
   ANY viewport via CSS alone — fit-text.js refines, this is the safety net. */
.hero__display .h-display {
  font-size: clamp(2.6rem, 6.6vw, 100px) !important;
  line-height: 0.92;
}
.sec-head h2.h-mid,
.team__copy h2.h-mid {
  font-size: clamp(2rem, 5.6vw, 75px) !important;
  line-height: 0.92;
}
.hero__panel h2,
.hero__panel h2 em {
  font-size: clamp(1.9rem, 5vw, 60px) !important;
  line-height: 0.95;
}
.cta h2, .cta h2 em {
  font-size: clamp(2.4rem, 7vw, 100px) !important;
  line-height: 0.92;
}
.bigmar__track > span {
  font-size: clamp(2.4rem, 8vw, 110px) !important;
}

/* ---- Stats giant numerals (inline 150 / 85) ---- */
.stats__card .num {
  font-size: clamp(4.5rem, 12vw, 140px) !important;
  line-height: 0.85;
  white-space: nowrap;
}
.stats__card .num em {
  font-size: 0.58em !important;
}

/* ---- Heading <em>s carry hardcoded inline px sizes in the JSX; force them to
   scale WITH their parent so fit-text's parent shrink actually shrinks the
   whole line (otherwise a big inline-sized em keeps overflowing). ---- */
.h-display em, .h-mid em, .hero__panel h2 em, .cta h2 em,
.svc__card h3 em, .process__card h3 em, .case__body h3 em,
.benefits__card h3 em, .quiz__head h2.h-mid em, .testim__quote em {
  font-size: 1em !important;
}

/* ---- Testimonial pull-quote ---- */
.testim__quote { font-size: clamp(1.5rem, 3.4vw, 45px) !important; }

/* ---- Card body copy: keep legible (never below ~15px) ---- */
.svc__card h3 { font-size: clamp(30px, 3.4vw, 46px) !important; line-height: 0.95; }
.svc__card p  { font-size: clamp(15px, 1.3vw, 16px) !important; }
.case__body h3,
.benefits__card h3 { font-size: clamp(20px, 2vw, 24px) !important; }
.process__card p, .case__body .impact,
.benefits__card p, .stats__card p { font-size: clamp(14px, 1.2vw, 15px) !important; }
.lead { font-size: clamp(15px, 1.4vw, 17px) !important; }

/* =================================================================
   NAV → hamburger for everything that can't fit the full pill row
   (the row needs ~930px; switch at ≤1000px to cover tablets &
   small laptops too).
   ================================================================= */
@media (max-width: 1000px) {
  .nav {
    padding: 14px 18px;
    flex-wrap: nowrap;
    position: relative;
    z-index: 120;
  }
  .nav__logo { height: auto; }
  .nav__logo img { height: 72px !important; }
  .nav__burger { display: flex; }

  .nav__links {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(82vw, 360px);
    background: var(--paper);
    border-left: var(--bw) solid var(--ink);
    box-shadow: -8px 0 0 rgba(41,41,41,0.12);
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    padding: 96px 26px 36px;
    transform: translateX(105%);
    transition: transform .3s cubic-bezier(.4,0,.2,1);
    z-index: 130;
    overflow-y: auto;
  }
  .nav--open .nav__links { transform: translateX(0); }

  .nav__links .pill {
    width: 100%;
    justify-content: center;
    font-size: 14px;
    padding: 15px 18px;
    letter-spacing: 0.08em;
  }
  .nav__links .lang-toggle {
    margin-top: 8px;
    align-self: center;
    font-size: 13px;
  }
  .nav__links .lang-toggle button { padding: 11px 18px; }

  .nav__scrim {
    display: block;
    position: fixed;
    inset: 0;
    background: rgba(41,41,41,0.5);
    z-index: 125;
    animation: leadFade 200ms ease-out;
  }
}

/* =================================================================
   TABLET / SMALL-LAPTOP grid smoothing (≤1100px)
   Stops the 4-up grids from squeezing into ~200px columns before
   the existing mobile breakpoints take over.
   ================================================================= */
@media (max-width: 1100px) {
  .process__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Two-column tablet band: tighten section padding so the long page
   doesn't feel sparse, while keeping breathing room. */
@media (min-width: 769px) and (max-width: 1000px) {
  .section, .svc, .process, .stats, .benefits,
  .cases, .team, .clients, .testim, .faq { padding-top: 84px; padding-bottom: 84px; }
  .cta { padding: 100px 0; }
  .sec-head { grid-template-columns: 1fr; gap: 18px; }
  .sec-head__r { flex-direction: row; align-items: center; justify-content: space-between; flex-wrap: wrap; }
  .sec-head__r .lead { max-width: 52ch; }
}

/* =================================================================
   LARGE / WIDE screens (≥1600px) — keep the editorial frame from
   floating in a sea of whitespace; nudge the content cap up a touch.
   ================================================================= */
@media (min-width: 1600px) {
  :root { --maxw: 1440px; }
}

/* =================================================================
   TÍTULOS — GT Flexa Standard Bold, en formato oración (sin all-caps).
   Solo afecta a los encabezados/títulos. Las etiquetas pequeñas
   (eyebrow, fig, pill, sticker, marquees, "cooperativa de diseño…")
   conservan su tipografía y mayúsculas.
   ================================================================= */
.h-display,
.h-mid,
.h-sm,
.hero__panel h2,
.svc__card h3,
.quiz__q,
.quiz__result h3,
.quiz__result .reco h4,
.process__card h3,
.stats__card h4,
.benefits__card h3,
.case__body h3,
.faq__q,
.cta h2 {
  text-transform: none;
}

/* =================================================================
   PALABRAS CLAVE EN TÍTULOS — antes en cursiva/inclinadas, ahora
   rectas y resaltadas con un subrayado de línea recta continua.
   No afecta números (.num em), marquees, ni decorativos.
   ================================================================= */
.h-display em,
.h-mid em,
.hero__panel h2 em,
.svc__card h3 em,
.quiz__q em,
.quiz__result h3 em,
.process__card h3 em,
.benefits__card h3 em,
.case__body h3 em,
.cta h2 em {
  font-style: normal;
  transform: none;
  text-decoration-line: underline;
  text-decoration-thickness: 0.06em;
  text-underline-offset: 0.12em;
  text-decoration-skip-ink: none;
}

/* =================================================================
   NÚMEROS PRINCIPALES — solo los números grandes de "Nuestro método"
   (.process__card .num) y "El impacto de nuestros proyectos"
   (.stats__card .num) usan GT Flexa X-Expanded-Black, en redonda
   (sin cursiva ni inclinación). No afecta a ningún otro elemento.
   ================================================================= */
@font-face {
  font-family: 'GT Flexa Numeral';
  src: url('fonts/GT-Flexa-X-Expanded-Black.ttf') format('truetype');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}
.process__card .num, .process__card .num em,
.stats__card .num, .stats__card .num em {
  font-family: 'GT Flexa Numeral', 'GT Flexa Display', sans-serif !important;
  font-style: normal !important;
  transform: none !important;
}

/* =================================================================
   HERO — carrusel de fotos (crossfade automático cada 4s)
   ================================================================= */
.hero__photo .hero__slide {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; z-index: 1;
  opacity: 0;
  transition: opacity 0.9s ease;
}
.hero__photo .hero__slide.is-on { opacity: 1; }

/* =================================================================
   PROYECTOS — video de fondo + tinte de marca + artefacto del entregable
   ================================================================= */
.case__img .case__vid { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:0; }
.case__img--orange{ background:var(--orange); }
.case__img--blue{ background:var(--blue); }
.case__img--green{ background:var(--green); }
.case__img--pink{ background:var(--pink); }
.case__img--ink{ background:var(--ink); }
.case__img .case__tint { position:absolute; inset:0; z-index:1; }
.case__tint--orange{ background:var(--orange); opacity:.62; }
.case__tint--blue{ background:var(--blue); opacity:.6; }
.case__tint--green{ background:var(--green); opacity:.66; }
.case__tint--pink{ background:var(--pink); opacity:.62; }
.case__tint--ink{ background:var(--ink); opacity:.5; }
.case__img .svc-tag{ position:absolute; top:16px; left:16px; z-index:6; background:var(--ink); color:#fff; font-family:var(--font-body); font-weight:700; font-size:10.5px; letter-spacing:.14em; text-transform:uppercase; padding:6px 11px; border:var(--bw) solid var(--ink); }
.case__img .sector{ position:absolute; bottom:16px; right:16px; z-index:6; background:var(--paper); color:var(--ink); font-family:var(--font-body); font-weight:700; font-size:10px; letter-spacing:.13em; text-transform:uppercase; padding:5px 10px; border:var(--bw) solid var(--ink); }
.case__art{ position:absolute; inset:0; z-index:3; display:flex; align-items:center; justify-content:center; transform:scale(1.05); }
.case__art .device{ background:#fff; border:var(--bw) solid var(--ink); box-shadow:var(--shadow-hard-sm); position:relative; }
/* browser */
.case__art .browser{ width:320px; transform:rotate(-1.6deg) scale(0.85); }
.case__art .b-bar{ display:flex; align-items:center; gap:6px; padding:8px 10px; border-bottom:var(--bw) solid var(--ink); background:var(--cream); }
.case__art .b-bar .dot{ width:9px; height:9px; border-radius:50%; border:1.5px solid var(--ink); background:#fff; }
.case__art .b-url{ flex:1; height:11px; margin-left:6px; background:#fff; border:1.5px solid var(--ink); }
.case__art .b-screen{ padding:13px; }
.case__art .b-hero{ background:var(--green); border:var(--bw) solid var(--ink); padding:12px; display:flex; flex-direction:column; gap:7px; }
.case__art .b-hero .tag{ font-family:var(--font-display); font-weight:900; color:#fff; font-size:13px; letter-spacing:.02em; }
.case__art .b-hero .ln{ height:7px; background:rgba(255,255,255,.92); }
.case__art .b-hero .ln.short{ width:55%; }
.case__art .b-row{ display:flex; gap:9px; margin-top:10px; }
.case__art .b-c{ flex:1; height:34px; background:var(--cream); border:var(--bw) solid var(--ink); display:flex; align-items:flex-end; }
.case__art .b-c span{ display:block; width:100%; height:9px; }
/* sheet */
.case__art .sheet{ width:300px; padding:13px 15px 15px; transform:rotate(1.4deg) scale(0.85); }
.case__art .s-title{ font-family:var(--font-display); font-weight:900; font-size:13px; letter-spacing:-.01em; margin-bottom:10px; }
.case__art .s-title span{ font-weight:300; font-family:var(--font-body); color:#666; }
/* edu */
.case__art .b-screen.edu{ display:flex; gap:9px; padding:13px; }
.case__art .edu-main{ flex:1.5; border:var(--bw) solid var(--ink); background:var(--blue); height:66px; display:flex; align-items:center; justify-content:center; }
.case__art .edu-play{ width:0; height:0; border-left:16px solid #fff; border-top:10px solid transparent; border-bottom:10px solid transparent; margin-left:3px; }
.case__art .edu-side{ flex:1; display:flex; flex-direction:column; gap:6px; justify-content:center; }
.case__art .edu-mod{ height:13px; background:var(--cream); border:1.5px solid var(--ink); }
.case__art .edu-mod.on{ background:var(--mint); }
/* board */
.case__art .sheet:has(.board){ transform:rotate(1.4deg) scale(0.935); }
.case__art .board{ display:grid; grid-template-columns:repeat(4,1fr); gap:7px; width:100%; }
.case__art .board .cell{ height:28px; border:var(--bw) solid var(--ink); background:#fff; position:relative; }
.case__art .sticky{ position:absolute; width:14px; height:14px; border:1.5px solid var(--ink); top:7px; left:7px; }
.case__art .st-o{ background:var(--orange); } .case__art .st-b{ background:var(--sky); } .case__art .st-p{ background:var(--pink); } .case__art .st-g{ background:var(--mint); } .case__art .st-y{ background:#FFC2AD; }
/* stepper */
.case__art .mc-head{ font-family:var(--font-display); font-weight:900; font-size:13px; margin-bottom:10px; }
.case__art .mc-head span{ font-weight:300; font-family:var(--font-body); color:#666; }
.case__art .stepper{ display:flex; align-items:center; margin-bottom:12px; }
.case__art .stepper .sd{ width:12px; height:12px; border-radius:50%; border:var(--bw) solid var(--ink); background:#fff; flex:none; }
.case__art .stepper .sd.on{ background:var(--pink); }
.case__art .stepper .sl{ height:2px; background:var(--ink); flex:1; }
/* roadmap */
.case__art .roadmap{ position:relative; display:flex; align-items:center; justify-content:space-between; height:100px; padding:0 6px; width:100%; }
.case__art .roadmap .rline{ position:absolute; left:10px; right:10px; top:50%; height:2px; background:var(--ink); }
.case__art .roadmap .ms{ position:relative; z-index:1; display:flex; flex-direction:column; align-items:center; gap:6px; }
.case__art .roadmap .rbar{ width:30px; height:8px; background:var(--cream); border:var(--bw) solid var(--ink); }
.case__art .roadmap .rbar.b2{ width:22px; }
.case__art .roadmap .rdot{ width:16px; height:16px; border:var(--bw) solid var(--ink); border-radius:50%; background:#fff; }
.case__art .roadmap .rdot.on{ background:var(--orange); }
/* opps */
.case__art .oppgrid{ display:grid; grid-template-columns:1fr 1fr; gap:7px; width:100%; }
.case__art .opp{ border:var(--bw) solid var(--ink); background:#fff; padding:8px 9px; display:flex; flex-direction:column; gap:6px; height:44px; justify-content:center; }
.case__art .opp .odot{ width:13px; height:13px; border-radius:50%; border:1.5px solid var(--ink); }
.case__art .opp .oln{ height:5px; width:78%; background:var(--cream); }
/* modules */
.case__art .modules{ display:flex; flex-direction:column; gap:8px; width:100%; }
.case__art .mod{ display:flex; align-items:center; gap:9px; border:var(--bw) solid var(--ink); background:#fff; padding:7px 9px; }
.case__art .mod .mnum{ width:20px; height:20px; border:var(--bw) solid var(--ink); background:var(--green); color:#fff; font-family:var(--font-display); font-weight:900; font-size:11px; display:flex; align-items:center; justify-content:center; flex:none; }
.case__art .mod .mbar{ height:7px; flex:1; background:var(--cream); }
.case__art .mod .mbar.s{ max-width:60%; }
/* phone */
.case__art .phone{ width:112px; border:var(--bw) solid var(--ink); border-radius:18px; padding:7px; transform:rotate(-3deg) scale(0.935); }
.case__art .phone .ph-speaker{ width:26px; height:4px; border-radius:3px; background:var(--ink); margin:0 auto 6px; }
.case__art .phone .ph-screen{ border:var(--bw) solid var(--ink); background:#fff; padding:7px; display:flex; flex-direction:column; gap:6px; }
.case__art .phone .ph-head{ height:24px; background:var(--pink); border:var(--bw) solid var(--ink); }
.case__art .phone .ph-row{ height:11px; background:var(--cream); border:1.5px solid var(--ink); }
.case__art .phone .ph-cta{ height:15px; background:var(--orange); border:var(--bw) solid var(--ink); margin-top:1px; }

/* ============ HERO lead (subtitle + primary CTA) ============ */
.hero__lead {
  margin-top: 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}
.hero__subtitle {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 20px;
  line-height: 1.4;
  color: var(--ink);
  text-wrap: pretty;
  margin: 0;
}
.hero__cta-row { display: flex; gap: 12px; flex-wrap: wrap; justify-content: flex-end; flex: 0 0 auto; }
.hero__cta-row .pill { font-size: 15px; padding: 13px 22px; }

/* ============ STATS source attribution ============ */
.stats__source {
  display: block;
  text-align: center;
  margin-top: 12px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-2);
}

/* ============ CONTACT FORM — lead capture (nombre + email + mensaje) ============ */
.contactf {
  padding: 96px 0;
  background: var(--paper);
  border-top: var(--bw) solid var(--ink);
  position: relative;
  overflow: hidden;
}
.contactf__card {
  background: var(--cream);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard-lg);
  border-radius: 4px;
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  transform: rotate(0.4deg);
}
.contactf__copy h2 { color: var(--ink); }
.contactf__copy p {
  margin-top: 14px;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  max-width: 46ch;
}
.contactf__form-wrap { display: flex; flex-direction: column; gap: 12px; }
.contactf__form { display: flex; flex-direction: column; gap: 12px; align-items: stretch; }
.contactf__form input,
.contactf__form textarea {
  width: 100%;
  padding: 14px 18px;
  border: var(--bw) solid var(--ink);
  border-radius: 18px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
}
.contactf__form input { border-radius: 999px; }
.contactf__form textarea { resize: vertical; min-height: 110px; line-height: 1.45; }
.contactf__form input:focus,
.contactf__form textarea:focus { outline: none; box-shadow: var(--shadow-hard-sm); transform: translate(-2px, -2px); }
.contactf__form .pill { align-self: flex-start; white-space: nowrap; }

@media (max-width: 880px) {
  .contactf__card { grid-template-columns: 1fr; gap: 26px; transform: rotate(0); padding: 40px 26px; }
}

/* ============ NEWSLETTER — lead capture ============ */
.news {
  padding: 96px 0;
  background: var(--cream);
  border-top: var(--bw) solid var(--ink);
  position: relative;
  overflow: hidden;
}
.news__card {
  background: var(--paper);
  border: var(--bw) solid var(--ink);
  box-shadow: var(--shadow-hard-lg);
  border-radius: 4px;
  padding: 52px 48px;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  align-items: center;
  transform: rotate(-0.4deg);
}
.news__copy h2 { color: var(--ink); }
.news__copy p {
  margin-top: 14px;
  font-family: var(--font-body);
  font-weight: 300;
  line-height: 1.5;
  color: var(--ink);
  max-width: 46ch;
}
.news__form-wrap { display: flex; flex-direction: column; gap: 12px; }
.news__form { display: flex; gap: 10px; flex-wrap: wrap; }
.news__form input {
  flex: 1 1 220px;
  min-width: 0;
  padding: 14px 18px;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 16px;
  background: var(--paper);
  color: var(--ink);
}
.news__form input:focus { outline: none; box-shadow: var(--shadow-hard-sm); transform: translate(-2px, -2px); }
.news__form .pill { white-space: nowrap; }
.news__note {
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 13px;
  color: var(--ink-2);
}
.news__thanks {
  font-family: var(--font-display);
  font-size: 24px;
  line-height: 1.2;
  color: var(--green, #009553);
}
.news__consent {
  display: block;
  margin-top: 8px;
  font-family: var(--font-body);
  font-weight: 300;
  font-size: 11.5px;
  line-height: 1.45;
  color: var(--ink-2);
  opacity: 0.85;
  max-width: 52ch;
}

/* ============ FOOTER coop mark ============ */
.footer__coop {
  display: block;
  margin-top: 22px;
  height: 34px;
  width: auto;
  opacity: 0.9;
}

/* ============ STICKY CTA ============ */
.sticky-cta {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 200;
  display: flex;
  gap: 10px;
  align-items: center;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity .25s ease, transform .25s ease;
}
.sticky-cta.is-on { opacity: 1; transform: translateY(0); pointer-events: auto; }
.sticky-cta .pill {
  box-shadow: var(--shadow-hard-sm);
  padding: 14px 22px;
}
.sticky-cta__top {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  border: var(--bw) solid var(--ink);
  border-radius: 999px;
  background: var(--paper);
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-hard-sm);
  transition: transform .2s, box-shadow .2s;
}
.sticky-cta__top:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow-hard); }

/* Botón "Agenda una llamada": texto en desktop, ícono de videollamada en móvil */
.sticky-cta__call { font-size: 14px; }
.sticky-cta__call-icon { display: none; }

@media (max-width: 600px) {
  /* La píldora se resume a un círculo con el ícono de chat.
     OJO: el padding va con !important porque ".sticky-cta .pill" tiene mayor
     especificidad y, si no, deja 44px de relleno que aplastan el ícono. */
  .sticky-cta__call {
    width: 52px;
    height: 52px;
    padding: 0 !important;
    flex: 0 0 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
  }
  .sticky-cta__call-text { display: none; }
  /* Ícono de chat en blanco, centrado y al mismo tamaño visual que la
     flecha "↑" del círculo blanco. flex-shrink:0 evita que se aplaste. */
  .sticky-cta__call-icon {
    display: block;
    width: 43px;
    height: 43px;
    flex: 0 0 auto;
    color: #fff;
  }
  .sticky-cta__call-icon path { fill: #fff; }
  /* El botón de subir queda exactamente igual (mismo tamaño que el de llamada) */
  .sticky-cta__top { width: 52px; height: 52px; flex: 0 0 52px; }
}

@media (max-width: 880px) {
  .news__card { grid-template-columns: 1fr; gap: 24px; padding: 36px 26px; }
  .hero__lead { flex-direction: column; align-items: flex-start; gap: 18px; }
  .hero__subtitle { max-width: 46ch; }
  .hero__cta-row { justify-content: flex-start; }
}
@media (max-width: 600px) {
  .hero__subtitle { font-size: 19px; }
  .sticky-cta { right: 12px; bottom: 12px; }
  /* La píldora de llamada se resume a ícono (regla arriba); no le devolvemos padding */
  .sticky-cta__call { font-size: 0; padding: 0; }
  .sticky-cta__top { width: 52px; height: 52px; flex-basis: 52px; }
}

/* ================================================================
   ===========  AJUSTES JUNIO 2026  ===============================
   (4) figuras SIEMPRE detrás del texto · (6) logos +15% en móvil
   (8) "+" de las cifras ≤ tamaño del número · refinamientos resp.
   ================================================================ */

/* ---- (4) El 100% de las figuras decorativas va detrás del texto ---- */
.deco-shape { z-index: 1 !important; pointer-events: none; }
/* El contenido de cada sección (.wrap) siempre por encima de las figuras */
.wrap { z-index: 3; }
.cta .wrap, .news .wrap { position: relative; z-index: 3; }

/* Hero: las figuras viven DENTRO de .hero__display, junto al texto.
   Forzamos el texto del hero por encima de ellas. */
.hero__display { z-index: 3; }
.hero__display > .h-display,
.hero__display > .hero__lead { position: relative; z-index: 4; }
.hero__display .deco-shape { z-index: 1 !important; }

/* ---- (8) El "+" nunca más grande que la cifra que acompaña ---- */
.stats__card .num {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.01em;
}
.stats__card .num .stats__plus {
  font-family: 'GT Flexa Numeral', 'GT Flexa Display', sans-serif;
  font-size: 0.56em;          /* ≈ igual o algo menor que el número, nunca mayor */
  line-height: 1;
}

/* ================================================================
   MÓVIL ≤768px — legibilidad y proporciones
   ================================================================ */
@media (max-width: 768px) {
  /* (6) Logos de clientes +~15% (se veían muy pequeños) */
  .clients__cell { min-height: 104px; }
  .clients__cell img { max-width: 52%; max-height: 68px; }
  /* (6) Logo de navegación un poco mayor */
  .nav__logo img { height: 74px !important; }

  /* Beneficios: el ícono dejaba de caber y pisaba el texto.
     Lo ponemos en flujo (arriba) para que el título nunca se corte. */
  .benefits__card { padding: 24px 22px !important; min-height: 0; }
  .benefits__card .icon {
    position: static;
    margin-bottom: 14px;
    width: 64px; height: 64px;
  }

  /* Hero móvil: el texto manda */
}

/* (4·móvil) Las figuras decorativas SIEMPRE ocultas cuando el layout pasa a
   una sola columna (≤880px): el ancho reducido no deja espacio seguro y
   terminaban pisando los titulares. Son puramente decorativas (aria-hidden),
   así que esconderlas no afecta el contenido y garantiza que NUNCA coincidan
   con el texto. */
@media (max-width: 880px) {
  .deco-shape { display: none !important; }
}

/* Móvil pequeño: testimonios — citas largas sin recortes ni solapes */
@media (max-width: 720px) {
  .testim__viewport { min-height: 380px; }
  .testim__slide { justify-content: flex-start; padding-top: 6px; }
  .testim__quote { font-size: 22px !important; line-height: 1.25; max-width: none; }
}
@media (max-width: 460px) {
  .testim__viewport { min-height: 420px; }
  .testim__quote { font-size: 20px !important; }
}

