/* =========================================================
   TOKENS — cambiá colores y fuentes desde acá
   ========================================================= */
:root {
  /* Colores base */
  --ink: #1e1e1e;          /* fondo oscuro y texto principal */
  --paper: #fcfcfc;        /* fondo claro */
  --muted: #4c4c4c;        /* texto secundario */
  --ghost: #353535;        /* tipografía gigante de fondo */
  --line: rgba(30, 30, 30, .12);
  --line-dark: rgba(255, 255, 255, .12);
  --accent: #bebdd2;       /* lila */
  --orange: #f47419;

  /* Tipografía */
  --font-sans: "Archivo", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Archivo", "Helvetica Neue", Arial, sans-serif; /* original: FFF Acid Grotesk */
  --font-label: var(--font-sans);      /* etiquetas, nav, eyebrows */
  --display-weight: 200;
  --display-tracking: -.03em;
  --cross: #fff;                        /* puntos de la cruz en Intereses */
  --gridline: rgba(255,255,255,.14);
  --box: var(--ink);                    /* caja de Intereses */

  /* Escala tipográfica fluida */
  --fs-hero: clamp(3.5rem, 7.1vw, 6.4rem);      /* ~100px a 1440 */
  --fs-lead: clamp(2rem, 4.3vw, 3.9rem);        /* párrafo gigante */
  --fs-h2: clamp(2.25rem, 3.5vw, 3.125rem);     /* 50px */
  --fs-case: clamp(3rem, 8.5vw, 7.5rem);        /* títulos de casos */
  --fs-ghost: clamp(5rem, 15vw, 14rem);

  /* Layout */
  --gutter: clamp(1rem, 2.1vw, 1.875rem);       /* 30px a 1440 */
  --radius-pill: 999px;
  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* =========================================================
   RESET
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.2;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
em { font-style: italic; }
sup { font-size: .55em; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; }

/* =========================================================
   UTILIDADES
   ========================================================= */
.container { padding-inline: var(--gutter); }
.section--dark { background: var(--ink); color: var(--paper); }
.section--light { background: var(--paper); color: var(--ink); }

.eyebrow { font-family: var(--font-label); font-size: 12px; line-height: 1.1; letter-spacing: -.01em; text-transform: uppercase; }
.small { font-size: 12px; }
.label {
  font-family: var(--font-label);
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; text-transform: uppercase; letter-spacing: -.01em;
}
.dot { width: 7px; height: 7px; border-radius: 50%; background: currentColor; display: inline-block; flex: none; }
.bracket { margin-right: 14px; }

.h2 {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--fs-h2);
  line-height: 1;
  letter-spacing: -.02em;
}

.lead-block { position: relative; padding-block: 72px 48px; }
.lead-block .label { position: absolute; top: calc(72px + .9em); }
.lead {
  font-family: var(--font-display);
  font-weight: var(--display-weight);
  font-size: var(--fs-lead);
  line-height: 1.05;
  letter-spacing: -.02em;
  text-indent: 25%;                 /* la primera línea arranca desplazada */
}
.lead--sm { font-size: var(--fs-h2); text-indent: 15%; max-width: 50%; }

/* Placeholder de imagen */
.ph {
  position: relative;
  background:
    repeating-linear-gradient(135deg, rgba(0,0,0,.04) 0 10px, transparent 10px 20px),
    #d9d9de;
  overflow: hidden;
}
.ph::after {
  content: attr(data-label);
  position: absolute; inset: auto auto 10px 10px;
  font-size: 11px; text-transform: uppercase; letter-spacing: .04em;
  color: rgba(0,0,0,.55);
  background: rgba(255,255,255,.7);
  padding: 3px 6px; border-radius: 3px;
}

/* =========================================================
   BOTONES Y LINKS
   ========================================================= */
.pill {
  display: inline-flex; align-items: center; justify-content: center;
  height: 28px; padding-inline: 14px;
  border-radius: var(--radius-pill);
  font-size: 14px;
  transition: transform .4s var(--ease), background-color .3s;
}
.pill--light { background: var(--paper); color: var(--ink); }
.pill--dark  { background: var(--ink); color: var(--paper); }

.icon-btn {
  width: 28px; height: 28px; border-radius: 50%;
  display: inline-grid; place-items: center;
  transition: transform .5s var(--ease);
}
.icon-btn--light { background: var(--paper); color: var(--ink); }
.icon-btn--dark  { background: var(--ink); color: var(--paper); }
.icon-btn:hover  { transform: rotate(90deg) scale(1.08); }
.cta-pair { display: inline-flex; gap: 4px; align-items: center; }
.cta-pair:hover .icon-btn { transform: rotate(90deg); }

/* Ícono de 4 puntos (rombo) */
.dots-icon {
  width: 12px; height: 12px; position: relative;
  background:
    radial-gradient(circle, currentColor 1.6px, transparent 1.8px) 50% 0 / 4px 4px no-repeat,
    radial-gradient(circle, currentColor 1.6px, transparent 1.8px) 50% 100% / 4px 4px no-repeat,
    radial-gradient(circle, currentColor 1.6px, transparent 1.8px) 0 50% / 4px 4px no-repeat,
    radial-gradient(circle, currentColor 1.6px, transparent 1.8px) 100% 50% / 4px 4px no-repeat;
}

/* Flecha hecha de puntos */
.arrow-dots {
  --d: 4px;
  width: 34px; height: 24px; display: inline-block; color: currentColor;
  background:
    radial-gradient(circle, currentColor 45%, transparent 50%) 0 50% / var(--d) var(--d) no-repeat,
    radial-gradient(circle, currentColor 45%, transparent 50%) 7px 50% / var(--d) var(--d) no-repeat,
    radial-gradient(circle, currentColor 45%, transparent 50%) 14px 50% / var(--d) var(--d) no-repeat,
    radial-gradient(circle, currentColor 45%, transparent 50%) 21px 50% / calc(var(--d) + 2px) calc(var(--d) + 2px) no-repeat,
    radial-gradient(circle, currentColor 45%, transparent 50%) 18px 4px / var(--d) var(--d) no-repeat,
    radial-gradient(circle, currentColor 45%, transparent 50%) 18px 16px / var(--d) var(--d) no-repeat,
    radial-gradient(circle, currentColor 45%, transparent 50%) 28px 50% / var(--d) var(--d) no-repeat;
}

.text-link {
  display: inline-flex; gap: 6px; align-items: center;
  font-size: 12px; text-transform: uppercase;
  border-bottom: 1px solid currentColor; padding-bottom: 1px;
}
.text-link span { transition: transform .4s var(--ease); }
.text-link:hover span { transform: translateX(4px); }

/* Link con efecto "roll" vertical en hover */
.link-roll { font-family: var(--font-label); display: inline-block; overflow: hidden; height: 1.2em; font-size: 14px; }
.link-roll span { display: block; position: relative; transition: transform .45s var(--ease); }
.link-roll span::after { content: attr(data-text); position: absolute; left: 0; top: 100%; }
.link-roll:hover span { transform: translateY(-100%); }

/* =========================================================
   CURSOR PERSONALIZADO
   ========================================================= */
.cursor {
  position: fixed; left: 0; top: 0; z-index: 100;
  width: 18px; height: 18px; border-radius: 50%;
  background: #e2e2e2; mix-blend-mode: difference;
  pointer-events: none;
  transform: translate3d(-100px, -100px, 0) translate(-50%, -50%);
  display: grid; place-items: center;
  transition: width .45s var(--ease), height .45s var(--ease), background-color .3s;
}
.cursor__label { font-size: 12px; opacity: 0; white-space: nowrap; transition: opacity .25s; }
.cursor.is-case {
  width: 86px; height: 86px; mix-blend-mode: normal;
  background: var(--cursor-bg, #e9e9e9); color: var(--cursor-fg, #1e1e1e);
  box-shadow: 0 0 0 3px var(--paper), 0 0 0 4px rgba(0,0,0,.25);
}
.cursor.is-case .cursor__label { opacity: 1; }
@media (hover: none), (pointer: coarse) { .cursor { display: none; } }

/* =========================================================
   HEADER
   ========================================================= */
.site-header {
  position: fixed; inset: 0 0 auto; z-index: 20;
  transition: background-color .35s, border-color .35s, padding .35s, backdrop-filter .35s;
  border-bottom: 1px solid transparent;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 0 24px;
  padding: 22px var(--gutter);
  color: var(--paper);
}
.brand { font-size: 16px; letter-spacing: -.03em; justify-self: start; }
.site-nav { display: flex; gap: 6px; }
.clock { font-size: 12px; text-transform: uppercase; }
.header-cta { display: flex; gap: 4px; justify-self: end; }
.menu-toggle { display: none; font-size: 14px; }

.mobile-menu {
  position: fixed; inset: 0; z-index: 30;
  background: var(--ink); color: var(--paper);
  display: flex; flex-direction: column; justify-content: center; gap: 12px;
  padding: var(--gutter);
  font-weight: 200; font-size: 3rem; letter-spacing: -.03em;
}
.mobile-menu[hidden] { display: none; }


/* =========================================================
   SOBRE MÍ — titular a la izquierda, texto + ficha a la derecha
   ========================================================= */
.ab { padding-block: clamp(80px, 12vh, 140px) clamp(110px, 15vh, 170px); border-top: 1px solid var(--line); }
.ab-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 10.4vw, 150px); }
.ab-head { grid-column: 1 / 8; }
.ab-head .label { margin-bottom: 22px; }
.ab-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.2rem, 3.8vw, 3.5rem); line-height: 1.06; letter-spacing: -.04em; text-wrap: balance;
}
.ab-hello {
  display: inline-block; margin-top: .35em;
  font-style: italic; color: var(--violet, #453b60);
  background: var(--accent); border-radius: 100px; padding: .02em .38em .08em;
  transform: rotate(-2deg);
}
.ab-body { grid-column: 8 / 13; padding-top: 52px; font-size: 17px; line-height: 1.5; }
.ab-body > p + p { margin-top: 1em; }
.ab-facts { margin-top: 36px; border-top: 1px solid var(--line); }
.ab-facts div { display: grid; grid-template-columns: 9.5em 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.ab-facts dt { font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); padding-top: 3px; }
.ab-facts dd { font-size: 16px; }
.ab-links { display: flex; align-items: center; gap: 22px; margin-top: 30px; flex-wrap: wrap; }
.ab-links .pill { height: 44px; padding-inline: 22px; }

@media (max-width: 900px) {
  .ab-head, .ab-body { grid-column: 1 / -1; }
  .ab-body { padding-top: 10px; }
  .ab-facts div { grid-template-columns: 7.5em 1fr; }
}

/* =========================================================
   PROCESO — texto sticky a la izquierda, tarjetas que se
   apilan a la derecha (cada una queda fija un poco más abajo
   y la siguiente la tapa). JS achica levemente las de atrás.
   ========================================================= */
.pr { padding-block: clamp(80px, 12vh, 140px) clamp(60px, 10vh, 120px); border-top: 1px solid var(--line); }
.pr-grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: var(--gutter); max-width: 1440px; margin-inline: auto; padding-inline: clamp(20px, 10.4vw, 150px); align-items: start; }
.pr-aside { grid-column: 1 / 6; align-self: stretch; }
.pr-sticky { position: sticky; top: 120px; }
.pr-sticky .label { margin-bottom: 22px; }
.pr-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 3.8vw, 3.5rem); line-height: 1.04; letter-spacing: -.04em; }
.pr-text { margin: 22px 0 30px; max-width: 26em; font-size: 17px; line-height: 1.5; color: var(--muted); }
.pr-sticky .pill { height: 44px; padding-inline: 22px; }

.pr-cards { grid-column: 7 / 13; display: flex; flex-direction: column; gap: 6vh; padding-bottom: 8vh; }
.step {
  position: relative; display: grid; grid-template-rows: auto 1fr auto auto;
  min-height: 340px; padding: 18px 20px 24px 24px;
  background: var(--bg); color: var(--fg);
}
.pr-card {
  position: sticky; top: calc(120px + var(--i) * 18px);
  transform-origin: 50% 0;
  transform: scale(var(--s, 1));
  transition: transform .2s linear;
}
.step__num { font-size: 12px; text-transform: uppercase; }
.step__num span { margin-left: 14px; }
.step__icon { position: absolute; right: 12px; top: 12px; width: 96px; height: 96px; background: var(--sq); }
.step__icon::before, .step__icon::after { content: ""; position: absolute; }
.step__icon::before { inset: 30px 26px; background: radial-gradient(circle, var(--sqd) 2.6px, transparent 3px) 0 0 / 11px 11px; transition: transform .8s var(--ease); }
.step__icon::after { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); left: 30px; bottom: 26px; }
.step:hover .step__icon::before { transform: rotate(90deg); }
.step__title { grid-row: 3; display: flex; align-items: center; gap: 10px; font-weight: 500; font-size: clamp(24px, 2.4vw, 32px); letter-spacing: -.02em; padding-bottom: 10px; }
.step__desc { grid-row: 4; max-width: 30em; font-size: 16px; line-height: 1.45; opacity: .8; }

@media (max-width: 900px) {
  .pr-aside, .pr-cards { grid-column: 1 / -1; }
  .pr-sticky { position: static; margin-bottom: 20px; }
  .pr-card { top: calc(80px + var(--i) * 12px); min-height: 280px; }
}

/* =========================================================
   CIERRE
   ========================================================= */
.closing { padding-block: 60px 100px; border-top: 1px solid var(--line); }
.spread-title--xl {
  flex-wrap: wrap; row-gap: 0;
  padding: 0; font-weight: 200;
  font-size: clamp(2.5rem, 5.5vw, 5rem); line-height: 1;
}
.bracket-lg { font-weight: 100; }
.closing__center {
  margin: 40px auto 0; max-width: 980px;
  display: flex; flex-direction: column; align-items: center; gap: 22px;
  text-align: center; font-size: 12px; line-height: 1.3;
}
.ph--strip { width: 100%; height: 8px; }
.ph--strip::after { display: none; }

/* =========================================================
   ANIMACIONES DE ENTRADA
   ========================================================= */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.is-in { opacity: 1; transform: none; }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 1024px) {
  .lead--sm { max-width: 75%; }
}

@media (max-width: 768px) {
  .site-header { grid-template-columns: 1fr auto; }
  .site-nav, .header-cta { display: none; }
  .menu-toggle { display: block; }


  .lead-block .label { position: static; margin-bottom: 16px; }
  .lead, .lead--sm { text-indent: 0; max-width: none; }

  .about__grid { grid-template-columns: 1fr; }
  .label--bracket, .about__text, .about__figure { grid-column: 1; }
  .about__text { max-width: none; }




  .section-head--row { flex-direction: column; align-items: flex-start; gap: 20px; }

}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}


/* =========================================================
   BOTONES ANIMADOS (inspirado en el menú de bajgartoffice.com)
   Hover: la píldora gira 2°, aparece una flecha ↗ a la
   izquierda que la ensancha, con un rebote tipo resorte.
   Aplica a todo .pill (menú, Hablemos, Descargar CV, Escribime).
   ========================================================= */
:root { --spring: cubic-bezier(.34, 1.56, .64, 1); }

.pill {
  gap: 0;
  white-space: nowrap;
  transition: transform .55s var(--spring), background-color .3s, border-color .3s, color .3s;
}
.pill::before {
  content: ""; flex: none;
  width: 0; height: 12px; margin-right: 0;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M1.5 11.5 11 2M3.5 1.5h8v8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M1.5 11.5 11 2M3.5 1.5h8v8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  opacity: 0;
  transform: scale(.3) rotate(-45deg);
  transition: width .5s var(--spring), margin .5s var(--spring), opacity .25s, transform .5s var(--spring);
}
.pill:hover, .pill:focus-visible,
.cta-pair:hover .pill, .header-cta:hover .pill {
  transform: rotate(2deg);
}
.pill:hover::before, .pill:focus-visible::before,
.cta-pair:hover .pill::before, .header-cta:hover .pill::before {
  width: 12px; margin-right: 8px; opacity: 1; transform: none;
}

/* Variante con borde, como los botones del menú de referencia */
.pill--ghost {
  height: 36px; padding-inline: 16px;
  background: transparent; color: inherit;
  border: 1px solid rgba(21, 21, 21, .12);
}
.pill--ghost:hover { border-color: rgba(21, 21, 21, .3); }

@media (hover: none) {
  .pill:hover, .cta-pair:hover .pill, .header-cta:hover .pill { transform: none; }
}

/* =========================================================
   HERO (estructura inspirada en Oriel Studio)
   ========================================================= */
.hx {
  position: relative;
  padding: clamp(140px, 19vh, 190px) clamp(20px, 10.4vw, 150px) clamp(40px, 7vh, 80px);
}
.hx-inner { position: relative; z-index: 1; max-width: 1140px; }

/* Titular que se "escribe" letra por letra */
.hx-title {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(2.1rem, 3.85vw, 3.6rem); line-height: 1.24; letter-spacing: -.035em;
  max-width: 17.5em; text-wrap: balance;
}
.hx-title [data-spell] { display: block; }
.hx-title .w { display: inline-block; white-space: nowrap; }
.hx-title .l { display: inline-block; opacity: .12; filter: blur(3px); transform: translateY(.18em);
  transition: opacity .5s ease, filter .6s ease, transform .7s var(--ease); transition-delay: calc(var(--i) * 22ms); }
.hx-title [data-spell].is-in .l { opacity: 1; filter: none; transform: none; }

/* Fila de datos */
.hx-meta { display: flex; align-items: flex-start; gap: clamp(20px, 4vw, 64px); margin-top: 40px; }
.hx-left { display: flex; flex-direction: column; gap: 26px; }
.hx-services { font-size: 14px; line-height: 1.5; text-transform: uppercase; color: var(--muted); opacity: .85; }
.hx-services span { display: block; white-space: nowrap; }   /* siempre en dos líneas */

.hx-cv { margin-left: auto; margin-top: 2px; }
.pill--soft { height: 42px; padding-inline: 20px; background: var(--bone, #e6e4e2); color: var(--ink); }

@keyframes spin { to { transform: rotate(360deg); } }

/* Punto de estado en el CTA del header */
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #7fae8a; margin-right: 8px; flex: none;
  box-shadow: 0 0 0 0 rgba(127,174,138,.6); animation: pulse 2.4s ease-out infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 7px rgba(127,174,138,0); } 100% { box-shadow: 0 0 0 0 rgba(127,174,138,0); } }

@media (max-width: 768px) {
  .hx { padding: 110px 20px 40px; min-height: 0; }
  .hx-meta { flex-wrap: wrap; gap: 18px; }
  .hx-cv { margin-left: 0; }
  .hx-services span { white-space: normal; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-title .l { opacity: 1; filter: none; transform: none; }
}

/* Isotipo de puntos (usado en el hero) */
.logo-dots { display: grid; grid-template-columns: repeat(3, 5px); gap: 3px; flex: none; }
.logo-dots i { width: 5px; height: 5px; border-radius: 50%; background: var(--ink); }
.logo-dots i:nth-child(2) { grid-column: 3; }
.logo-dots i:nth-child(3) { grid-column: 2; }
.logo-dots i:nth-child(4) { grid-column: 1; }
.logo-dots .accent { background: var(--orange); grid-column: 3; }

/* Header fijo: al scrollear toma fondo para verse siempre completo */
.site-header.is-scrolled {
  padding-block: 12px;
  background: color-mix(in srgb, var(--paper) 86%, transparent);
  -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
  border-bottom-color: var(--line);
}

/* =========================================================
   PROYECTOS DESTACADOS — scroll horizontal fijado
   (inspirado en "What is Oriel?"). JS setea --x en px.
   ========================================================= */
.fx-track { position: relative; height: 400vh; --card-w: min(54vw, 740px); }
.fx-sticky { position: sticky; top: 0; height: 100svh; overflow: hidden; }
.fx-row {
  position: absolute; left: 0; top: 84px; bottom: 24px;
  display: flex; align-items: center; gap: 22px;
  /* la primera tarjeta arranca centrada, como el reel */
  padding-left: calc((100vw - var(--card-w)) / 2); padding-right: 64px;
  transform: translate3d(calc(var(--x, 0) * -1px), 0, 0); will-change: transform;
}

.fx-card {
  --cursor: #151515;
  flex: 0 0 auto; position: relative; overflow: hidden;
  width: var(--card-w); height: min(66svh, 560px);
  border-radius: 34px;
  padding: clamp(28px, 4vw, 56px) clamp(28px, 5vw, 70px);
  display: flex; flex-direction: column; justify-content: flex-end;
  color: var(--ink); cursor: none;
  transition: transform .9s var(--ease);
}
.fx-c1 { background: #d3e5e9; }   /* sage suave */
.fx-c2 { background: #d9d3e6; }   /* lavanda suave */
.fx-c3 { background: #e6cdd0; }   /* rosa suave */
.fx-c4 { background: #e5e6e1; }
.fx-c5 { background: #e4def2; }   /* lila pastel */
.fx-card h3 {
  position: relative; max-width: 11em;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2.2rem, 4.2vw, 4rem);
  line-height: 1.02; letter-spacing: -.05em; margin-bottom: 14px;
}
.fx-card p { position: relative; max-width: 30em; font-size: 16px; line-height: 1.35; color: var(--muted); }
.fx-tags { position: relative; display: flex; flex-wrap: wrap; gap: 6px; margin-top: 18px; }
.fx-tags li { font-size: 12px; padding: 6px 12px; border-radius: 100px; background: rgba(255,255,255,.65); color: var(--ink); }

.fx-end { flex: 0 0 auto; width: min(32vw, 380px); align-self: center; display: flex; flex-direction: column; gap: 22px; padding-left: 30px; }
.fx-end p { font-size: 18px; line-height: 1.35; }
.fx-all { align-self: flex-start; height: 48px; padding-inline: 26px; }

/* Mobile y tablet: lista vertical, sin fijado */
@media (max-width: 900px) {
  .fx-track { height: auto; }
  .fx-sticky { position: static; height: auto; overflow: visible; }
  .fx-row { position: static; flex-direction: column; transform: none !important; padding: 20px 20px 60px; gap: 16px; }
  .fx-end { width: auto; margin: 0 0 10px; padding: 0; }
  .fx-card { width: auto; height: auto; min-height: 460px; border-radius: 22px; padding: 46vw 22px 24px; cursor: pointer; }
}


.visually-hidden { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
h2.label { font-weight: 500; }

/* Logo: flor + ícono + fiorentino, en minúscula y bold; la flor gira suave */
.brand { display: inline-flex; align-items: center; gap: 6px; text-transform: lowercase; }
.brand__flower { width: 20px; height: 20px; flex: none; animation: flower-spin 14s linear infinite; transition: transform .6s var(--spring); }
.brand__petals { fill: var(--lilac, #b4a4dc); }
.brand:hover .brand__flower { animation-duration: 3s; }
@keyframes flower-spin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .brand__flower { animation: none; } }

/* Contacto: email grande + acciones */
.closing { padding-block: clamp(90px, 14vh, 150px) 60px; }
.closing__center { gap: 26px; text-align: center; }
.closing__lead { font-size: 18px; line-height: 1.4; max-width: 30em; }
.closing__mail {
  font-family: var(--font-display); font-weight: 500;
  font-size: clamp(1.7rem, 5.2vw, 4.4rem); line-height: 1.05; letter-spacing: -.04em;
  overflow-wrap: anywhere; color: var(--ink);
  transition: color .3s;
}
.closing__mail:hover { color: var(--violet, #453b60); }
.closing__actions { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 8px; }
.closing__actions .pill { height: 46px; padding-inline: 22px; }
.icon-btn--lg { width: 46px; height: 46px; }
.icon-btn--lg:hover { transform: scale(1.08) rotate(-6deg); }

/* Sobre mí: foto tipo collage (recorte en B&N con contorno lila de papel) */
.ab-photo { position: relative; margin: 36px 0 0; width: 100%; max-width: 540px; transform: rotate(-1.5deg); transform-origin: 50% 100%; }
.ab-photo img { display: block; width: 100%; height: auto; }
@media (max-width: 900px) { .ab-photo { max-width: 360px; margin-inline: auto; margin-bottom: 44px; } }

/* Cinta con texto en loop sobre el borde inferior de la foto */
.ab-ribbon {
  position: absolute; left: -8%; right: -8%; bottom: -24px;
  background: var(--ink); color: var(--paper);
  transform: rotate(2.5deg); overflow: hidden;
  padding: 11px 0; border-radius: 4px;
}
.ab-ribbon__track { display: flex; align-items: center; width: max-content; animation: ribbon 26s linear infinite; }
.ab-ribbon span { font-family: var(--font-label); font-size: 13px; text-transform: uppercase; letter-spacing: .08em; white-space: nowrap; padding-inline: 18px; }
.ab-ribbon i { display: inline-flex; align-items: center; flex: none; }
.ab-ribbon i svg { width: 13px; height: 13px; fill: var(--lilac, #b4a4dc); animation: flower-spin 14s linear infinite; }
@keyframes ribbon { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ab-ribbon__track { animation: none; } }
@media (max-width: 900px) { .ab-ribbon { left: -4%; right: -4%; bottom: -18px; padding: 9px 0; } .ab-ribbon span { font-size: 11px; } }

/* Pie: iconito de flor para volver arriba */
.to-top { display: block; width: 34px; height: 34px; margin: 90px auto 0; color: var(--lilac, #b4a4dc); transition: transform .6s var(--spring); }
.to-top svg { width: 100%; height: 100%; fill: currentColor; animation: flower-spin 14s linear infinite; }
.to-top:hover { transform: translateY(-6px) scale(1.12); }
.to-top:hover svg { animation-duration: 3s; }


/* =========================================================
   PÁGINA DE PROYECTO (no es modal): la tarjeta se transforma
   en una página propia con View Transitions; el resto de la home
   se oculta y "Volver" regresa al mismo punto del scroll.
   ========================================================= */
.pv { padding: 84px clamp(12px, 2vw, 24px) 100px; min-height: 100svh; }
.pv-card {
  position: relative; border-radius: 34px; background: var(--pv-bg, #e5e6e1);
  padding: clamp(24px, 4.5vw, 64px) clamp(22px, 5vw, 72px) clamp(22px, 4vw, 56px);
  display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 28px var(--gutter);
  view-transition-name: pv-card;
}
.pv-back { grid-column: 1 / -1; justify-self: start; display: inline-flex; gap: 10px; align-items: center;
  height: 40px; padding-inline: 16px; border-radius: 100px; background: rgba(255,255,255,.65); font-size: 14px;
  transition: background-color .3s, transform .5s var(--spring); }
.pv-back:hover { background: #fff; transform: translateX(-4px); }
.pv-head { grid-column: 1 / 8; display: flex; flex-direction: column; gap: 18px; }
.pv-title { font-family: var(--font-display); font-weight: 500; font-size: clamp(2.8rem, 6.4vw, 6rem); line-height: .98; letter-spacing: -.05em; }
.pv-desc { font-size: 18px; line-height: 1.45; max-width: 30em; }
.pv-facts { grid-column: 8 / 13; align-self: end; border-top: 1px solid rgba(21,21,21,.15); }
.pv-facts div { display: grid; grid-template-columns: 6.5em 1fr; gap: 14px; padding: 12px 0; border-bottom: 1px solid rgba(21,21,21,.15); }
.pv-facts dt { font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; padding-top: 2px; }
.pv-media { grid-column: 1 / -1; margin-top: 10px; border-radius: 22px; overflow: hidden; view-transition-name: pv-media; }
.pv-media .ph { aspect-ratio: 16 / 8; border: 0 !important; border-radius: 0 !important; background-color: rgba(255,255,255,.5); }
.pv-gallery { display: grid; grid-template-columns: 1.4fr 1fr; gap: 14px; margin-top: 14px; }
.pv-gallery figure { margin: 0; }
.pv-gallery .ph { height: 100%; min-height: 360px; border-radius: 22px; border: 0 !important; }
.pv-foot { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px; margin-top: 40px; padding-inline: clamp(10px, 3vw, 48px); }
.pv-foot .pill { height: 46px; padding-inline: 22px; }
.pv-next { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.4rem, 2.6vw, 2.2rem); letter-spacing: -.03em; display: inline-flex; gap: 12px; align-items: center; }
.pv-next span { transition: transform .5s var(--spring); }
.pv-next:hover span { transform: translateX(8px); }

/* Entrada del contenido, escalonada */
.pv-in { animation: pv-up .8s var(--ease) both; animation-delay: calc(.15s + var(--d, 0) * .07s); }
.pv-head .pv-in:nth-child(2) { --d: 1; } .pv-head .pv-in:nth-child(3) { --d: 2; }
.pv-facts { --d: 3; } .pv-gallery figure:nth-child(1) { --d: 4; } .pv-gallery figure:nth-child(2) { --d: 5; } .pv-foot { --d: 6; }
@keyframes pv-up { from { opacity: 0; transform: translateY(26px); } }

/* Morfeo tarjeta → página */
::view-transition-group(pv-card), ::view-transition-group(pv-media) { animation-duration: .7s; animation-timing-function: cubic-bezier(.22, 1, .36, 1); }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .35s; }

@media (max-width: 900px) {
  .pv-head, .pv-facts { grid-column: 1 / -1; }
  .pv-gallery { grid-template-columns: 1fr; }
  .pv-gallery .ph { min-height: 260px; }
}
@media (prefers-reduced-motion: reduce) {
  .pv-in { animation: none; }
  ::view-transition-group(*), ::view-transition-old(*), ::view-transition-new(*) { animation: none !important; }
}

/* Texto seleccionado en lila */
::selection { background: #d6d0e6; color: var(--ink); }  /* lila pastel, el del contorno de la foto */

/* =========================================================
   PROPUESTAS DE HERO (data-hero en la sección)
   ========================================================= */
.hx-v { display: none; }
.hx[data-hero="figma"] .hx-v--figma { display: block; }


.hx-pill {
  display: inline-flex; align-items: center; white-space: nowrap;
  height: 40px; padding-inline: 18px; border-radius: 100px;
  background: var(--c, #fff); color: var(--ink); border: 1px solid rgba(21,21,21,.16);
  font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em;
}

/* Resaltado: píldora suave detrás de las palabras (estilo Partify) */
.hx-mark {
  padding: .04em .26em .08em; margin: 0 .1em;
  border-radius: .28em;
  -webkit-box-decoration-break: clone; box-decoration-break: clone;
  background: linear-gradient(var(--u-fill, #dfd3dd), var(--u-fill, #dfd3dd)) no-repeat 0 0 / 0% 100%;
  animation: mark-in 1s cubic-bezier(.16,1,.3,1) var(--mark-delay, 1.8s) both;
}
.hx-h { display: none !important; }
@keyframes mark-in { to { background-size: 100% 100%; } }
.hx-title { isolation: isolate; }
.hx-v--figma { position: absolute; inset: 0; pointer-events: none; }
.hx-cursor { position: absolute; transition: transform .9s cubic-bezier(.16,1,.3,1); will-change: transform; }
.hx-cursor__in { display: flex; align-items: flex-start; gap: 2px; opacity: 0; animation: cursor-in .8s cubic-bezier(.16,1,.3,1) both, cursor-float 7s ease-in-out infinite; animation-delay: calc(var(--mark-delay, 1.8s) + var(--cd, 0s)), var(--cd, 0s); }
.hx-cursor svg { width: 18px; height: 18px; fill: var(--cc); transform: rotate(-12deg); filter: drop-shadow(0 1px 1px rgba(0,0,0,.15)); }
.hx-cursor span { margin-top: 14px; padding: 4px 10px; border-radius: 8px; border-top-left-radius: 0; background: var(--cc); color: var(--ink); font-size: 12px; white-space: nowrap; }
.hx-cursor b { font-weight: 600; margin-right: 4px; }
.hx-cursor--1 { --cc: #bbb2ce; right: 16%; top: 22%; --cd: .1s; }
.hx-cursor--2 { --cc: #b9dde4; left: 52%; top: 62%; --cd: .35s; }
.hx-cursor--3 { --cc: #e6cdd0; right: 9%; top: 48%; --cd: .6s; }
@keyframes cursor-in { from { opacity: 0; transform: translate(14px, 10px) scale(.85); } to { opacity: 1; } }
@keyframes cursor-float { 0%, 100% { translate: 0 0; } 33% { translate: 10px -8px; } 66% { translate: -6px 5px; } }

@media (max-width: 900px) {
  .hx-cursor--1 { right: 6%; top: 12%; } .hx-cursor--2, .hx-cursor--3 { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  .hx-cursor__in, .hx-mark, .hx-h::before, .hx-h::after { animation: none !important; opacity: 1; transform: none; }
  .hx-mark { background-size: 100% 100%; }
}
@media (max-width: 900px) {
  }

/* Capturas: imagen real sobre el recuadro de respaldo */
.ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; z-index: 1; }

/* Destacados: captura en píldora con contorno recortado detrás (como la foto de perfil),
   en un tono más oscuro que el pastel de cada tarjeta */
.fx-card { --edge: color-mix(in srgb, var(--card, #d3e5e9) 78%, #2b2340); }
.fx-c1 { --card: #d3e5e9; } .fx-c2 { --card: #d9d3e6; } .fx-c3 { --card: #e6cdd0; } .fx-c4 { --card: #e5e6e1; } .fx-c5 { --card: #e4def2; }
.fx-pill {
  position: absolute; top: 40px; left: 40px; width: min(54%, 400px); aspect-ratio: 16 / 10;
}
.fx-pill::before {
  content: ""; position: absolute; inset: -16px; border-radius: 30px;
  background: var(--edge); filter: url(#ff-torn);
}
.fx-pill .ph { position: absolute; inset: 0; border: 0 !important; border-radius: 16px !important; overflow: hidden; transition: transform 1s var(--ease); }
.fx-card:hover .fx-pill .ph { transform: scale(1.03); }
@media (max-width: 900px) { .fx-pill { left: 26px; right: 26px; top: 26px; width: auto; } }

/* Titular en 4 líneas en escritorio */
.hx-br { display: inline; }
.hx-title { max-width: none; }
@media (max-width: 700px) { .hx-br { display: none; } }

/* Sobre mí: la foto aparece y después se dibuja el contorno lila */
@property --sweep { syntax: '<angle>'; inherits: false; initial-value: 0deg; }
.ab-photo { position: relative; }
.ab-photo picture { display: block; }
.ab-photo__persona { position: relative; z-index: 1; }
.ab-photo__trazo { position: absolute; inset: 0; z-index: 0; --sweep: 0deg;
  -webkit-mask: conic-gradient(from 210deg at 50% 58%, #000 var(--sweep), transparent 0);
          mask: conic-gradient(from 210deg at 50% 58%, #000 var(--sweep), transparent 0); }
.ab-photo__persona img { opacity: 0; transform: translateY(16px) scale(.97); filter: blur(8px) grayscale(1);
  transition: opacity 1s var(--ease), transform 1.1s var(--ease), filter 1.2s var(--ease); }
.ab-photo.is-in .ab-photo__persona img { opacity: 1; transform: none; filter: none; }
.ab-photo.is-in .ab-photo__trazo { animation: trazo 1.6s cubic-bezier(.65, 0, .35, 1) .8s forwards; }
@keyframes trazo { to { --sweep: 360deg; } }
.ab-ribbon { z-index: 2; opacity: 0; translate: 0 18px; transition: opacity .6s var(--ease) 2.2s, translate .8s var(--spring) 2.2s; }
.ab-photo.is-in .ab-ribbon { opacity: 1; translate: 0 0; }
.ab-photo picture img { transform-origin: 50% 100%; }
@media (prefers-reduced-motion: reduce) {
  .ab-photo__trazo { -webkit-mask: none; mask: none; animation: none; }
  .ab-photo__persona img, .ab-ribbon { opacity: 1; transform: none; filter: none; translate: 0 0; transition: none; }
}

/* Flecha arriba a la derecha: CTA para ver el proyecto */
.fx-go {
  position: absolute; top: 26px; right: 26px; z-index: 2;
  width: 52px; height: 52px; border-radius: 50%; background: var(--ink); color: var(--paper);
  display: grid; place-items: center; transition: transform .6s var(--spring), background-color .3s;
}
.fx-go svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .6s var(--spring); }
.fx-card:hover .fx-go { transform: scale(1.08); background: var(--violet, #453b60); }
.fx-card:hover .fx-go svg { transform: rotate(45deg); }
@media (max-width: 900px) { .fx-card { height: auto; } .fx-go { top: 16px; right: 16px; width: 44px; height: 44px; } }

/* =========================================================
   PROCESO: animación arriba a la derecha ligada a cada etapa
   ========================================================= */
.step__icon.step__anim { background: var(--sq); border-radius: 16px; overflow: hidden; }
.step__anim::before, .step__anim::after { content: none !important; }
.step__anim svg { width: 100%; height: 100%; display: block; }
.step__anim svg * { transform-box: fill-box; }

/* 01 · Primera charla: dos globos de diálogo */
.ch-b1 rect, .ch-b1 path { fill: var(--sqd); }
.ch-dots circle { fill: var(--sq); animation: ch-dot 1.2s ease-in-out infinite; }
.ch-dots circle:nth-child(2) { animation-delay: .15s; } .ch-dots circle:nth-child(3) { animation-delay: .3s; }
.ch-b2 rect, .ch-b2 path:not(.ch-heart) { fill: var(--lilac, #b4a4dc); }
.ch-heart { fill: var(--sq); }
.ch-b1 { transform-origin: 0% 100%; animation: ch-pop 4.8s cubic-bezier(.34,1.56,.64,1) infinite; }
.ch-b2 { transform-origin: 100% 100%; animation: ch-pop 4.8s cubic-bezier(.34,1.56,.64,1) infinite 1.2s; }
@keyframes ch-pop { 0% { transform: scale(0); opacity: 0; } 10%, 80% { transform: scale(1); opacity: 1; } 90%, 100% { transform: scale(.6); opacity: 0; } }
@keyframes ch-dot { 0%, 100% { transform: translateY(0); opacity: .5; } 40% { transform: translateY(-3px); opacity: 1; } }

/* 02 · Planificación: tareas que se van tildando */
.pl-row rect:first-child { fill: none; stroke: var(--sqd); stroke-width: 2.4; }
.pl-line { fill: var(--sqd); opacity: .25; }
.pl-check { fill: none; stroke: var(--sqd); stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round;
  stroke-dasharray: 14; stroke-dashoffset: 14; animation: pl-check 4.5s ease-in-out infinite; }
.pl-row:nth-child(2) .pl-check { animation-delay: .6s; } .pl-row:nth-child(3) .pl-check { animation-delay: 1.2s; }
.pl-row .pl-line { animation: pl-line 4.5s ease-in-out infinite; }
.pl-row:nth-child(2) .pl-line { animation-delay: .6s; } .pl-row:nth-child(3) .pl-line { animation-delay: 1.2s; }
@keyframes pl-check { 0%, 8% { stroke-dashoffset: 14; } 18%, 82% { stroke-dashoffset: 0; } 92%, 100% { stroke-dashoffset: 14; } }
@keyframes pl-line { 0%, 10% { opacity: .25; fill: var(--sqd); } 20%, 82% { opacity: 1; fill: var(--lilac, #b4a4dc); } 92%, 100% { opacity: .25; fill: var(--sqd); } }

/* 03 · Desarrollo y revisión: ventana con código que se escribe */
.dv-win { fill: none; stroke: var(--sqd); stroke-width: 2.4; }
.dv-bar { stroke: var(--sqd); stroke-width: 2; }
.step__anim--dev circle { fill: var(--sqd); }
.dv-l { fill: var(--sqd); transform-origin: 0 50%; animation: dv-type 4.2s steps(8) infinite; }
.dv-l2 { fill: var(--lilac, #b4a4dc); animation-delay: .7s; } .dv-l3 { animation-delay: 1.4s; }
.dv-caret { fill: var(--sqd); animation: dv-blink .9s steps(2) infinite; }
@keyframes dv-type { 0% { transform: scaleX(0); } 22%, 85% { transform: scaleX(1); } 100% { transform: scaleX(0); } }
@keyframes dv-blink { 50% { opacity: 0; } }

/* 04 · Entrega y capacitación: avión de papel que despega */
.sd-plane path { fill: var(--sqd); }
.sd-plane .sd-fold { fill: var(--lilac, #b4a4dc); }
.sd-trail { fill: none; stroke: var(--sqd); stroke-width: 2; stroke-dasharray: 3 5; stroke-linecap: round; opacity: .5; }
.sd-plane { animation: sd-fly 3.6s cubic-bezier(.45,0,.2,1) infinite; }
.sd-spark circle { fill: var(--lilac, #b4a4dc); animation: sd-spark 3.6s ease-in-out infinite; }
.sd-spark circle:nth-child(2) { animation-delay: .4s; } .sd-spark circle:nth-child(3) { animation-delay: .8s; }
@keyframes sd-fly { 0% { transform: translate(-26px, 26px) scale(.8); opacity: 0; } 15% { opacity: 1; } 55% { transform: translate(0, 0) scale(1); } 85% { transform: translate(18px, -18px) scale(1); opacity: 1; } 100% { transform: translate(34px, -34px) scale(.9); opacity: 0; } }
@keyframes sd-spark { 0%, 100% { transform: scale(0); } 50% { transform: scale(1); } }

@media (prefers-reduced-motion: reduce) {
  .step__anim * { animation: none !important; }
  .pl-check { stroke-dashoffset: 0; } .ch-b1, .ch-b2 { opacity: 1; transform: none; }
}


/* "Mirá mis proyectos": mismo estilo que "Hablemos" (sin el punto verde) */
.hx-cta { align-self: flex-start; height: 44px; padding-inline: 22px; }

/* Áreas táctiles de al menos 44px en pantallas táctiles (accesibilidad) */
@media (pointer: coarse) {
  .brand { min-height: 44px; }
  .menu-toggle, .text-link, .closing__mail { display: inline-flex; align-items: center; min-height: 44px; }
  .to-top { width: 44px; height: 44px; padding: 5px; }
  .menu-toggle { min-width: 44px; padding-inline: 8px; margin-right: -8px; justify-content: center; }
}

/* Barrita de progreso del carrusel de proyectos (solo escritorio) */
.fx-progress { position: absolute; left: 50%; bottom: clamp(28px, 6svh, 56px); width: min(260px, 40vw); height: 3px; transform: translateX(-50%); border-radius: 3px; background: rgba(21,21,21,.1); overflow: hidden; z-index: 2; }
.fx-progress span { display: block; height: 100%; width: 100%; border-radius: inherit; background: var(--violet, #453b60); transform-origin: left; transform: scaleX(var(--p, 0)); }
@media (max-width: 900px) { .fx-progress { display: none; } }

/* Contacto: disponibilidad */
.closing__meta { display: inline-flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px; margin-top: 14px; font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .75; text-align: center; }

/* Página de proyecto: caso contado como proceso */
.pv-case { margin-top: 14px; padding: clamp(28px, 4vw, 56px); border-radius: 28px; background: #fff; }
.pv-case__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; max-width: 22ch; margin: 16px 0 36px; }
.pv-case__steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); }
.pv-case__steps li { border-top: 1px solid rgba(21,21,21,.15); padding-top: 16px; display: flex; flex-direction: column; gap: 10px; }
.pv-case__n { font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; opacity: .7; }
.pv-case__steps p { margin: 0; line-height: 1.5; }
.pv-case__todo { background: #d6d0e6; border-radius: 8px; padding: 6px 8px; font-style: italic; }
@media (max-width: 900px) { .pv-case__steps { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pv-case__steps { grid-template-columns: 1fr; } }
.closing__meta .status-dot { margin-right: 0; }

/* Capturas reales: proporción de pantalla, sin recortes */
.fx-pill img[src*="free-reviews/card"] { object-position: center; }
.pv-gallery { grid-template-columns: 1fr 1fr; }
.pv-gallery .ph { height: auto; min-height: 0; aspect-ratio: 1880 / 855; }
.pv-media .ph { aspect-ratio: 1896 / 862; border-radius: 14px !important; }
@media (max-width: 900px) { .pv-gallery .ph { min-height: 0; } }

/* ===== Hero: stickers troquelados (compu, mundito, bordado, browser) ===== */
.hx-stickers { position: absolute; inset: 0; pointer-events: none; z-index: 3; }
.hx-stk { position: absolute; width: var(--s, 150px); transition: transform .9s cubic-bezier(.16,1,.3,1); will-change: transform; pointer-events: auto; }
.hx-stk__in {
  rotate: var(--r, 0deg); opacity: 0;
  animation: stk-in .9s cubic-bezier(.34,1.56,.64,1) both, stk-float 8s ease-in-out infinite;
  animation-delay: calc(var(--mark-delay, 1.8s) + var(--cd, 0s)), var(--cd, 0s);
  transition: scale .5s var(--spring, cubic-bezier(.34,1.56,.64,1)), rotate .5s var(--spring, cubic-bezier(.34,1.56,.64,1));
}
.hx-stk svg { display: block; width: 100%; height: auto; overflow: visible; filter: drop-shadow(0 6px 10px rgba(31,58,50,.16)) drop-shadow(0 1px 1px rgba(31,58,50,.12)); }
.hx-stk:hover .hx-stk__in { scale: 1.08; rotate: calc(var(--r, 0deg) * -1); }
.hx-stk--1 { --s: 175px; --r: -8deg; right: 19%; top: 10%; --cd: .05s; }
.hx-stk--2 { --s: 128px; --r: 10deg;  right: 4%;  top: 14%; --cd: .2s; }
.hx-stk--3 { --s: 140px; --r: 6deg;   right: 25.5%; top: 42%; --cd: .35s; }
.hx-stk--4 { --s: 158px; --r: -5deg;  right: 10%; top: 38%; --cd: .5s; }
.hx-stk--5 { --s: 130px; --r: -10deg; right: 22%; top: 68%; --cd: .65s; }
.hx-stk--6 { --s: 150px; --r: 7deg;   right: 3%;  top: 64%; --cd: .8s; }
@keyframes stk-in { from { opacity: 0; transform: scale(.4) rotate(-14deg); } to { opacity: 1; transform: none; } }
@keyframes stk-float { 0%, 100% { translate: 0 0; } 50% { translate: 0 -8px; } }
@media (max-width: 1100px) { .hx-stk--1 { right: 18%; } .hx-stk--4 { right: 20%; } .hx-stk { --s: 120px !important; } }
@media (max-width: 900px) {
  .hx[data-hero] .hx-stickers { position: static; display: flex; justify-content: flex-start; gap: 4px; margin-top: 32px; padding: 0 20px 8px; }
  .hx-stk { position: relative; inset: auto !important; --s: 58px !important; }
}
@media (prefers-reduced-motion: reduce) { .hx-stk__in { animation: none; opacity: 1; } }

/* Imágenes de proyectos sin bordes (se quitó el contorno recortado y los marcos) */
.fx-pill::before { display: none; }
.pv-media .ph { border-radius: 0 !important; }

/* ===== Proyectos destacados: acordeón horizontal (ref. Samyoung Chemical) ===== */
.pa { padding: clamp(40px, 7vw, 96px) 0 clamp(56px, 8vw, 110px); }
.pa-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; margin-bottom: 28px; }
.pa-lead { max-width: 34em; font-size: 16px; line-height: 1.45; color: var(--muted); margin: 0; }
.pa-all { display: inline-flex; align-items: center; gap: 12px; font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; white-space: nowrap; color: var(--ink); text-decoration: none; }
.pa-all .pa-go { background: #ecebe5; }
.pa-all:hover .pa-go { background: var(--pa-accent); color: #fff; transform: rotate(45deg); }

.pa-row { --pa-soft: #e8eac6; --pa-on: #efeee8; --pa-accent: #9b9e5b; display: flex; gap: 14px; height: clamp(380px, 34vw, 470px); }
.pa-card {
  position: relative; flex: 1 1 0; min-width: 0; overflow: hidden; isolation: isolate;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 26px 24px 22px; border-radius: 26px; background: var(--pa-soft); color: var(--ink); text-decoration: none;
  transition: flex-grow .75s cubic-bezier(.65,0,.35,1), background-color .5s ease;
}
.pa-card.is-active { flex-grow: 2.7; background: var(--pa-on); }
.pa-body { position: relative; z-index: 2; width: 100%; }
.pa-card.is-active .pa-body { width: 50%; }
.pa-card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.35rem, 1.8vw, 1.85rem); line-height: 1.08; letter-spacing: -.02em; margin: 0 0 14px; min-width: 7.5em; }
.pa-card p { font-size: 14px; line-height: 1.45; color: var(--muted); margin: 0 0 14px; min-width: 15em;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
  opacity: .22; transition: opacity .4s ease; }
.pa-card.is-active p { opacity: 1; transition-delay: .3s; }
.pa-tag { display: inline-block; font-family: var(--font-label); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 5px 10px; border-radius: 100px; background: rgba(255,255,255,.75); white-space: nowrap; opacity: 0; transition: opacity .4s ease; }
.pa-card.is-active .pa-tag { opacity: 1; transition-delay: .4s; }
.pa-foot { position: relative; z-index: 2; display: flex; align-items: center; justify-content: space-between; gap: 12px; font-size: 14px; font-weight: 500; }
.pa-card.is-active .pa-foot { justify-content: flex-start; }
.pa-go { display: inline-grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: #fff; transition: background-color .4s ease, color .4s ease, transform .5s var(--spring, cubic-bezier(.34,1.56,.64,1)); }
.pa-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.pa-card.is-active .pa-go { background: var(--pa-accent); color: #fff; }
.pa-card.is-active .pa-go svg { transform: rotate(45deg); transition: transform .5s ease; }
.pa-card.is-active:hover .pa-go { transform: translateX(4px); }

/* Círculos decorativos de las tarjetas cerradas */
.pa-deco { position: absolute; inset: 0; z-index: 0; pointer-events: none; }
.pa-deco i { position: absolute; z-index: 0; border-radius: 50%; background: rgba(255,255,255,.38); transition: opacity .5s ease; }
.pa-deco i:nth-child(1) { width: 150px; height: 150px; left: -40px; bottom: -50px; }
.pa-deco i:nth-child(2) { width: 54px; height: 54px; left: 72px; bottom: 74px; }
.pa-card.is-active .pa-deco i { opacity: 0; }

/* Captura: aparece a la derecha de la tarjeta activa */
.pa-media { position: absolute; z-index: 1; top: 16px; right: 16px; bottom: 16px; width: calc(46% - 16px); border-radius: 18px; overflow: hidden;
  opacity: 0; transform: translateX(24px) scale(.96); transition: opacity .35s ease, transform .6s cubic-bezier(.16,1,.3,1); }
.pa-card.is-active .pa-media { opacity: 1; transform: none; transition-delay: .25s; }
.pa-media .ph { position: absolute; inset: 0; border: 0 !important; border-radius: 0 !important; }
.pa-media .ph > img { object-position: center; }

@media (max-width: 900px) {
  .pa-head { flex-direction: column; align-items: flex-start; }
  .pa-row { flex-direction: column; height: auto; }
  .pa-card, .pa-card.is-active { flex: none; background: var(--pa-on); padding: 18px 18px 20px; }
  .pa-media, .pa-card.is-active .pa-media { position: relative; inset: auto; width: auto; aspect-ratio: 16 / 10; order: -1; margin-bottom: 18px; opacity: 1; transform: none; }
  .pa-card .pa-body, .pa-card.is-active .pa-body { width: 100%; }
  .pa-card p, .pa-tag { opacity: 1 !important; }
  .pa-card h3, .pa-card p { min-width: 0; }
  .pa-foot { justify-content: flex-start !important; margin-top: 8px; }
  .pa-card .pa-go { background: var(--pa-accent); color: #fff; }
  .pa-deco { display: none; }
}
@media (prefers-reduced-motion: reduce) { .pa-card, .pa-media, .pa-card p, .pa-tag { transition: none; } }

/* ===== Proyectos destacados: slide horizontal con 2 tarjetas a la vista (estilo Samyoung) ===== */
.sy-track { --gutter: clamp(20px, 3vw, 48px); --gap: 18px; --card-w: calc((100vw - var(--gutter) * 2 - var(--gap)) / 2); }
.sy-track .fx-row { gap: var(--gap); padding-left: var(--gutter); padding-right: var(--gutter); }
.sy-card {
  height: min(62svh, 500px); padding: 18px; border-radius: 28px;
  display: grid; grid-template-columns: 1fr 1.08fr; gap: 22px; align-items: stretch; text-decoration: none;
}
.sy-body { display: flex; flex-direction: column; padding: 14px 4px 6px 10px; min-width: 0; }
.sy-tag { align-self: flex-start; font-family: var(--font-label); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; padding: 6px 11px; border-radius: 100px; background: rgba(255,255,255,.7); margin-bottom: auto; }
.sy-card h3 { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.8rem, 2.8vw, 2.8rem); line-height: 1.02; letter-spacing: -.035em; margin: 24px 0 14px; max-width: none; }
.sy-card p { font-size: 15px; line-height: 1.45; color: var(--muted); margin: 0 0 24px; max-width: 30em; }
.sy-foot { display: inline-flex; align-items: center; gap: 12px; font-size: 14px; font-weight: 500; }
.sy-go { display: inline-grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #fff; color: var(--ink); transition: background-color .4s ease, color .4s ease, transform .5s var(--spring, cubic-bezier(.34,1.56,.64,1)); }
.sy-go svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; transition: transform .5s ease; }
.sy-card:hover .sy-go { background: var(--violet, #385950); color: #fff; transform: translateX(4px); }
.sy-card:hover .sy-go svg { transform: rotate(45deg); }
.sy-media { opacity: 1 !important; transform: none !important; top: auto; right: auto; bottom: auto; width: auto; z-index: 0; position: relative; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.45); }
.sy-media .ph { position: absolute; inset: 0; border: 0 !important; border-radius: 0 !important; transition: transform 1s var(--ease); }
.sy-media .ph > img { object-position: center; }
.sy-card:hover .sy-media .ph { transform: scale(1.04); }
.sy-track .fx-end { width: min(28vw, 340px); }
@media (max-width: 900px) {
  .sy-card { height: auto; min-height: 0; grid-template-columns: 1fr; padding: 14px 14px 20px; }
  .sy-media { order: -1; aspect-ratio: 16 / 10; }
  .sy-body { padding: 4px 6px 0; }
  .sy-tag { margin-bottom: 0; }
  .sy-card h3 { margin-top: 14px; }
}

/* Slide: la tarjeta activa se agranda hacia la derecha y muestra la captura (ref. Samyoung) */
.sy-track { --card-w: calc((100vw - var(--gutter) - var(--gap) * 2) / 3.2); }
@media (min-width: 901px) {
  .sy-card { display: block; position: relative; isolation: isolate; width: var(--card-w); transition: width .75s cubic-bezier(.65,0,.35,1); }
  .sy-card.is-open { width: calc(var(--card-w) * 1.7); }
  .sy-body { position: relative; z-index: 2; height: 100%; width: calc(var(--card-w) - 36px); }
  .sy-card p { opacity: .35; transition: opacity .4s ease; }
  .sy-card.is-open p { opacity: 1; transition-delay: .25s; }
  .sy-media { position: absolute !important; top: 18px !important; right: 18px !important; bottom: 18px !important; left: auto !important;
    width: calc(var(--card-w) * .7 - 18px) !important;
    opacity: 0 !important; transform: translateX(32px) !important; transition: opacity .35s ease, transform .7s cubic-bezier(.16,1,.3,1); }
  .sy-card.is-open .sy-media { opacity: 1 !important; transform: none !important; transition-delay: .2s; }
  .sy-card.is-open .sy-go { background: var(--violet, #385950); color: #fff; }
  .sy-card:hover .sy-media .ph { transform: none; }
}


/* Header flotante al scrollear: despegado del top, con márgenes, bordes redondeados y fondo blureado */
.site-header { transition: inset .5s cubic-bezier(.16,1,.3,1), padding .5s cubic-bezier(.16,1,.3,1), border-radius .5s ease, background-color .35s, backdrop-filter .35s, box-shadow .35s; }
.site-header.is-scrolled {
  inset: 12px max(12px, calc((100% - 1080px) / 2)) auto;
  padding: 10px clamp(14px, 1.6vw, 22px);
  border-radius: 100px;
  border: 0;
  background: color-mix(in srgb, var(--paper) 62%, transparent);
  -webkit-backdrop-filter: blur(16px) saturate(1.4); backdrop-filter: blur(16px) saturate(1.4);
  box-shadow: 0 8px 30px -12px rgba(31,58,50,.18);
}
@media (max-width: 900px) { .site-header.is-scrolled { inset: 10px 10px auto; border-radius: 22px; } }

/* Logo: centrado óptico en el header (Darker Grotesque tiene ascendentes altos) */
.site-header .brand { position: relative; top: -3px; }

/* Cinta de "Sobre mí": recta, de punta a punta, como corte con la sección siguiente */
.ab { padding-bottom: 0; }
.ab-grid { align-items: stretch; }
.ab-head { display: flex; flex-direction: column; }
.ab-photo { margin-top: auto; transform: none; margin-bottom: 0; }
.ab-photo picture:last-of-type img { margin-bottom: -1px; }
.ab-body { padding-bottom: clamp(56px, 8vh, 96px); }
.ab .ab-ribbon {
  position: relative; left: auto; right: auto; bottom: auto; z-index: 3;
  transform: none; border-radius: 0; padding: 14px 0;
  opacity: 1; translate: none; transition: none;
}
.ab .ab-ribbon span { font-size: 13px; }
@media (max-width: 900px) { .ab-photo { margin-bottom: 0; } .ab .ab-ribbon { padding: 11px 0; } .ab .ab-ribbon span { font-size: 11px; } }
@media (max-width: 900px) {
  .ab-grid { display: flex; flex-direction: column; gap: 0; }
  .ab-head { display: contents; }
  .ab-head .label { order: 0; }
  .ab-body { order: 1; padding-bottom: 40px; }
  .ab-photo { order: 2; margin-top: 0; }
}
.ab .ab-ribbon__track { animation-duration: 100s; }

/* Bajada de los proyectos siempre en oscuro */
.sy-card p, .sy-card.is-open p { opacity: 1 !important; color: var(--ink); }

/* Franja de Sobre mí: tipografía más grande */
.ab .ab-ribbon { padding: 16px 0; }
.ab .ab-ribbon span { font-size: clamp(14px, 1.15vw, 16px); padding-inline: 22px; }
.ab .ab-ribbon i svg { width: 15px; height: 15px; }
@media (max-width: 900px) { .ab .ab-ribbon { padding: 13px 0; } .ab .ab-ribbon span { font-size: 13px; padding-inline: 16px; } .ab .ab-ribbon i svg { width: 13px; height: 13px; } }

/* Foto: la persona está desde el inicio; solo se "carga" el borde troquelado tipo sticker */
.ab-photo__persona img { opacity: 1 !important; transform: none !important; filter: none !important; transition: none !important; }
.ab-photo__trazo img { filter: drop-shadow(0 10px 18px rgba(31,58,50,.2)) drop-shadow(0 1px 2px rgba(31,58,50,.18)); }
.ab-photo.is-in .ab-photo__trazo { animation: trazo 1.6s cubic-bezier(.65, 0, .35, 1) .3s forwards; }

/* Sin sombras: borde de la foto (verde) y stickers del hero */
.ab-photo__trazo img { filter: none !important; }
.hx-stk svg { filter: none !important; }

/* ===== Proceso: stickers personalizados (charla, planificación, revisión, entrega, florcita) ===== */
.pr-stickers { position: relative; height: 250px; margin-top: 40px; max-width: 440px; }
.pr-stk { position: absolute; width: var(--s, 110px); rotate: var(--r, 0deg); opacity: 0; scale: .4;
  transition: opacity .5s ease, scale .8s cubic-bezier(.34,1.56,.64,1), rotate .5s cubic-bezier(.34,1.56,.64,1); transition-delay: var(--d, 0s); }
.pr-stk svg { display: block; width: 100%; height: auto; overflow: visible; }
.pr-stickers.is-in .pr-stk { opacity: 1; scale: 1; animation: stk-float 8s ease-in-out infinite; animation-delay: var(--d, 0s); }
.pr-stk:hover { rotate: calc(var(--r, 0deg) * -1); scale: 1.08 !important; }
.pr-stk--1 { --s: 128px; --r: -7deg; left: 0;    top: 0;    --d: .1s; }
.pr-stk--2 { --s: 112px; --r: 8deg;  left: 130px; top: 22px; --d: .25s; }
.pr-stk--3 { --s: 112px; --r: -4deg; left: 250px; top: -4px; --d: .4s; }
.pr-stk--4 { --s: 118px; --r: 10deg; left: 70px; top: 120px; --d: .55s; }
.pr-stk--5 { --s: 86px;  --r: 0deg;  left: 210px; top: 140px; --d: .7s; animation-name: stk-float, flower-spin !important; animation-duration: 8s, 30s !important; animation-timing-function: ease-in-out, linear !important; }
@media (max-width: 900px) {
  .pr-stickers { height: auto; display: flex; flex-wrap: wrap; gap: 4px; margin-top: 28px; }
  .pr-stk { position: relative; left: auto !important; top: auto !important; --s: 56px !important; }
}
@media (prefers-reduced-motion: reduce) { .pr-stk { opacity: 1; scale: 1; transition: none; animation: none !important; } }

/* ===== Proceso: stickers animados arriba a la derecha de cada tarjeta ===== */
.step__icon.step__stk { width: 104px; height: 104px; right: 14px; top: 10px; background: none !important; border-radius: 0; overflow: visible; padding: 0; rotate: var(--r, 0deg); transition: rotate .5s cubic-bezier(.34,1.56,.64,1), scale .5s cubic-bezier(.34,1.56,.64,1); }
.step__icon.step__stk::before, .step__icon.step__stk::after { display: none; }
.step__stk svg { width: 100%; height: 100%; overflow: visible; display: block; }
.step:hover .step__stk { rotate: calc(var(--r, 0deg) * -1); scale: 1.08; }
.step__stk--chat { --r: -6deg; } .step__stk--cal { --r: 7deg; } .step__stk--lupa { --r: -4deg; } .step__stk--avion { --r: 6deg; }
.step__stk .sk-move, .step__stk .sk-dot, .step__stk .sk-check, .step__stk .sk-trail { transform-box: fill-box; transform-origin: center; }

/* Charla: los puntitos rebotan uno tras otro */
.sk-dot { animation: sk-dot 1.4s ease-in-out infinite; }
.sk-dot:nth-child(2) { animation-delay: .15s; } .sk-dot:nth-child(3) { animation-delay: .3s; }
@keyframes sk-dot { 0%, 60%, 100% { transform: translateY(0); } 30% { transform: translateY(-9px); } }

/* Calendario: el tilde se dibuja una y otra vez */
.sk-check { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sk-check 3s ease-in-out infinite; }
@keyframes sk-check { 0%, 15% { stroke-dashoffset: 1; } 45%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }

/* Lupa: recorre la tarjeta como si revisara */
.step__stk--lupa .sk-move { animation: sk-scan 4s ease-in-out infinite; transform-origin: 70px 70px; transform-box: view-box; }
@keyframes sk-scan { 0%, 100% { transform: translate(0, 0) rotate(0); } 25% { transform: translate(-8px, 5px) rotate(-6deg); } 50% { transform: translate(4px, 9px) rotate(4deg); } 75% { transform: translate(7px, -3px) rotate(-2deg); } }

/* Avión: planea en diagonal y deja su estela */
.step__stk--avion .sk-move { animation: sk-fly 3.2s ease-in-out infinite; transform-box: view-box; }
@keyframes sk-fly { 0%, 100% { transform: translate(0, 0) rotate(0); } 50% { transform: translate(8px, -10px) rotate(-5deg); } }
.sk-trail path { animation: sk-trail 1.2s linear infinite; }
@keyframes sk-trail { to { stroke-dashoffset: -22; } }

@media (max-width: 900px) { .step__icon.step__stk { width: 84px; height: 84px; } }
@media (prefers-reduced-motion: reduce) { .step__stk *, .step__stk .sk-move { animation: none !important; } .sk-check { stroke-dashoffset: 0; } }

/* Notebook con código: las líneas se escriben y el cursor titila */
.step__stk--note { --r: -5deg; } .step__stk--video { --r: 6deg; }
.sk-code { stroke-dasharray: 1; stroke-dashoffset: 1; animation: sk-type 4s steps(10, end) infinite; }
.sk-code2 { animation-delay: .7s; } .sk-code3 { animation-delay: 1.4s; }
@keyframes sk-type { 0% { stroke-dashoffset: 1; } 25%, 85% { stroke-dashoffset: 0; } 100% { stroke-dashoffset: 1; } }
.sk-caret { animation: sk-blink 1s steps(1, end) infinite; }
@keyframes sk-blink { 50% { opacity: 0; } }

/* Videollamada: la persona asiente, el punto "en vivo" late y aparece un corazón de feedback */
.sk-person { transform-box: fill-box; transform-origin: 50% 100%; animation: sk-nod 3s ease-in-out infinite; }
@keyframes sk-nod { 0%, 100% { transform: rotate(0); } 20% { transform: rotate(-3deg) translateY(-1px); } 40% { transform: rotate(2deg); } 60% { transform: rotate(0); } }
.sk-live { transform-box: fill-box; transform-origin: center; animation: sk-live 1.6s ease-in-out infinite; }
@keyframes sk-live { 50% { transform: scale(1.5); opacity: .5; } }
.step__stk--video .sk-bubble { transform-box: fill-box; transform-origin: center; animation: sk-heart 2.4s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes sk-heart { 0%, 15% { transform: scale(0); } 30%, 80% { transform: scale(1); } 45% { transform: scale(1.18); } 100% { transform: scale(0); } }

/* Hasta que cargan las imágenes, ni la foto ni el borde se muestran (evita la cuña verde) */
.ab-photo:not(.is-loaded) picture { visibility: hidden; }
.ab-photo .ab-photo__trazo { animation: none; }
.ab-photo.is-in.is-loaded .ab-photo__trazo { animation: trazo 1.6s cubic-bezier(.65, 0, .35, 1) .2s forwards; }
.ab-photo__persona img { transition: opacity .4s ease !important; }
.ab-photo:not(.is-loaded) .ab-photo__persona img { opacity: 0 !important; }

/* Header sticky: ítems del menú sin borde */
.site-header.is-scrolled .pill--ghost, .site-header.is-scrolled .pill--ghost:hover { border-color: transparent; }

/* ===== V2 · Hero: composición de stickers (frases + íconos + foto) a mano alzada ===== */
.v2-stk { width: auto; }
.v2-stk .v2-shape, .v2-stk .v2-icon, .v2-photo__b { filter: url(#hand); }
.v2-tag, .v2-oval, .v2-card { position: relative; display: grid; place-items: center; text-align: center; }
.v2-shape { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.v2-tag { width: 220px; height: 138px; grid-template-rows: 52px 1fr; }
.v2-tag > span { position: relative; }
.v2-tag__top { align-self: end; padding-bottom: 8px; font-family: var(--font-label); font-weight: 700; font-size: 14px; text-transform: uppercase; letter-spacing: .08em; color: #fbf8f1; }
.v2-tag__name { font-family: "Caveat", cursive; font-weight: 700; font-size: 54px; line-height: 1; color: #1f2a26; margin-top: -4px; }
.v2-photo { position: relative; width: 170px; }
.v2-photo img { display: block; width: 100%; height: auto; }
.v2-photo__p { position: absolute; inset: 0; }
.v2-oval { width: 232px; height: 104px; }
.v2-oval span { position: relative; font-family: "Caveat", cursive; font-weight: 700; font-size: 36px; color: #1f2a26; transform: rotate(-3deg); }
.v2-pill { position: relative; display: inline-flex; align-items: center; padding: 12px 26px; border-radius: 100px; background: #fff; border: 2.5px solid #1f2a26; box-shadow: 0 0 0 7px #ede3cd; font-family: var(--font-sans); font-size: 20px; font-weight: 500; color: #1f2a26; white-space: nowrap; }
.v2-cursor { position: absolute; left: -26px; top: -24px; width: 26px; height: 26px; transform: rotate(-8deg); }
.v2-card { width: 204px; height: 120px; place-items: start; padding: 22px 26px; text-align: left; }
.v2-card__t { position: relative; font-family: var(--font-label); font-weight: 700; font-size: 13px; line-height: 1.35; text-transform: uppercase; letter-spacing: .04em; color: #1f2a26; }
.v2-card__i { position: absolute; left: 24px; bottom: 18px; width: 52px; }
.v2-icon { display: block; width: var(--w, 96px); height: auto; overflow: visible; }
.v2-eye { animation: v2-look 5s ease-in-out infinite; }
@keyframes v2-look { 0%, 40%, 100% { transform: translate(0, 0); } 50%, 70% { transform: translate(-6px, 1px); } 80% { transform: translate(2px, -2px); } }

.hx-stk--1 { --r: -6deg; right: 17%; top: 9%; --cd: .05s; }
.hx-stk--2 { --r: 5deg;  right: 2%;  top: 19%; --cd: .2s; }
.hx-stk--3 { --r: -7deg; right: 21%; top: 41%; --cd: .35s; }
.hx-stk--4 { --r: 4deg;  right: 4%;  top: 57%; --cd: .5s; }
.hx-stk--5 { --r: 5deg;  right: 18%; top: 64%; --cd: .65s; }
.hx-stk--6 { --r: 0deg;  right: 4%;  top: 3%;  --cd: .8s; --w: 96px; }
.hx-stk--7 { --r: -10deg; right: 33%; top: 21%; --cd: .95s; --w: 80px; }
.hx-stk--8 { --r: 6deg;  right: 31%; top: 72%; --cd: 1.1s; --w: 112px; }
.hx-stk--6 .v2-icon { --w: 96px; } .hx-stk--7 .v2-icon { --w: 80px; } .hx-stk--8 .v2-icon { --w: 112px; }
.hx-stk { --s: auto !important; }

@media (max-width: 1100px) { .v2-stk { zoom: .8; } }
@media (max-width: 900px) {
  .hx[data-hero] .hx-stickers { flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px 8px; padding: 0 12px 8px; }
  .v2-stk { zoom: .55; }
  .hx-stk--4, .hx-stk--5, .hx-stk--8 { display: none; }
}
.hx-stk svg.v2-icon { width: var(--w, 96px) !important; height: auto !important; }
.hx-stk svg.v2-cursor { width: 26px !important; height: 26px !important; }
.hx-stk svg.v2-card__i { width: 52px !important; height: auto !important; }
.hx-stk svg.v2-shape { width: 100% !important; height: 100% !important; }
.hx-stk--6 { --w: 96px; } .hx-stk--7 { --w: 80px; } .hx-stk--8 { --w: 112px; }
/* V2 · composición reacomodada */
.hx-stk--1 { right: 19%; top: 12%; }
.hx-stk--6 { right: 13%; top: 7%; --w: 86px; }
.hx-stk--2 { right: 2%;  top: 22%; }
.hx-stk--7 { right: 31%; top: 31%; }
.hx-stk--3 { right: 15%; top: 45%; }
.hx-stk--4 { right: 3%;  top: 61%; }
.hx-stk--5 { right: 20%; top: 63%; }
.hx-stk--8 { right: 34%; top: 59%; }
.step__stk svg { filter: url(#hand); }
/* V2 · flor del logo como sticker (en lugar de la foto) */
.hx-stk--2 { right: 4%; top: 25%; --w: 150px; --r: 12deg; }
.hx-stk--2 .v2-flower { animation: flower-spin 40s linear infinite; }
@media (prefers-reduced-motion: reduce) { .hx-stk--2 .v2-flower { animation: none; } }

/* ===== V3 · Stickers de marca + flores-personaje ===== */
.v3-word { position: relative; display: inline-flex; align-items: center; gap: 4px; padding: 18px 30px 22px; font-family: "Darker Grotesque", var(--font-display); font-weight: 600; font-size: 44px; letter-spacing: -1px; line-height: 1; color: #1f2a26; }
.v3-word > span { position: relative; }
.hx-stk svg.v3-word__f { position: relative; width: 30px !important; height: 30px !important; margin: 0 2px; }
.hx-stk svg.v3-badge { width: 150px !important; height: 150px !important; animation: flower-spin 30s linear infinite; }
.v3-badge__t { font-family: var(--font-label); font-weight: 700; font-size: 13.5px; letter-spacing: .14em; fill: #fbf8f1; }
.v3-cloud { position: relative; width: 210px; height: 150px; display: grid; place-items: center; text-align: center; }
.v3-cloud span { position: relative; font-family: var(--font-sans); font-size: 21px; line-height: 1.05; color: #1f2a26; }
.v3-cloud em { font-family: "Caveat", cursive; font-style: normal; font-weight: 700; font-size: 30px; }
.v3-oval { position: relative; width: 230px; height: 104px; display: grid; place-items: center; text-align: center; }
.v3-oval span { position: relative; font-family: var(--font-label); font-weight: 700; font-size: 14px; line-height: 1.3; text-transform: uppercase; letter-spacing: .06em; color: #1f2a26; }
.hx-stk svg.ch { width: var(--w, 150px) !important; height: auto !important; overflow: visible; filter: url(#hand); }

/* Animaciones de las flores-personaje */
.ch .ch-body { transform-box: view-box; transform-origin: 80px 130px; animation: ch-bob 2.6s ease-in-out infinite; }
@keyframes ch-bob { 0%, 100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-3px) rotate(-3deg); } }
.ch .ch-eye { transform-box: fill-box; transform-origin: center; animation: ch-blink 4.5s infinite; }
@keyframes ch-blink { 0%, 92%, 100% { transform: scaleY(1); } 95% { transform: scaleY(.1); } }
.ch .ch-wave { transform-box: view-box; transform-origin: 102px 70px; animation: ch-wave 1.4s ease-in-out infinite; }
@keyframes ch-wave { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-18deg); } }
.ch .ch-arm-l { transform-box: view-box; transform-origin: 58px 70px; animation: ch-cheer 1s ease-in-out infinite; }
.ch .ch-arm-r { transform-box: view-box; transform-origin: 102px 70px; animation: ch-cheer 1s ease-in-out infinite reverse; }
@keyframes ch-cheer { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(10deg); } }
.ch .ch-confetti { animation: ch-pop 2s ease-out infinite; transform-box: view-box; transform-origin: 80px 40px; }
@keyframes ch-pop { 0% { transform: translateY(8px) scale(.6); opacity: 0; } 30% { opacity: 1; } 100% { transform: translateY(-6px) scale(1.05); opacity: 0; } }
.ch .ch-prop { transform-box: view-box; transform-origin: 80px 110px; animation: ch-bob 2.6s ease-in-out infinite; animation-delay: -.3s; }

.hx-stk--1 { --r: -5deg; right: 15%; top: 11%; }
.hx-stk--2 { --r: 0deg;  right: 2%;  top: 7%; }
.hx-stk--3 { --r: 6deg;  right: 4%;  top: 40%; }
.hx-stk--4 { --r: -6deg; right: 27%; top: 68%; }
.hx-stk--5 { --r: 0deg;  right: 24%; top: 33%; --w: 160px; }
.hx-stk--6 { --r: 0deg;  right: 12%; top: 60%; --w: 150px; }
.hx-stk--7 { --r: 12deg; right: 33%; top: 18%; --w: 54px; }
.hx-stk--8 { --r: -10deg; right: 2%; top: 74%; --w: 80px; }

/* Proceso: flores-personaje en las tarjetas */
.step__icon.step__ch { width: 118px; height: 118px; top: 4px; right: 12px; }
.step__ch svg.ch { width: 100%; height: 100%; overflow: visible; filter: url(#hand); }
@media (max-width: 900px) {
  .hx-stk--4, .hx-stk--7, .hx-stk--8 { display: none; }
  .hx-stk--5, .hx-stk--6 { display: block; }
  .step__icon.step__ch { width: 92px; height: 92px; }
}
@media (prefers-reduced-motion: reduce) { .ch * { animation: none !important; } }
.hx-stk--5 { --w: 200px; right: 23%; top: 30%; }
.hx-stk--6 { --w: 190px; right: 11%; top: 56%; }
.hx-stk--7 { right: 37%; top: 63%; }
.hx-stk--1 { right: 14%; top: 12%; }
@media (max-width: 900px) { .hx-stk--5, .hx-stk--6 { --w: 150px; } }

/* ===== V3 · Sobre mí: íconos-sticker alrededor de la foto ===== */
.ab-icons { position: absolute; inset: 0; z-index: 3; pointer-events: none; }
.ab-ic { position: absolute; width: var(--s, 92px); rotate: var(--r, 0deg); pointer-events: auto; opacity: 0; scale: .4;
  transition: opacity .5s ease, scale .8s cubic-bezier(.34,1.56,.64,1), rotate .5s cubic-bezier(.34,1.56,.64,1); transition-delay: var(--d, 0s); }
.ab-ic svg { display: block; width: 100%; height: auto; overflow: visible; filter: url(#hand); }
.ab-photo.is-in .ab-ic { opacity: 1; scale: 1; animation: stk-float 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.ab-ic:hover { rotate: calc(var(--r, 0deg) * -1); scale: 1.1 !important; }
.ab-ic--mate    { left: -4%;  top: 10%; --r: -10deg; --d: .2s; }
.ab-ic--avion   { right: -2%; top: 2%;  --r: 18deg;  --d: .35s; --s: 84px; }
.ab-ic--compu   { left: -9%;  top: 46%; --r: -6deg;  --d: .5s; --s: 100px; }
.ab-ic--cafe    { right: -7%; top: 38%; --r: 8deg;   --d: .65s; }
.ab-ic--termo   { left: 6%;   bottom: 6%; --r: 6deg; --d: .8s; --s: 80px; }
.ab-ic--bordado { right: 3%;  bottom: 8%; --r: -8deg; --d: .95s; }
.ab-steam { animation: ab-steam 2.4s ease-in-out infinite; }
@keyframes ab-steam { 0%, 100% { opacity: .35; transform: translateY(2px); } 50% { opacity: 1; transform: translateY(-3px); } }
@media (max-width: 900px) { .ab-ic { --s: 62px !important; } .ab-ic--compu { left: -4%; } .ab-ic--cafe { right: -3%; } }
@media (prefers-reduced-motion: reduce) { .ab-ic { opacity: 1; scale: 1; transition: none; animation: none !important; } }

/* ===== V3 · Flores-personaje: nuevas acciones ===== */
.ch .ch-write { transform-box: view-box; transform-origin: 103px 74px; animation: ch-write .9s ease-in-out infinite; }
@keyframes ch-write { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(8deg) translate(1px, 2px); } }
.ch .ch-note { transform-box: fill-box; transform-origin: center; animation: ch-note 3s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes ch-note { 0%, 20% { transform: scale(0); } 40%, 85% { transform: scale(1); } 100% { transform: scale(0); } }
.ch .ch-throw { transform-box: view-box; transform-origin: 103px 72px; animation: ch-throw 2.6s ease-in-out infinite; }
@keyframes ch-throw { 0%, 100% { transform: rotate(10deg); } 30% { transform: rotate(-14deg); } 60% { transform: rotate(4deg); } }
.ch .ch-plane { transform-box: view-box; animation: ch-plane 2.6s ease-in-out infinite; }
@keyframes ch-plane { 0%, 20% { transform: translate(-14px, 14px) rotate(8deg); opacity: 0; } 35% { opacity: 1; } 70% { transform: translate(4px, -6px) rotate(-4deg); opacity: 1; } 100% { transform: translate(14px, -16px); opacity: 0; } }
.ch .ch-trail { animation: sk-trail 1.2s linear infinite; }
/* Íconos más encimados a la foto, sobre todo arriba */
.ab-ic--mate    { left: 14%; top: 4%; }
.ab-ic--avion   { right: 12%; top: -2%; }
.ab-ic--compu   { left: 2%;  top: 36%; }
.ab-ic--cafe    { right: 8%; top: 28%; }
.ab-ic--termo   { left: 12%; bottom: 10%; }
.ab-ic--bordado { right: 12%; bottom: 12%; }
@media (max-width: 900px) { .ab-ic--compu { left: 0; } .ab-ic--cafe { right: 4%; } }
.ab-ic--mate  { left: 18%; top: 7%; }
.ab-ic--avion { right: 16%; top: 1%; }
.ab-ic--cafe  { right: 10%; top: 27%; }
.ab-ic--compu { left: 5%; top: 33%; }

/* ===== V3 · Mockups de proyectos (navegador + mobile + píldoras) ===== */
.sy-media { container-type: size; }
.mk { position: absolute; inset: 0; overflow: hidden; border-radius: inherit;
  background-color: color-mix(in srgb, var(--card, #f3f2ee) 55%, #fff);
  background-image: radial-gradient(rgba(31,42,38,.16) 1px, transparent 1.4px); background-size: 12px 12px; }
.mk-browser { position: absolute; left: 7%; top: 9%; width: 92%; border-radius: 12px; background: #fff; border: 2px solid #1f2a26; overflow: hidden; box-shadow: 6px 6px 0 rgba(31,42,38,.12); transform: rotate(-2deg); transition: transform .6s var(--ease); }
.mk-bar { display: flex; align-items: center; gap: 5px; height: 26px; padding: 0 10px; border-bottom: 2px solid #1f2a26; background: #fbf8f1; }
.mk-bar i { width: 8px; height: 8px; border-radius: 50%; background: #e9cf84; border: 1.5px solid #1f2a26; }
.mk-bar i:nth-child(2) { background: #dfd3dd; } .mk-bar i:nth-child(3) { background: #d3d693; }
.mk-bar span { margin-left: 8px; flex: 1; height: 16px; border-radius: 100px; background: #fff; border: 1.5px solid rgba(31,42,38,.25); font-family: var(--font-label); font-weight: 700; font-size: 9px; line-height: 13px; text-align: center; color: #1f2a26; text-transform: lowercase; overflow: hidden; white-space: nowrap; }
.mk-shot { position: relative; aspect-ratio: 16 / 10; background: repeating-linear-gradient(45deg, #f3f2ee 0 10px, #ecebe5 10px 20px); }
.mk-shot img, .mk-tile img, .mk-phone img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.mk-phone { position: absolute; right: 7%; bottom: 7%; width: 32%; aspect-ratio: 9 / 18; border-radius: 18px; background: #fff; border: 6px solid #1f2a26; overflow: hidden; box-shadow: 6px 6px 0 rgba(31,42,38,.12); transform: rotate(4deg); transition: transform .6s var(--ease); }
.mk-phone::before { content: ""; position: absolute; z-index: 2; top: 4px; left: 50%; width: 34%; height: 7px; border-radius: 6px; background: #1f2a26; transform: translateX(-50%); }
.mk-tile { position: absolute; right: 6%; bottom: 8%; width: 56%; aspect-ratio: 16 / 11; border-radius: 10px; background: repeating-linear-gradient(45deg, #f3f2ee 0 10px, #ecebe5 10px 20px); border: 2px solid #1f2a26; overflow: hidden; box-shadow: 6px 6px 0 rgba(31,42,38,.12); transform: rotate(3deg); transition: transform .6s var(--ease); }
.mk-pills { position: absolute; left: 6%; bottom: 8%; display: flex; flex-direction: column; align-items: flex-start; gap: 7px; margin: 0; padding: 0; list-style: none; z-index: 2; }
.mk-pills li { font-family: var(--font-label); font-weight: 700; font-size: 10.5px; text-transform: uppercase; letter-spacing: .05em; padding: 6px 11px; border-radius: 100px; background: #fff; border: 1.5px solid #1f2a26; color: #1f2a26; white-space: nowrap; }
.mk-pills li:nth-child(1) { transform: rotate(-4deg); } .mk-pills li:nth-child(2) { transform: rotate(3deg) translateX(10px); } .mk-pills li:nth-child(3) { transform: rotate(-2deg) translateX(2px); }
.mk-spark { position: absolute; z-index: 3; left: 4%; top: 3%; width: 22px; height: 22px; fill: #1f2a26; animation: mk-twinkle 3s ease-in-out infinite; }
@keyframes mk-twinkle { 0%, 100% { transform: scale(1) rotate(0); } 50% { transform: scale(.7) rotate(20deg); } }
.sy-card:hover .mk-browser { transform: rotate(0) translateY(-4px); }
.sy-card:hover .mk-phone { transform: rotate(0) translateY(-6px); }
.sy-card:hover .mk-tile { transform: rotate(0) translateY(-6px); }
/* Media apaisada (celular): navegador a la izquierda, mobile/tile a la derecha */
@container (min-aspect-ratio: 5 / 4) {
  .mk-browser { left: 6%; top: 10%; width: 64%; }
  .mk-phone { right: 6%; bottom: 8%; width: 22%; }
  .mk-tile { right: 5%; bottom: 10%; width: 38%; }
  .mk-pills { left: auto; right: 6%; top: 8%; bottom: auto; align-items: flex-end; }
  .mk-pills li:nth-child(n+2) { display: none; }
}
@media (prefers-reduced-motion: reduce) { .mk-spark { animation: none; } }

/* Mockups: sin fondo granulado ni píldoras; variantes desktop / mobile / ambos */
.mk { background: color-mix(in srgb, var(--card, #f3f2ee) 60%, #fff) !important; }
.mk-pills { display: none !important; }
.mk--desk .mk-browser { left: 8%; top: 50%; width: 84%; transform: translateY(-50%) rotate(-2deg); }
.sy-card:hover .mk--desk .mk-browser { transform: translateY(-50%) rotate(0) translateY(-4px); }
.mk--mob .mk-phone { left: 50%; right: auto; top: 50%; bottom: auto; width: 46%; transform: translate(-50%, -50%) rotate(4deg); }
.sy-card:hover .mk--mob .mk-phone { transform: translate(-50%, -54%) rotate(0); }
@container (min-aspect-ratio: 5 / 4) {
  .mk--desk .mk-browser { width: 76%; left: 12%; }
  .mk--mob .mk-phone { width: 26%; }
}

/* ===== V3 · Proyectos: captura recortada en figuras orgánicas (ref. Google Labs) ===== */
.mk.mk-shape { display: grid; place-items: center; }
.sh { position: relative; width: min(84cqw, 84cqh); aspect-ratio: 1; background: repeating-linear-gradient(45deg, #f3f2ee 0 12px, #ecebe5 12px 24px);
  transition: transform .8s cubic-bezier(.34,1.56,.64,1); }
.sh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; transform: scale(1.02); transition: transform 1.2s var(--ease); }
.sy-card.is-open .sh, .sy-card:hover .sh { transform: rotate(-4deg) scale(1.03); }
.sy-card.is-open .sh img, .sy-card:hover .sh img { transform: rotate(4deg) scale(1.12); }
.sh--flor { width: min(92cqw, 92cqh); }
.sh--flor img { object-position: 30% top; }
@media (prefers-reduced-motion: reduce) { .sh, .sh img { transition: none; } }
.mk.mk-shape { background: transparent !important; }
.sy-media:has(.mk-shape) { background: transparent; overflow: visible; }
.sh--flor { width: min(96cqw, 96cqh); }
@media (max-width: 900px) {
  .sy-media:has(.mk-shape) { aspect-ratio: 4 / 3; margin-top: 8px; }
  .sh, .sh--flor { width: min(86cqw, 86cqh); }
}
/* Todas las imágenes con forma de esquinas blandas, más grandes */
.sh, .sh--flor { width: 96cqw !important; aspect-ratio: auto; height: min(96cqh, 120cqw); }
.sh img { object-position: center top; }
.sy-card.is-open .sh, .sy-card:hover .sh { transform: rotate(-2deg) scale(1.02); }
.sy-card.is-open .sh img, .sy-card:hover .sh img { transform: rotate(2deg) scale(1.08); }
@media (max-width: 900px) { .sh, .sh--flor { width: 92cqw !important; height: 92cqh; } }
@media (min-width: 901px) { .sh, .sh--flor { height: 96cqh !important; } }
@media (min-width: 901px) {
  .sy-card.is-open { width: calc(var(--card-w) * 2.05); }
  .sy-media { width: calc(var(--card-w) * 1.05 - 18px) !important; }
  .sh, .sh--flor { height: min(96cqh, 78cqw) !important; }
}
.sh img[src*="biohack-spa"], .sh img[src*="atlantica/bosque"], .sh img[src*="kahlo/hero"] { object-position: center; }

/* Atlántica: preview en ventana de navegador (sin recorte orgánico) */
.sh.sh--browser { display: flex; flex-direction: column; height: auto !important; aspect-ratio: auto; background: #fff; border: 2px solid #1f2a26; border-radius: 12px; overflow: hidden; clip-path: none; box-shadow: 6px 6px 0 rgba(31,42,38,.14); }
.sh--browser .mk-bar { flex: none; height: 30px; }
.sh--browser .sh-shot { position: relative; aspect-ratio: 1895 / 1079; overflow: hidden; }
.sh--browser .sh-shot img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.sy-card.is-open .sh--browser, .sy-card:hover .sh--browser { transform: rotate(-1.5deg) translateY(-4px); }
.sy-card.is-open .sh--browser img, .sy-card:hover .sh--browser img { transform: none; }
.sh img[src*="atlantica/home"] { object-position: center; }
.sh img[src*="atlantica/tarjeta"] { object-position: center 45%; }
.sh img[src*="monoplast/griferia"] { object-position: 70% center; }
.sh img[src*="free-reviews/freebie"] { object-fit: cover; object-position: center; }
.sh:has(img[src*="free-reviews/freebie"]) { background: #fcf5f7; }
/* Colores: Free Reviews lila, Biohack verde */
html[data-skin~="bosque"] .fx-c1 { --card: var(--blush); background: var(--blush); }
html[data-skin~="bosque"] .fx-c2 { --card: var(--meadow); background: var(--meadow); }
/* Stickers del hero ocultos (por ahora) */
.hx .hx-stickers { display: none !important; }

.closing__note { max-width: 34em; margin: 10px auto 0; font-size: 15px; line-height: 1.45; color: var(--muted); text-align: center; }
/* Íconos alrededor de la foto ocultos */
.ab-icons { display: none !important; }
.ab .ab-ribbon span { font-size: 13px !important; }
/* Sin líneas separadoras entre secciones */
.ab, .pr, .closing, .fx-track, section { border-top: 0 !important; }

/* ===== Página de proyecto: fondo neutro, link al sitio y grilla de 3 capturas ===== */
.pv-card[style], .pv-card { --pv-bg: transparent; }
.pv { --pv-bg: transparent; }
.pv-link { display: inline-flex; align-items: center; gap: 6px; color: var(--violet, #385950); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.pv-link:hover { text-decoration-color: transparent; }
.pv-media.pv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 0; background: none; border-radius: 0; overflow: visible; margin-top: 28px; }
.pv-shot { margin: 0; aspect-ratio: 1600 / 727; border-radius: 16px; overflow: hidden; background: #fff; box-shadow: 0 0 0 1px rgba(31,42,38,.08), 0 14px 30px -18px rgba(31,42,38,.3); transition: transform .5s var(--ease); }
.pv-shot img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top left; }
.pv-shot:hover { transform: translateY(-4px); }
@media (max-width: 900px) { .pv-media.pv-grid { grid-template-columns: 1fr; } }
.pv-foot { justify-content: flex-end; }

/* ===== Ficha de proyecto: carrusel (1 imagen entera + 1/3 de la siguiente) ===== */
.pv-media.pv-carousel { display: block; margin-top: 28px; background: none; border-radius: 0; overflow: visible; padding: 0; }
.pv-carousel__nav { display: flex; align-items: center; justify-content: flex-end; gap: 8px; margin-bottom: 14px; }
.pv-carousel__count { margin-right: 6px; font-family: var(--font-label); font-size: 12px; letter-spacing: .06em; color: var(--muted); }
.pv-arrow { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 1.5px solid #1f2a26; background: #fff; color: #1f2a26; cursor: pointer; transition: background-color .3s, color .3s, opacity .3s, transform .3s; }
.pv-arrow svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pv-arrow:hover:not(:disabled) { background: var(--violet, #385950); border-color: var(--violet, #385950); color: #fff; }
.pv-arrow:active:not(:disabled) { transform: scale(.94); }
.pv-arrow:disabled { opacity: .3; cursor: default; }
.pv-arrow:focus-visible, .pv-carousel__track:focus-visible { outline: 2px solid var(--violet, #385950); outline-offset: 3px; }
.pv-carousel__track { display: grid; grid-auto-flow: column; grid-auto-columns: 75%; column-gap: 18px; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; scrollbar-width: none; padding-bottom: 6px; border-radius: 18px; }
.pv-carousel__track::-webkit-scrollbar { display: none; }
.pv-carousel .pv-shot { scroll-snap-align: start; aspect-ratio: 1600 / 727; border-radius: 18px; }
.pv-carousel .pv-shot:hover { transform: none; }
@media (max-width: 900px) { .pv-carousel__track { grid-auto-columns: 82%; column-gap: 12px; } .pv-arrow { width: 44px; height: 44px; } }
@media (prefers-reduced-motion: reduce) { .pv-carousel__track { scroll-behavior: auto; } }
/* Imágenes sin sombra */
.pv-shot, .pv-gallery .ph, .pv-media .ph, .mk-browser, .mk-phone, .mk-tile { box-shadow: none !important; }

/* Ficha: herramientas como chips + bloque "Mi parte" */
.pv-chips { display: flex; flex-wrap: wrap; gap: 6px; margin: 0; padding: 0; list-style: none; }
.pv-chips li { font-family: var(--font-label); font-size: 11px; text-transform: uppercase; letter-spacing: .05em; padding: 5px 10px; border-radius: 100px; background: #fff; border: 1px solid rgba(31,42,38,.18); }
.pv-part { margin-top: 56px; padding-inline: clamp(10px, 3vw, 48px); }
.pv-part__title { font-family: var(--font-display); font-weight: 500; font-size: clamp(1.6rem, 2.6vw, 2.4rem); line-height: 1.1; letter-spacing: -.02em; margin: 16px 0 28px; }
.pv-part__list { display: grid; grid-template-columns: repeat(4, 1fr); gap: clamp(18px, 2.4vw, 32px); margin: 0; padding: 0; list-style: none; }
.pv-part__list li { display: flex; flex-direction: column; gap: 8px; padding-top: 16px; border-top: 1px solid rgba(31,42,38,.15); line-height: 1.5; }
.pv-part__list strong { font-weight: 600; }
.pv-part + .pv-case { margin-top: 56px; }
@media (max-width: 900px) { .pv-part__list { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .pv-part__list { grid-template-columns: 1fr; } }
.pv-part { padding-inline: clamp(22px, 5vw, 72px); }
.pv-head .pv-chips { margin-top: 4px; }

/* Volver a proyectos: mismo estilo que los botones con contorno (CV en español) */
.pv-back { height: 44px; padding-inline: 20px; border-radius: 100px; border: 1px solid rgba(21,21,21,.12); background: transparent; color: var(--ink);
  font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; font-weight: 400; outline: none; }
.pv-back:hover { background: transparent; border-color: rgba(21,21,21,.3); }
.pv-back:focus { outline: none; }
.pv-back:focus-visible { outline: 2px solid var(--violet, #385950); outline-offset: 3px; }

/* Pills de herramientas con los colores de la marca */
.pv-chips li { border: 0; color: #1f2a26; }
.pv-chips li:nth-child(4n+1) { background: var(--meadow, #d3d693); }
.pv-chips li:nth-child(4n+2) { background: var(--blush, #dfd3dd); }
.pv-chips li:nth-child(4n+3) { background: var(--flax, #e9cf84); }
.pv-chips li:nth-child(4n+4) { background: var(--lace, #f3f2ee); box-shadow: inset 0 0 0 1px rgba(56,89,80,.18); }
.pv-head .pv-chips { max-width: 330px; }

/* ===== Flecha unificada (la misma de los botones del menú) ===== */
.ic-arrow { display: inline-block; flex: none; width: 12px; height: 12px; background: currentColor; vertical-align: -1px;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M1.5 11.5 11 2M3.5 1.5h8v8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 13 13'%3E%3Cpath d='M1.5 11.5 11 2M3.5 1.5h8v8' fill='none' stroke='%23000' stroke-width='1.6'/%3E%3C/svg%3E") center / contain no-repeat;
  transition: transform .5s var(--spring, cubic-bezier(.34,1.56,.64,1)); }
.ic-arrow--right { transform: rotate(45deg); }
.ic-arrow--left { transform: rotate(-135deg); }
.pv-next .ic-arrow { width: .5em; height: .5em; margin-left: .15em; vertical-align: .08em; }
.pv-next:hover .ic-arrow--right { transform: rotate(45deg) translate(3px, -3px); }
.pv-link .ic-arrow { width: 10px; height: 10px; }
.pv-link:hover .ic-arrow { transform: translate(2px, -2px); }
.sy-go .ic-arrow { width: 13px; height: 13px; }
.sy-card:hover .sy-go .ic-arrow { transform: rotate(45deg); }
.pv-arrow .ic-arrow { width: 13px; height: 13px; }
.cursor__label .ic-arrow { width: 10px; height: 10px; margin-left: 4px; }

/* Volver a proyectos a la derecha */
.pv-back { justify-self: end; flex-direction: row; }
.pv-back:hover { transform: translateX(-4px); }
.pv-back:hover .ic-arrow--left { transform: rotate(-135deg) translate(3px, -3px); }
.pv-back { gap: 10px; }


/* Proyectos destacados: imágenes en blanco y negro; color al pasar el mouse o con la tarjeta abierta */
.sh img { filter: grayscale(1) contrast(1.05); transition: filter .6s ease, transform 1.2s var(--ease); }
.sy-card:hover .sh img, .sy-card:focus-visible .sh img { filter: none; }
@media (hover: none) { .sy-card.is-open .sh img { filter: none; } }
/* Bajada del hero */
.hx-lead { max-width: 30em; margin: 0 0 14px; font-family: var(--font-sans); font-size: clamp(17px, 1.35vw, 20px); line-height: 1.45; color: var(--ink); text-transform: none; letter-spacing: 0; }

/* ===== Hero reorganizado (ref. Sarah Zaheer): titular grande + notas a la derecha ===== */
.hx { padding: clamp(120px, 16vh, 170px) clamp(20px, 3vw, 48px) clamp(40px, 7vh, 80px); }
.hx-inner { max-width: none; }
.hx-title { font-size: clamp(3rem, 9.2vw, 9.5rem); line-height: 1.02; letter-spacing: -.045em; max-width: none; text-wrap: initial; }
.hx-title [data-spell] > :first-child { margin-left: 1.9em; }
.hx-mark { padding: 0 .12em .02em; margin: 0 -.04em; border-radius: .18em; }
.hx-meta { display: grid; grid-template-columns: 1fr minmax(0, 1.2fr); align-items: end; gap: 40px; margin-top: clamp(28px, 4vw, 56px); }
.hx-cta-round { position: relative; display: grid; place-items: center; width: 168px; aspect-ratio: 1; margin-left: clamp(0px, 20vw, 380px); border-radius: 50%; background: var(--blush, #dfd3dd); color: var(--ink); text-decoration: none;
  font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; transition: transform .6s var(--spring, cubic-bezier(.34,1.56,.64,1)); }
.hx-cta-round::before { content: ""; position: absolute; inset: -9px; border-radius: 50%; border: 1px dashed currentColor; opacity: .45; animation: spin 26s linear infinite; }
.hx-cta-round > span { display: inline-flex; align-items: center; gap: 8px; max-width: 8em; text-align: center; line-height: 1.3; }
.hx-cta-round:hover { transform: scale(1.06) rotate(-4deg); }
.hx-cta-round:hover .ic-arrow { transform: rotate(45deg); }
.hx-notes { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: start; }
.hx-note { position: relative; margin: 0; padding-left: 22px; font-family: var(--font-sans); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.4; color: var(--ink); }
.hx-note::before { content: "["; position: absolute; left: 0; top: -.05em; font-weight: 300; }
.hx-note--services { margin-top: 3.2em; font-family: var(--font-label); font-size: 12px; line-height: 1.7; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.hx-note--services::before { color: var(--ink); font-size: 18px; top: -.25em; }
@media (max-width: 1000px) { .hx-meta { grid-template-columns: 1fr; } .hx-cta-round { margin-left: 0; } }
@media (max-width: 700px) {
  .hx-title { font-size: clamp(2.6rem, 12vw, 3.6rem); }
  .hx-title [data-spell] > :first-child { margin-left: 0; }
  .hx-notes { grid-template-columns: 1fr; gap: 18px; }
  .hx-note--services { margin-top: 0; }
  .hx-meta { gap: 28px; }
  .hx-cta-round { width: 132px; order: 2; }
}
@media (prefers-reduced-motion: reduce) { .hx-cta-round::before { animation: none; } }

/* Hero: todo entra en una pantalla (100vh) */
.hx { height: 100vh; height: 100svh; min-height: 560px; display: flex; flex-direction: column; justify-content: center;
  padding-top: clamp(84px, 11vh, 120px); padding-bottom: clamp(24px, 5vh, 56px); box-sizing: border-box; }
.hx-title { font-size: clamp(2.6rem, min(9.2vw, 15vh), 9.5rem); }
.hx-meta { margin-top: clamp(18px, 4vh, 48px); }
.hx-cta-round { width: clamp(112px, 17vh, 168px); }
@media (max-width: 700px) {
  .hx { height: auto; min-height: 100svh; }
  .hx-title { font-size: clamp(2.4rem, 11.5vw, 3.4rem); }
}
/* Servicios con la misma tipografía que la bajada; botón redondo en verde claro */
.hx-note--services { font-family: var(--font-sans); font-size: clamp(15px, 1.15vw, 18px); line-height: 1.4; text-transform: none; letter-spacing: 0; color: var(--ink); }
.hx-note--services::before { font-size: inherit; top: -.05em; }
.hx-cta-round { background: var(--meadow, #d3d693); }

/* Cursor "Ver proyecto": como el botón redondo del hero (verde claro + anillo punteado) */
.cursor.is-case { width: 112px; height: 112px; background: var(--meadow, #d3d693) !important; color: var(--ink) !important; box-shadow: none; }
.cursor.is-case::before { content: ""; position: absolute; inset: -7px; border-radius: 50%; border: 1px dashed currentColor; opacity: .45; animation: spin 26s linear infinite; }
.cursor.is-case .cursor__label { font-family: var(--font-label); font-size: 11px; text-transform: uppercase; letter-spacing: .06em; display: inline-flex; align-items: center; gap: 6px; }
.cursor.is-case .cursor__label { white-space: normal; max-width: 6.5em; text-align: center; line-height: 1.3; justify-content: center; flex-wrap: wrap; }

/* Etiquetas de sección: florcita del isologo en lugar del punto */
.label .dot { width: 13px; height: 13px; border-radius: 0; background: var(--moss, #9b9e5b);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%280 20 20%29'/%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%2872 20 20%29'/%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%28144 20 20%29'/%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%28216 20 20%29'/%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%28288 20 20%29'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40'%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%280 20 20%29'/%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%2872 20 20%29'/%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%28144 20 20%29'/%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%28216 20 20%29'/%3E%3Cellipse cx='20' cy='10.5' rx='6.2' ry='9.5' transform='rotate%28288 20 20%29'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Botón "Mirá mis proyectos" y cursor "Ver proyecto" en verde oscuro */
.hx-cta-round, .cursor.is-case { background: var(--teal, #385950) !important; color: #fff !important; }
.hx-cta-round::before, .cursor.is-case::before { border-color: var(--teal, #385950); opacity: .55; }
.hx-cta-round::before { border-color: var(--teal, #385950); }
.cursor.is-case::before { color: var(--teal, #385950); }
.ab-photo { margin-top: 16px !important; }
.ab-head { justify-content: flex-start; }
.ab-body { padding-bottom: 32px; }
.ab-body { padding-bottom: 0; } .ab-grid { align-items: end; } .ab-head { align-self: stretch; } .ab-photo { margin-top: auto !important; } .ab-head .label { margin-bottom: 16px; }
.ab-body { padding-bottom: 40px !important; }
.ab-body { padding-bottom: 24px !important; }

/* Sobre mí y Proceso: textos en #191919, 1px más chicos */
.ab-body p { color: #191919; font-size: 16px; }
.ab-facts dd { color: #191919; font-size: 15px; }
.pr-text { color: #191919 !important; }
/* LinkedIn del footer: ícono outline con contorno, como los botones de CV */
.icon-btn--outline { background: transparent !important; color: var(--ink) !important; border: 1px solid rgba(21,21,21,.12); transition: border-color .3s, transform .55s var(--spring, cubic-bezier(.34,1.56,.64,1)); }
.icon-btn--outline:hover { border-color: rgba(21,21,21,.3); transform: rotate(-6deg); }

/* Footer: botones con contorno verde oscuro */
.closing__actions .pill--ghost, .closing__actions .icon-btn--outline { border: 1.5px solid var(--teal, #385950) !important; color: var(--teal, #385950) !important; }
.closing__actions .pill--ghost:hover, .closing__actions .icon-btn--outline:hover { background: var(--teal, #385950) !important; color: #fff !important; }
.closing__actions .pill--ghost, .closing__actions .icon-btn--outline { border-width: 2px !important; font-weight: 500 !important; }

/* Mail del contacto: al pasar el mouse se subraya con el lavanda del hero */
.closing__mail { text-decoration: none !important; background: linear-gradient(var(--blush, #dfd3dd), var(--blush, #dfd3dd)) no-repeat 0 92% / 0% .22em; transition: background-size .5s var(--ease), color .3s; }
.closing__mail:hover, .closing__mail:focus-visible { background-size: 100% .22em; color: var(--ink) !important; }

/* Hero: resaltado tipo marcador en la mitad inferior de la palabra */
.hx-mark { border-radius: .08em; padding: 0 .06em; margin: 0 -.02em;
  background: linear-gradient(var(--u-fill, #dfd3dd), var(--u-fill, #dfd3dd)) no-repeat 0 82% / 0% 42%;
  animation: mark-half 1s cubic-bezier(.16,1,.3,1) var(--mark-delay, 1.8s) both; }
@keyframes mark-half { to { background-size: 100% 42%; } }
@media (prefers-reduced-motion: reduce) { .hx-mark { background-size: 100% 42%; animation: none; } }
html[data-skin~="bosque"] .fx-c4 { box-shadow: none !important; }
html[data-skin~="bosque"] .step:nth-child(1) { box-shadow: none !important; }

/* Ficha: sin línea arriba de los datos, pills de un solo color, volver con borde verde */
.pv-facts { border-top: 0 !important; }
.pv-chips li, .pv-chips li:nth-child(n) { background: var(--meadow, #d3d693) !important; box-shadow: none !important; }
.pv-back { border: 2px solid var(--teal, #385950) !important; color: var(--teal, #385950); font-weight: 500; }
.pv-back:hover { background: var(--teal, #385950) !important; color: #fff; }
.pv-chips li, .pv-chips li:nth-child(n) { background: var(--blush, #dfd3dd) !important; }

/* Pills: fondo por proyecto (--pill) y texto en un tono más oscuro del mismo color */
.pv-chips li, .pv-chips li:nth-child(n) { background: var(--pill, var(--blush, #dfd3dd)) !important; color: color-mix(in srgb, var(--pill, #dfd3dd) 35%, #1f2a26) !important; font-weight: 600; }

/* Datos del proyecto en tarjeta sólida, como las de Proceso */
.pv-facts { padding: 10px 26px; border-radius: 22px; background: var(--lace, #f3f2ee); }
.pv-facts div:last-child { border-bottom: 0; }
.pv-chips li, .pv-chips li:nth-child(n) { color: color-mix(in oklch, var(--pill, #dfd3dd), #000 58%) !important; }

/* Ficha: bajada alineada a la izquierda, pills en una línea, "Volver" en la fila del título */
.pv-desc { text-align: left; text-wrap: wrap; hyphens: manual; }
.pv-head .pv-chips { max-width: none; }
.pv-card { padding-top: clamp(16px, 2.5vw, 32px); }
.pv-back { grid-column: 8 / 13; grid-row: 1; justify-self: end; align-self: start; }
.pv-head { grid-row: 1 / span 2; }
.pv-facts { grid-row: 2; }
@media (max-width: 900px) { .pv-back { grid-column: 1 / -1; justify-self: start; } .pv-head { grid-row: auto; } .pv-facts { grid-row: auto; } }

/* Ficha: bajada más ancha; tarjeta de datos con los colores de la etapa 01 de Proceso */
.pv-desc { max-width: 33em; }
.pv-facts { background: var(--lace, #f3f2ee) !important; color: #151515; border-radius: 28px; }
.pv-facts dt { opacity: .8; }
.pv-title { font-weight: 400; }
.pv-head > .label:first-child { min-height: 44px; display: flex; align-items: center; margin: 0; }
.pv-chips li, .pv-chips li:nth-child(n) { font-weight: 400 !important; }
.pv-head .pv-chips { margin-top: 15px; }

/* Anterior / Siguiente */
.pv-foot { justify-content: space-between !important; }
.pv-prev .ic-arrow { margin-left: 0; margin-right: .15em; }
.pv-prev:hover .ic-arrow--left { transform: rotate(-135deg) translate(3px, -3px); }
@media (max-width: 720px) { .pv-foot { flex-direction: column; align-items: flex-start; } .pv-foot .pv-next:not(.pv-prev) { align-self: flex-end; } }

/* Flor de "Proyecto" con el color de las pills */
.pv-head .label .dot { background: var(--pill, var(--moss)) !important; }

/* Anterior / Siguiente: subrayado lila como el mail */
.pv-next .pv-next__txt { transform: none !important; background: linear-gradient(var(--blush, #dfd3dd), var(--blush, #dfd3dd)) no-repeat 0 74% / 0% .28em; line-height: 1.15; transition: background-size .5s var(--ease); }
.pv-next:hover .pv-next__txt, .pv-next:focus-visible .pv-next__txt { background-size: 100% .28em; }

/* CV del footer en 600 */
.closing__actions .pill--ghost { font-weight: 600 !important; }

/* Etapa 04: caja que se abre y sale una flor */
.ch .ch-lid { transform-box: view-box; transform-origin: 152px 86px; animation: ch-lid 3s ease-in-out infinite; }
@keyframes ch-lid { 0%, 15%, 92%, 100% { transform: none; } 30%, 75% { transform: translate(-2px, 0) rotate(80deg); } }
.ch .ch-gift-flower { transform-box: view-box; transform-origin: 128px 90px; animation: ch-gift-flower 3s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes ch-gift-flower { 0%, 22% { transform: translateY(34px) scale(.5); } 40%, 72% { transform: translateY(0) scale(1); } 88%, 100% { transform: translateY(34px) scale(.5); } }
.ch .ch-gift-spark { opacity: 0; animation: ch-gift-spark 3s ease-out infinite; }
@keyframes ch-gift-spark { 0%, 38% { opacity: 0; transform: scale(.7); } 48%, 62% { opacity: 1; transform: scale(1); } 74%, 100% { opacity: 0; transform: scale(1.1); } }
.ch .ch-gift-spark { transform-box: view-box; transform-origin: 128px 50px; }
@media (prefers-reduced-motion: reduce) { .ch .ch-lid, .ch .ch-gift-flower, .ch .ch-gift-spark { animation: none; } .ch .ch-gift-spark { opacity: 0; } }

/* ================= Accesibilidad ================= */
/* Link para saltar al contenido: invisible hasta que se navega con teclado */
.skip-link { position: fixed; left: 16px; top: 12px; z-index: 1000; padding: 12px 20px; border-radius: 999px; background: var(--teal, #385950); color: #fff; font: 500 15px/1 var(--font-sans); text-decoration: none; transform: translateY(-160%); transition: transform .25s var(--ease); }
.skip-link:focus-visible { transform: none; outline: 2px solid var(--teal, #385950); outline-offset: 3px; }
main:focus { outline: none; }
/* Foco visible y con buen contraste en todo el sitio */
:focus-visible { outline: 2px solid var(--teal, #385950) !important; outline-offset: 3px; }

/* Sobre mí: palabras clave resaltadas en lila, como con resaltador */
.ab-mark { color: inherit; background: linear-gradient(var(--blush, #dfd3dd), var(--blush, #dfd3dd)) no-repeat 0 92% / 0% 62%; padding: 0 .1em; margin: 0 -.05em; border-radius: .12em; box-decoration-break: clone; -webkit-box-decoration-break: clone; transition: background-size .9s cubic-bezier(.65,0,.35,1); }
.ab-mark.is-on { background-size: 100% 62%; }
.ab-mark:nth-of-type(2) { transition-delay: .15s; }
@media (prefers-reduced-motion: reduce) { .ab-mark { transition: none; background-size: 100% 62%; } }

/* Etapa 04: browser con la florcita adentro (se publica el sitio) */
.ch .ch-br-lines rect { transform-box: fill-box; transform-origin: left center; animation: ch-br-line 3.6s cubic-bezier(.65,0,.35,1) infinite; }
.ch .ch-br-lines rect:nth-child(2) { animation-delay: .12s; } .ch .ch-br-lines rect:nth-child(3) { animation-delay: .24s; } .ch .ch-br-lines rect:nth-child(4) { animation-delay: .36s; }
@keyframes ch-br-line { 0%, 6% { transform: scaleX(0); } 22%, 88% { transform: scaleX(1); } 96%, 100% { transform: scaleX(0); } }
.ch .ch-br-pop { animation: ch-br-pop 3.6s cubic-bezier(.34,1.5,.64,1) infinite; }
@keyframes ch-br-pop { 0%, 24% { transform: translateY(60px); } 40%, 86% { transform: translateY(0); } 96%, 100% { transform: translateY(60px); } }
.ch .ch-br-wave { transform-box: fill-box; transform-origin: 0% 100%; animation: ch-br-wave .5s ease-in-out infinite alternate; }
@keyframes ch-br-wave { from { transform: rotate(-12deg); } to { transform: rotate(22deg); } }
.ch .ch-br-check { transform-box: fill-box; transform-origin: center; animation: ch-br-check 3.6s cubic-bezier(.34,1.56,.64,1) infinite; }
@keyframes ch-br-check { 0%, 42% { transform: scale(0); } 52%, 86% { transform: scale(1); } 94%, 100% { transform: scale(0); } }
@media (prefers-reduced-motion: reduce) { .ch .ch-br-lines rect, .ch .ch-br-pop, .ch .ch-br-wave, .ch .ch-br-check { animation: none; } }

/* Personajes de Proceso: línea fina y continua (sin efecto a mano alzada) */
.step__ch svg.ch, .step__stk svg { filter: none !important; }

/* Franja de Sobre mí: fondo lila, florcitas verdes como el logo y texto gris oscuro */
.ab .ab-ribbon { background: var(--blush, #dfd3dd) !important; color: #191919 !important; }
.ab .ab-ribbon span { color: #191919 !important; }
.ab .ab-ribbon i svg { fill: var(--moss, #9b9e5b) !important; color: var(--moss, #9b9e5b) !important; }

/* ================= Página: todos los proyectos ================= */
.pl { width: min(1180px, calc(100% - 48px)); margin: 0 auto; padding: 130px 0 90px; display: grid; grid-template-columns: 1fr auto; column-gap: 24px; }
.pl > .pv-back { grid-column: 2; grid-row: 1; align-self: center; }
.pl > .label { grid-column: 1; grid-row: 1; align-self: center; margin: 0; }
.pl-title { grid-column: 1 / -1; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 6vw, 5.4rem); line-height: .98; letter-spacing: -.045em; margin: 22px 0 18px; }
.pl-lead { grid-column: 1 / -1; max-width: 36em; margin: 0 0 48px; color: #191919; font-size: 17px; line-height: 1.55; }
.pl-grid { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.pl-card__link { display: flex; flex-direction: column; height: 100%; background: var(--c, var(--lace)); border-radius: 28px; padding: 14px; color: #151515; text-decoration: none; transition: transform .5s var(--spring, ease); }
a.pl-card__link:hover { transform: translateY(-4px); }
.pl-card__media { display: block; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; background: rgba(255,255,255,.55); }
.pl-card__media img { width: 100%; height: 100%; object-fit: cover; object-position: top center; display: block; filter: grayscale(1); transition: filter .5s ease, transform .8s var(--ease, ease); }
.pl-card__link:hover .pl-card__media img, .pl-card__link:focus-visible .pl-card__media img { filter: none; transform: scale(1.02); }
.pl-card__ph { display: grid; place-items: center; width: 100%; height: 100%; }
.pl-card__ph svg { width: 54px; height: 54px; fill: color-mix(in oklch, var(--c, #dfd3dd), #000 25%); opacity: .55; }
.pl-card__body { display: flex; flex-direction: column; gap: 8px; padding: 20px 12px 10px; flex: 1; }
.pl-card__tag { align-self: flex-start; font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; background: rgba(255,255,255,.7); padding: 6px 12px; border-radius: 999px; }
.pl-card__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.6rem, 2.4vw, 2.2rem); letter-spacing: -.03em; line-height: 1.05; margin: 4px 0 0; }
.pl-card__desc { font-size: 15.5px; line-height: 1.5; color: #191919; max-width: 30em; }
.pl-card__more { margin-top: auto; padding-top: 10px; display: inline-flex; align-items: center; gap: .45em; font-weight: 500; font-size: 15px; }
.pl-card__more .ic-arrow { transition: transform .4s var(--ease, ease); }
.pl-card__link:hover .pl-card__more .ic-arrow { transform: rotate(45deg) translate(2px, -2px); }
.pl-card:not(.pl-card--feat) .pl-card__title { font-size: clamp(1.35rem, 1.9vw, 1.7rem); }
@media (max-width: 760px) { .pl { padding-top: 110px; width: calc(100% - 32px); } .pl-grid { grid-template-columns: 1fr; gap: 16px; } .pl > .pv-back { grid-column: 1 / -1; grid-row: auto; justify-self: start; margin-bottom: 18px; order: -1; } .pl > .label { grid-row: auto; } }
@media (prefers-reduced-motion: reduce) { .pl-card__link, .pl-card__media img { transition: none; } }

/* Listado de proyectos: uno debajo del otro, en beige */
.pl-list { grid-column: 1 / -1; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.pl-row__link { display: grid; grid-template-columns: 200px 1fr auto; align-items: center; gap: 28px; padding: 14px 28px 14px 14px; background: var(--lace, #f3f2ee); border-radius: 24px; color: #151515; text-decoration: none; transition: background-color .4s ease, transform .5s var(--spring, ease); }
.pl-row__link:hover { background: color-mix(in oklch, var(--lace, #f3f2ee), #a08a5c 12%); }
.pl-row__thumb { display: grid; place-items: center; aspect-ratio: 16 / 10; border-radius: 14px; overflow: hidden; background: color-mix(in oklch, var(--lace, #f3f2ee), #a08a5c 14%); }
.pl-row__thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; filter: grayscale(1); transition: filter .5s ease; }
.pl-row__link:hover .pl-row__thumb img { filter: none; }
.pl-row__thumb svg { width: 34px; height: 34px; fill: var(--moss, #9b9e5b); opacity: .7; }
.pl-row__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.pl-row__tag { font-family: var(--font-label); font-size: 12px; text-transform: uppercase; letter-spacing: .06em; color: #4a4a4a; }
.pl-row__title { font-family: var(--font-display); font-weight: 400; font-size: clamp(1.5rem, 2.4vw, 2.2rem); letter-spacing: -.03em; line-height: 1.05; margin: 0; }
.pl-row__desc { font-size: 16px; line-height: 1.5; color: #191919; }
.pl-row__go { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; border: 2px solid var(--teal, #385950); color: var(--teal, #385950); transition: background-color .3s ease, color .3s ease; }
.pl-row__go .ic-arrow { transition: transform .4s var(--ease, ease); }
.pl-row__link:hover .pl-row__go { background: var(--teal, #385950); color: #fff; }
.pl-row__link:hover .pl-row__go .ic-arrow { transform: rotate(45deg); }
@media (max-width: 760px) { .pl-row__link { grid-template-columns: 96px 1fr; gap: 16px; padding: 10px 14px 10px 10px; border-radius: 20px; } .pl-row__go { display: none; } .pl-row__desc { font-size: 14.5px; } }
@media (prefers-reduced-motion: reduce) { .pl-row__link, .pl-row__thumb img { transition: none; } }

/* Ficha sin capturas todavía */
.pv-ph { display: grid; place-items: center; aspect-ratio: 16 / 8; border-radius: 28px; background: var(--lace, #f3f2ee); }
.pv-ph svg { width: 64px; height: 64px; fill: var(--moss, #9b9e5b); opacity: .6; }

.pv-head .label .dot { background: var(--dot, var(--pill, var(--moss))) !important; }
.pv-ph { aspect-ratio: 16 / 7; }
.pl-row__thumb img.is-center { object-position: center; }

/* ================= Pantalla de carga (home) ================= */
.loader { position: fixed; inset: 0; z-index: 2000; display: grid; place-items: center; background: #fcfcfc; transition: opacity .5s ease, visibility .5s ease; animation: loader-out .5s ease 4s forwards; /* por si el JS no corre */ }
.loader__flower { width: 56px; height: 56px; fill: var(--moss, #9b9e5b); animation: loader-spin 1.6s cubic-bezier(.6,.1,.3,.9) infinite; }
.loader.is-done { opacity: 0; visibility: hidden; }
@keyframes loader-spin { 0% { transform: rotate(0) scale(.9); } 50% { transform: rotate(180deg) scale(1.08); } 100% { transform: rotate(360deg) scale(.9); } }
@keyframes loader-out { to { opacity: 0; visibility: hidden; } }
@media (prefers-reduced-motion: reduce) { .loader__flower { animation: loader-pulse 1.4s ease-in-out infinite; } }
@keyframes loader-pulse { 50% { opacity: .45; } }
/* Listado: la fila se agranda un poquito con el hover */
.pl-row__link { transition: background-color .4s ease, transform .45s cubic-bezier(.34,1.4,.64,1), box-shadow .45s ease; }
.pl-row__link:hover { transform: scale(1.015); }
@media (prefers-reduced-motion: reduce) { .pl-row__link:hover { transform: none; } }
.pv-inline-link { color: inherit; text-decoration: none; background: linear-gradient(var(--blush, #dfd3dd), var(--blush, #dfd3dd)) no-repeat 0 88% / 100% .42em; padding: 0 .06em; transition: background-size .3s ease; }
.pv-inline-link:hover { background-size: 100% .9em; }

/* Etapa 03: la florcita scrolleando en un iPhone */
.ch .ch-ph-scroll { animation: ch-ph-scroll 3.2s cubic-bezier(.45,0,.2,1) infinite; }
@keyframes ch-ph-scroll { 0%, 12% { transform: translateY(0); } 45%, 55% { transform: translateY(-21px); } 88%, 100% { transform: translateY(-42px); } }
.ch .ch-ph-thumb { animation: ch-ph-thumb 3.2s cubic-bezier(.45,0,.2,1) infinite; }
@keyframes ch-ph-thumb { 0%, 10% { transform: translateY(4px); } 40% { transform: translateY(-10px); } 50% { transform: translateY(4px); } 80% { transform: translateY(-10px); } 90%, 100% { transform: translateY(4px); } }
@media (prefers-reduced-motion: reduce) { .ch .ch-ph-scroll, .ch .ch-ph-thumb { animation: none; } }

/* Franja de Sobre mí: florcitas en #978495 */
.ab .ab-ribbon i svg { fill: #978495 !important; color: #978495 !important; }

/* Imágenes que tardan en cargar: la florcita girando */
.is-img-loading { position: relative; }
.is-img-loading > img { opacity: 0; }
.is-img-loading::after { content: ""; position: absolute; left: 50%; top: 50%; width: 34px; height: 34px; margin: -17px 0 0 -17px; background: var(--moss, #9b9e5b); -webkit-mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cg%20fill%3D%22%23000%22%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%280%2020%2020%29%22/%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%2872%2020%2020%29%22/%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%28144%2020%2020%29%22/%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%28216%2020%2020%29%22/%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%28288%2020%2020%29%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2040%2040%22%3E%3Cg%20fill%3D%22%23000%22%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%280%2020%2020%29%22/%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%2872%2020%2020%29%22/%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%28144%2020%2020%29%22/%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%28216%2020%2020%29%22/%3E%3Cellipse%20cx%3D%2220%22%20cy%3D%2210.5%22%20rx%3D%226.2%22%20ry%3D%229.5%22%20transform%3D%22rotate%28288%2020%2020%29%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; animation: loader-spin 1.6s cubic-bezier(.6,.1,.3,.9) infinite; pointer-events: none; z-index: 1; }
.sy-card img, .pv-shot img, .pl-row__thumb img { transition: opacity .5s ease, filter .5s ease, transform .8s var(--ease, ease); }
@media (prefers-reduced-motion: reduce) { .is-img-loading::after { animation: loader-pulse 1.4s ease-in-out infinite; } }

/* Botón del menú "¡Escribime!": misma tipografía que el resto de los botones */
.site-header .pill--light { font-family: var(--font-label) !important; font-weight: 400 !important; font-size: 14px !important; text-transform: none !important; letter-spacing: 0 !important; }
/* "Contame tu idea": sin mayúsculas ni espaciado, como "¡Escribime!" */
#proceso .pill--dark { text-transform: none !important; letter-spacing: 0 !important; font-size: 14px !important; }

/* Botones verdes unificados: misma tipografía, tamaño y alto */
.pill--dark, .site-header .pill--light { font-family: var(--font-label) !important; font-size: 14px !important; font-weight: 500 !important; text-transform: none !important; letter-spacing: 0 !important; }
.pill--dark { height: 44px !important; padding: 0 24px !important; }
/* Sobre mí: resaltado en verde clarito */
.ab-mark { background-image: linear-gradient(var(--meadow, #d3d693), var(--meadow, #d3d693)) !important; }

/* =========================================================
   RESPONSIVE · celulares y tablets (dic 2026)
   Un solo bloque al final para que gane la cascada.
   ========================================================= */
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
html, body { overflow-x: clip; }
img, video { max-width: 100%; }

/* Áreas táctiles de 44 px en pantallas táctiles */
@media (pointer: coarse) {
  .site-header .pill, .pill--light, .pill--ghost { min-height: 44px; }
  .to-top { width: 44px !important; height: 44px !important; }
  .text-link, .pv-link { min-height: 44px; display: inline-flex; align-items: center; }
  .pv-next { min-height: 44px; }
  .pv-back { height: 44px; }
}

/* Etiquetas legibles en pantallas chicas */
@media (max-width: 900px) { .sy-tag, .pv-chips li { font-size: 12px; } }

/* Tablet y celular horizontal: tarjetas de proyectos en dos columnas */
@media (min-width: 601px) and (max-width: 900px) {
  .sy-track .fx-row { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
  .sy-track .sy-card { width: auto; }
  .sy-track .fx-end { grid-column: 1 / -1; width: auto; max-width: 34em; align-self: start; padding: 16px 0 0; }
}

/* Celulares */
@media (max-width: 600px) {
  :root { --m-gutter: clamp(20px, 5.6vw, 26px); }

  /* Márgenes laterales iguales en todas las secciones */
  .site-header { padding-inline: var(--m-gutter) !important; }
  .hx { padding-inline: var(--m-gutter) !important; }
  .container, .ab-grid, .pr-grid { padding-inline: var(--m-gutter) !important; }
  .sy-track .fx-row { padding-inline: var(--m-gutter) !important; }

  /* Texto bajo las tarjetas: ancho completo */
  .sy-track .fx-end, .fx-end { width: auto !important; align-self: stretch; padding: 12px 0 0 !important; gap: 18px; }
  .fx-end p { font-size: 17px; max-width: 30em; }
  .fx-all { align-self: flex-start; }

  .sy-card p { font-size: 15.5px; }

  /* Proceso: el título siempre debajo del personaje */
  .step { min-height: 0 !important; grid-template-rows: auto auto auto; padding: 18px 20px 24px; }
  .step__num { min-height: 78px; }
  .step__title { grid-row: auto; padding-right: 0; }
  .step__desc { grid-row: auto; }
  .step__icon.step__ch { width: 84px; height: 84px; top: 6px; right: 10px; }

  /* Contacto: el mail entra en una línea */
  .closing__mail { white-space: nowrap; font-size: min(1.7rem, calc((100vw - 2 * var(--m-gutter)) / 13.9)) !important; }
  .closing { padding-top: 72px !important; }
  .closing__actions { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .closing__actions .pill { padding-inline: 14px; letter-spacing: .04em; }

  /* Fichas de proyecto */
  .pv { padding-inline: 8px; }
  .pv-card { padding: 18px 18px 24px; border-radius: 26px; gap: 22px; }
  .pv-desc { font-size: 17px; }
  .pv-facts { padding: 4px 18px; border-radius: 22px; }
  .pv-facts div { grid-template-columns: 5.6em minmax(0, 1fr); gap: 10px; }
  .pv-facts dd { min-width: 0; overflow-wrap: break-word; }
  .pv-link { flex-wrap: wrap; }
  .pv-carousel__track { grid-auto-columns: 90%; }
  .pv-foot { gap: 6px; }
  .pv-foot .pv-next { font-size: 1.25rem; width: 100%; }
  .pv-foot .pv-next:not(.pv-prev) { justify-content: flex-end; }

  /* Listado de proyectos */
  .pl-row { gap: 14px; }
}

/* Sobre mí: etiqueta alineada a la izquierda en mobile y tablet */
@media (max-width: 900px) { .ab-head .label { align-self: flex-start; } }

/* Celulares muy angostos (320 px) */
@media (max-width: 360px) {
  .pv-facts div { grid-template-columns: 1fr; gap: 2px; padding: 10px 0; }
  .pv-facts dt { padding-top: 0; }
  .hx h1, .hx-title { font-size: 2.45rem; }
  .pv-title { font-size: 2.5rem; }
  .step__num { min-height: 70px; }
  .step__icon.step__ch { width: 76px; height: 76px; }
}

/* Celular horizontal: el hero no necesita ocupar toda la pantalla */
@media (max-height: 500px) and (orientation: landscape) {
  .hx { height: auto !important; min-height: auto !important; padding-top: 90px !important; padding-bottom: 40px !important; }
  .pv { min-height: 0; }
}

/* Muescas y barras del sistema (iPhone en horizontal) */
@media (max-width: 900px) {
  .site-header { padding-left: max(var(--m-gutter, 20px), env(safe-area-inset-left)) !important; padding-right: max(var(--m-gutter, 20px), env(safe-area-inset-right)) !important; }
  .to-top { margin-bottom: env(safe-area-inset-bottom, 0px); }
}

/* ===== Menú mobile (rediseño dic 2026) ===== */
.mobile-menu {
  position: fixed; inset: 0; z-index: 19;
  display: flex; flex-direction: column; justify-content: space-between; gap: 32px;
  padding: calc(96px + env(safe-area-inset-top, 0px)) var(--m-gutter, 20px) calc(32px + env(safe-area-inset-bottom, 0px));
  background: var(--paper, #fcfcfc); color: var(--ink, #1e1e1e);
  font-size: 16px; font-weight: 400; letter-spacing: 0;
  overflow-y: auto; overscroll-behavior: contain;
}
.mobile-menu[hidden] { display: none; }
.mobile-menu__nav { display: flex; flex-direction: column; }
.mobile-menu__nav a {
  display: flex; align-items: center; gap: 14px; min-height: 64px;
  font-family: var(--font-display); font-weight: 500; font-size: clamp(2rem, 9vw, 2.6rem); letter-spacing: -.035em; line-height: 1;
  color: var(--ink, #1e1e1e); text-decoration: none; border-bottom: 1px solid rgba(21,21,21,.12);
}
.mobile-menu__cta { align-self: stretch; justify-content: center; height: 52px !important; }
.mobile-menu:not([hidden]) .mobile-menu__nav a, .mobile-menu:not([hidden]) .mobile-menu__cta { animation: mm-in .5s cubic-bezier(.16,1,.3,1) both; }
.mobile-menu__nav a:nth-child(2) { animation-delay: .05s !important; }
.mobile-menu__nav a:nth-child(3) { animation-delay: .1s !important; }
.mobile-menu__cta { animation-delay: .15s !important; }
@keyframes mm-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .mobile-menu * { animation: none !important; } }
/* El header queda arriba del menú para poder cerrarlo */
.site-header.is-menu { background: var(--paper, #fcfcfc) !important; box-shadow: none !important; backdrop-filter: none !important; }
.site-header.is-menu .menu-toggle { position: relative; z-index: 2; }

/* ===== Menú mobile: ícono hamburguesa que se convierte en X ===== */
html .site-header .menu-toggle {
  width: 48px; height: 48px; min-width: 48px; padding: 0; margin-right: -12px;
  border: 0; background: transparent; color: var(--ink, #1e1e1e); cursor: pointer;
  align-items: center; justify-content: center; font-size: 0;
}
@media (max-width: 900px) { html .site-header .menu-toggle { display: inline-flex; } }
.menu-toggle__bars { position: relative; display: block; width: 26px; height: 18px; }
.menu-toggle__bars span {
  position: absolute; left: 0; width: 100%; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform .4s cubic-bezier(.65,0,.35,1), opacity .25s ease, top .4s cubic-bezier(.65,0,.35,1);
}
.menu-toggle__bars span:nth-child(1) { top: 0; }
.menu-toggle__bars span:nth-child(2) { top: 8px; }
.menu-toggle__bars span:nth-child(3) { top: 16px; }
.menu-toggle.is-open .menu-toggle__bars span:nth-child(1) { top: 8px; transform: rotate(45deg); }
.menu-toggle.is-open .menu-toggle__bars span:nth-child(2) { opacity: 0; }
.menu-toggle.is-open .menu-toggle__bars span:nth-child(3) { top: 8px; transform: rotate(-45deg); }
.menu-toggle:focus-visible { outline: 2px solid var(--violet, #385950); outline-offset: 2px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .menu-toggle__bars span { transition: none; } }

/* Ítems del menú: grandes y uno debajo del otro (gana a los temas) */
html .mobile-menu .mobile-menu__nav { display: flex; flex-direction: column; width: 100%; }
html .mobile-menu .mobile-menu__nav a {
  display: flex; width: 100%; min-height: 60px;
  font-family: "Schibsted Grotesk", var(--font-display), sans-serif; font-weight: 500;
  font-size: clamp(1.7rem, 7.6vw, 2.2rem); letter-spacing: -.035em; line-height: 1; text-transform: none;
}
html .mobile-menu .mobile-menu__cta { font-size: 16px; height: 56px !important; }
html .site-header.is-menu { position: fixed; }

/* ===== Ajustes mobile (revisión desde el celular, dic 2026) ===== */
@media (max-width: 600px) {
  /* Tarjetas de proyectos del home: menos aire interno */
  .sy-card { padding: 10px 10px 16px !important; gap: 0 !important; }
  .sy-media { margin: 0 0 12px !important; }
  .sy-body { padding: 2px 8px 0 !important; }
  .sy-card h3 { margin: 10px 0 8px !important; }
  .sy-card p { margin: 0 0 14px !important; }

  /* Menos espacio entre Proceso y Contacto */
  .pr-cards { padding-bottom: 0 !important; }
  #proceso { padding-bottom: 24px !important; }
  #contacto.closing { padding-top: 48px !important; }
  #contacto .closing__center { margin-top: 0 !important; }

  /* Fichas: bajada 1px más chica */
  .pv-desc { font-size: 16px !important; }

  /* Fichas: capturas más grandes, de borde a borde de la tarjeta */
  .pv-carousel { margin-inline: -18px; }
  .pv-carousel__nav { padding-inline: 18px; }
  .pv-carousel__track { grid-auto-columns: calc(100% - 8px) !important; column-gap: 10px !important; padding-inline: 18px; scroll-padding-inline: 18px; border-radius: 0; }
  .pv-carousel .pv-shot { border-radius: 14px; }
  .pv-carousel .pv-shot img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
}
@media (max-width: 600px) { .pv { padding-bottom: 32px !important; } }

/* ===== 404: florcita triste ===== */
.nf h1 { display: inline-flex; align-items: center; justify-content: center; gap: .2em; justify-self: center; }
.nf-ch { display: block; flex: 0 0 auto; width: 1.25em; }
@media (max-width: 600px) {
  .nf h1 { display: contents; }
  .nf-txt { display: block; font-family: var(--font-display); font-weight: 400; font-size: clamp(2.6rem, 7vw, 5.5rem); letter-spacing: -.04em; line-height: 1; }
  .nf-ch { order: -1; justify-self: center; width: 84px; margin-bottom: -8px; }
}
.nf-ch svg { display: block; width: 100%; height: auto; overflow: visible; }
.ch--sad .ch-body { transform-box: view-box; transform-origin: 80px 130px; animation: ch-sad 3.6s ease-in-out infinite; }
@keyframes ch-sad { 0%, 100% { transform: rotate(-4deg) translateY(1px); } 50% { transform: rotate(3deg) translateY(3px); } }
.ch--sad .ch-tear { transform-box: view-box; transform-origin: 87px 61px; opacity: 0; animation: ch-tear 3.6s ease-in-out infinite; }
@keyframes ch-tear { 0%, 25% { transform: translateY(0) scale(0); opacity: 0; } 40% { transform: translateY(0) scale(1); opacity: 1; } 70% { transform: translateY(5px) scale(1); opacity: 1; } 85%, 100% { transform: translateY(8px) scale(.6); opacity: 0; } }
.ch--sad .ch-shadow { transform-box: fill-box; transform-origin: center; animation: ch-shadow 3.6s ease-in-out infinite; }
@keyframes ch-shadow { 0%, 100% { transform: scaleX(1); } 50% { transform: scaleX(.88); } }
@media (prefers-reduced-motion: reduce) { .ch--sad *, .ch--sad .ch-tear { animation: none !important; } .ch--sad .ch-tear { opacity: 1; } }

/* ===== Ajustes mobile (dic 2026, ronda 3) ===== */
@media (max-width: 760px) {
  /* Listado: flecha con círculo en cada proyecto */
  .pl-row__link { grid-template-columns: 84px minmax(0, 1fr) 40px !important; gap: 12px !important; padding-right: 12px !important; }
  .pl-row__go { display: grid !important; width: 40px; height: 40px; border-width: 1.5px; }
  .pl-row__go .ic-arrow { width: 12px; height: 12px; }
  /* Aire entre "Volver al inicio" y "Proyectos" */
  .pl > .pv-back { margin-bottom: 36px !important; }
}
@media (max-width: 600px) {
  /* Hero: "Mirá mis proyectos" como botón verde */
  .hx .hx-cta-round {
    width: auto !important; aspect-ratio: auto !important; height: 48px; padding: 0 24px; margin: 0 !important;
    justify-self: start; align-self: start; display: inline-flex !important; align-items: center;
    border-radius: 100px !important; background: var(--teal, #385950) !important; color: #fff !important;
    font-family: var(--font-label) !important; font-size: 14px !important; font-weight: 500 !important;
    text-transform: none !important; letter-spacing: 0 !important; transform: none !important;
  }
  .hx .hx-cta-round::before, .hx .hx-cta-round::after { display: none !important; }
  .hx .hx-cta-round > span { max-width: none !important; white-space: nowrap; gap: 10px; line-height: 1; text-align: left; }
  .hx .hx-cta-round .ic-arrow { width: 11px; height: 11px; }
  /* Aire entre la última tarjeta (Monoplast) y el texto de abajo */
  .sy-track .fx-end, .fx-end { padding-top: 36px !important; }
}

/* ===== Mobile/tablet: imagen arriba del titular en las tarjetas destacadas (robusto en iPhone) ===== */
@media (max-width: 900px) {
  .sy-card .sy-media, .sy-card .sy-media:has(.mk-shape) {
    order: -1; display: block !important; position: relative !important; width: 100% !important; height: auto !important;
    aspect-ratio: 16 / 10 !important; margin: 0 0 14px !important; border-radius: 18px !important; overflow: hidden !important;
    container-type: normal !important; background: transparent !important;
  }
  .sy-card .sy-media .mk { position: absolute !important; inset: 0 !important; display: block !important; border-radius: inherit; }
  .sy-card .sy-media .sh, .sy-card .sy-media .sh--flor {
    position: absolute !important; inset: 0 !important; width: 100% !important; height: 100% !important; aspect-ratio: auto !important;
    clip-path: none !important; -webkit-clip-path: none !important; border-radius: 18px; overflow: hidden; transform: none !important;
  }
  .sy-card .sy-media .sh img { transform: none !important; }
}
