/* ==========================================================================
   EXPERIMENTO ANDRÉS — Landing v2
   Fondo blanco · partículas rojas · texto negro / rojo / gris
   Tipografía: Bricolage Grotesque (display) + Instrument Sans (texto)
               + JetBrains Mono (etiquetas)
   ========================================================================== */

:root {
  /* Color */
  --paper:      #ffffff;
  --paper-soft: #fafafa;
  --ink:        #0b0b0c;
  --ink-2:      #26262b;
  --gray:       #6b6b70;
  --gray-soft:  #74747a;  /* 4.64 sobre blanco */
  --line:       #e6e6e9;
  --line-soft:  #f0f0f2;
  /* Acentos tomados del logo.
     --accent-vivid y --cyan son los colores exactos del isotipo: se usan
     en decoración y tipografía grande, donde el contraste no es problema.
     --accent y --cyan-deep son las versiones oscurecidas (mismo tono y
     saturación, menor luminosidad) para texto chico y botones sólidos,
     porque el magenta puro sobre blanco da 3.93 y no llega al mínimo
     de 4.5 que pide WCAG AA. */
  --accent-vivid: #ec2e8e;   /* magenta exacto del isotipo */
  --accent:       #c4126c;   /* 5.75 sobre blanco */
  --accent-deep:  #9a0e55;   /* hover */
  --accent-lite:  #f45ca9;
  --accent-wash:  #fdecf5;
  --cyan:         #18a8f0;   /* celeste exacto del isotipo */
  --cyan-deep:    #0a6d9e;   /* 5.68 sobre blanco */
  --cyan-wash:    #e9f6fe;

  /* Tipografía */
  --font-display: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif;
  --font-body:    "Instrument Sans", system-ui, -apple-system, sans-serif;
  --font-mono:    "JetBrains Mono", ui-monospace, monospace;

  /* Forma */
  --r-lg: 20px;
  --r-md: 12px;
  --r-sm: 8px;

  --shadow-sm: 0 1px 2px rgba(11,11,12,.04), 0 4px 14px rgba(11,11,12,.05);
  --shadow-md: 0 2px 6px rgba(11,11,12,.05), 0 18px 40px rgba(11,11,12,.08);
  --shadow-accent: 0 10px 30px rgba(236,46,142,.26);

  --gutter: clamp(20px, 5vw, 64px);
  --maxw: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; }
::selection { background: var(--accent); color: #fff; }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 4px;
}

/* --- Campo de partículas -------------------------------------------------- */
#particles {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
}

/* Todo el contenido va por encima del canvas */
.navbar, .hero, .section, .cierre, .footer, .wa-fab { position: relative; z-index: 1; }

/* --- Tipografía base ------------------------------------------------------ */
h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin: 0;
  color: var(--ink);
}
p { margin: 0; }

.eyebrow-mono {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 16px;
}

/* --------------------------------------------------------------------------
   NAVBAR
   -------------------------------------------------------------------------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 60;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 14px var(--gutter);
  background: rgba(255,255,255,.82);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--line-soft);
}

.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }

.brand-logo {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  object-fit: contain;
}
.brand-logo[hidden] { display: none; }

.brand-mark {
  display: none;
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--accent);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 17px;
  align-items: center;
  justify-content: center;
  letter-spacing: -0.02em;
}
.brand-mark.is-visible { display: flex; }

.brand-text { display: flex; flex-direction: column; min-width: 0; }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 17px;
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--ink);
}
.brand-sub {
  font-family: var(--font-mono);
  font-size: 9.5px;
  letter-spacing: .11em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-top: 2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.nav-right { display: flex; align-items: center; gap: 24px; }

.nav-links { display: flex; align-items: center; gap: 24px; }
.nav-links a {
  font-size: 14px;
  font-weight: 500;
  color: var(--gray);
  transition: color .16s ease;
}
.nav-links a:hover { color: var(--accent); }

.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 18px;
  border-radius: 999px;
  white-space: nowrap;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.nav-cta:hover {
  background: var(--accent-deep);
  transform: translateY(-1px);
  box-shadow: var(--shadow-accent);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px; height: 40px;
  padding: 0 8px;
  background: none;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.nav-toggle span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* --------------------------------------------------------------------------
   HERO
   -------------------------------------------------------------------------- */
.hero {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(48px, 8vw, 96px) var(--gutter) clamp(40px, 6vw, 72px);
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: clamp(32px, 6vw, 72px);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-mono);
  font-size: 11px;
  line-height: 1.5;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gray);
  border: 1px solid var(--line);
  background: var(--paper);
  padding: 8px 15px;
  border-radius: 999px;
  margin-bottom: 26px;
  /* La frase es larga: en pantallas chicas parte en dos líneas parejas
     en vez de dejar una línea huérfana. */
  text-wrap: balance;
  max-width: 100%;
}
.eyebrow .dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--accent-vivid);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px var(--accent-wash);
}

.hero h1 {
  font-size: clamp(40px, 6.4vw, 76px);
  letter-spacing: -0.045em;
  margin-bottom: 22px;
}
.hero h1 em {
  font-style: normal;
  color: var(--accent-vivid);
  display: block;
}

.lead {
  font-size: clamp(16px, 1.5vw, 19px);
  color: var(--gray);
  max-width: 52ch;
  margin-bottom: 34px;
}

.hero-ctas { display: flex; flex-wrap: wrap; gap: 12px; }

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 999px;
  transition: background .16s ease, transform .16s ease, box-shadow .16s ease;
}
.btn-primary:hover {
  background: var(--accent-deep);
  transform: translateY(-2px);
  box-shadow: var(--shadow-accent);
}
.btn-block { display: flex; justify-content: center; width: 100%; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--paper);
  color: var(--ink);
  border: 1px solid var(--line);
  font-weight: 600;
  font-size: 15px;
  padding: 15px 26px;
  border-radius: 999px;
  transition: border-color .16s ease, color .16s ease, transform .16s ease;
}
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* --- Teléfono con el video de bienvenida --- */
.hero-visual { display: flex; justify-content: center; }

.phone {
  position: relative;
  margin: 0;
  width: 100%;
  max-width: 330px;
}
.phone::before {
  content: "";
  position: absolute;
  inset: -14% -22%;
  background:
    radial-gradient(circle at 30% 38%, rgba(24,168,240,.18), transparent 62%),
    radial-gradient(circle at 72% 58%, rgba(236,46,142,.20), transparent 62%);
  filter: blur(28px);
  z-index: -1;
}
.phone-screen {
  position: relative;
  aspect-ratio: 9 / 16;          /* formato vertical del Short */
  border-radius: var(--r-lg);
  overflow: hidden;
  background: #0b0b0c;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-md);
}
.phone-screen iframe,
.phone-screen #heroPlayer {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  /* Desactiva la superposición de YouTube (título, botón de compartir,
     "ver más tarde"): el único control es nuestro botón de sonido. */
  pointer-events: none;
}

/* Botón de sonido sobre el video */
.sound-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(11, 11, 12, .55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #fff;
  font-size: 16px;
  transition: background .18s ease, transform .18s ease;
}
.sound-btn:hover { background: var(--accent); transform: scale(1.06); }
.sound-btn[aria-pressed="true"] { background: rgba(11, 11, 12, .45); }


/* --------------------------------------------------------------------------
   SECCIONES
   -------------------------------------------------------------------------- */
.section {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: clamp(56px, 8vw, 104px) var(--gutter);
  border-top: 1px solid var(--line-soft);
}
.section:first-of-type { border-top: 0; }

.section-head { max-width: 660px; margin-bottom: clamp(32px, 5vw, 52px); }
.section-head h2 {
  font-size: clamp(30px, 4.2vw, 48px);
  margin-bottom: 14px;
}
.section-head p { color: var(--gray); font-size: 17px; }

/* --------------------------------------------------------------------------
   MENÚ DE SERVICIOS  (elemento firma)
   -------------------------------------------------------------------------- */
.servicios { border-top: 0; }

.svc-menu {
  border-top: 1px solid var(--line);
}

.svc-row {
  position: relative;
  display: grid;
  grid-template-columns: 190px 1fr auto;
  gap: 28px;
  align-items: center;
  padding: clamp(28px, 4vw, 44px) clamp(14px, 2vw, 26px);
  border-bottom: 1px solid var(--line);
  transition: background .22s ease, padding-left .22s ease;
}
.svc-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 3px;
  background: var(--accent);
  transform: scaleY(0);
  transform-origin: center top;
  transition: transform .26s cubic-bezier(.4,0,.2,1);
}
.svc-row:hover { background: var(--accent-wash); padding-left: clamp(24px, 3vw, 40px); }
.svc-row:hover::before { transform: scaleY(1); }

.svc-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .17em;
  text-transform: uppercase;
  color: var(--gray-soft);
  transition: color .22s ease;
}
.svc-row:hover .svc-tag { color: var(--accent); }

.svc-body h3 {
  font-size: clamp(24px, 3.4vw, 40px);
  letter-spacing: -0.035em;
  margin-bottom: 10px;
  transition: color .22s ease;
}
.svc-row:hover .svc-body h3 { color: var(--accent); }
.svc-body p {
  color: var(--gray);
  font-size: 16.5px;
  max-width: 56ch;
}

.svc-arrow {
  width: 52px; height: 52px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 15px;
  transition: background .22s ease, color .22s ease, border-color .22s ease, transform .22s ease;
}
.svc-row:hover .svc-arrow {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: translateX(6px);
}

/* Segunda fila en celeste: el isotipo divide el círculo en dos colores,
   la lista de servicios repite esa división. */
.svc-row--cyan::before { background: var(--cyan); }
.svc-row--cyan:hover { background: var(--cyan-wash); }
.svc-row--cyan:hover .svc-tag { color: var(--cyan-deep); }
.svc-row--cyan:hover .svc-body h3 { color: var(--cyan-deep); }
.svc-row--cyan:hover .svc-arrow {
  background: var(--cyan);
  border-color: var(--cyan);
  color: #fff;
}

/* --------------------------------------------------------------------------
   FLAGSHIP
   -------------------------------------------------------------------------- */
.flagship {
  display: grid;
  grid-template-columns: 1.35fr .65fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  padding: clamp(28px, 4vw, 54px);
  box-shadow: var(--shadow-sm);
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-wash);
  padding: 7px 13px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.flagship-copy h2 {
  font-size: clamp(27px, 3.6vw, 42px);
  margin-bottom: 16px;
}
.flagship-copy .desc {
  color: var(--gray);
  font-size: 17px;
  max-width: 60ch;
  margin-bottom: 26px;
}

.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 13px; }
.feature-list li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  font-size: 15.5px;
  color: var(--ink-2);
}
.feature-list li i {
  color: var(--accent);
  font-size: 12px;
  margin-top: 6px;
  flex-shrink: 0;
}

.industries { border-top: 1px solid var(--line-soft); padding-top: 22px; }
.i-label {
  display: block;
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gray-soft);
  margin-bottom: 14px;
}
.chip-grid { display: flex; flex-wrap: wrap; gap: 9px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13.5px;
  color: var(--ink-2);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 14px;
  transition: border-color .16s ease, color .16s ease;
}
.chip i { color: var(--accent); font-size: 12px; }
.chip:hover { border-color: var(--accent); color: var(--accent); }

.price-box {
  position: sticky;
  top: 92px;
  background: var(--ink);
  color: #fff;
  border-radius: var(--r-md);
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.p-label {
  font-family: var(--font-mono);
  font-size: 10.5px;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: rgba(255,255,255,.55);
}
.p-amount {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 34px;
  letter-spacing: -0.035em;
  color: #fff;
  line-height: 1.1;
}
.p-amount small { font-family: var(--font-mono); font-size: 13px; color: rgba(255,255,255,.5); font-weight: 400; }
.p-note { font-size: 13.5px; color: rgba(255,255,255,.6); line-height: 1.55; margin-bottom: 6px; }

/* --------------------------------------------------------------------------
   TRABAJOS
   -------------------------------------------------------------------------- */
.work-grid {
  display: grid;
  /* 3 columnas: cada tarjeta queda en ~335px, por encima del ancho mínimo
     de 326px que exigen los embeds de Instagram. */
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.2vw, 28px);
}

.work { margin: 0; }
.work-screen {
  position: relative;
  aspect-ratio: 9 / 12.6;
  border-radius: var(--r-md);
  overflow: hidden;
  background: var(--paper-soft);
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.work:hover .work-screen {
  transform: translateY(-5px);
  border-color: rgba(236,46,142,.35);
  box-shadow: var(--shadow-md);
}
.work-screen iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.work figcaption {
  margin-top: 13px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.work-brand {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.work-kind {
  font-family: var(--font-mono);
  font-size: 10px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gray-soft);
}
.ig-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 6px;
  font-size: 13px;
  font-weight: 500;
  color: var(--accent);
  transition: gap .16s ease;
}
.ig-link:hover { gap: 11px; }
.ig-link i { font-size: 12px; }

.work-foot {
  margin-top: 36px;
  font-size: 17px;
  color: var(--gray);
}
.work-foot a {
  color: var(--accent);
  font-weight: 600;
  border-bottom: 1px solid rgba(236,46,142,.32);
  padding-bottom: 2px;
  transition: border-color .16s ease;
}
.work-foot a:hover { border-color: var(--accent); }
.work-foot a i { font-size: 12px; }

/* --------------------------------------------------------------------------
   PROCESO
   -------------------------------------------------------------------------- */
.steps {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.step {
  border-top: 2px solid var(--ink);
  padding-top: 20px;
}
.step-num {
  display: block;
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: .16em;
  color: var(--accent);
  margin-bottom: 12px;
}
.step:nth-child(2) .step-num { color: var(--cyan-deep); }
.step h3 { font-size: 22px; margin-bottom: 9px; }
.step p { color: var(--gray); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   BENEFICIOS
   -------------------------------------------------------------------------- */
.benefits {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(16px, 2.5vw, 28px);
}
.benefit {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--r-md);
  padding: 30px 26px;
  transition: border-color .2s ease, transform .2s ease, box-shadow .2s ease;
}
.benefit:hover {
  border-color: rgba(236,46,142,.35);
  transform: translateY(-3px);
  box-shadow: var(--shadow-sm);
}
.benefit > i {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 44px; height: 44px;
  border-radius: 11px;
  background: var(--accent-wash);
  color: var(--accent);
  font-size: 17px;
  margin-bottom: 20px;
}
.benefit:nth-child(2) > i { background: var(--cyan-wash); color: var(--cyan-deep); }
.benefit h3 { font-size: 20px; margin-bottom: 10px; }
.benefit p { color: var(--gray); font-size: 15.5px; }

/* --------------------------------------------------------------------------
   FAQ
   -------------------------------------------------------------------------- */
.faq-list { border-top: 1px solid var(--line); max-width: 860px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
  background: none;
  border: 0;
  padding: 22px 4px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(16px, 2vw, 20px);
  letter-spacing: -0.02em;
  color: var(--ink);
  transition: color .16s ease;
}
.faq-q:hover { color: var(--accent); }
.faq-q i {
  font-size: 13px;
  color: var(--accent);
  flex-shrink: 0;
  transition: transform .24s ease;
}
.faq-item.open .faq-q i { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .3s cubic-bezier(.4,0,.2,1);
}
.faq-a p {
  color: var(--gray);
  font-size: 16px;
  padding: 0 4px 24px;
  max-width: 68ch;
}

/* --------------------------------------------------------------------------
   CIERRE + FOOTER
   -------------------------------------------------------------------------- */
.cierre {
  max-width: 760px;
  margin: 0 auto;
  padding: clamp(64px, 9vw, 116px) var(--gutter);
  text-align: center;
}
.cierre-logo {
  width: clamp(190px, 26vw, 260px);
  height: auto;
  margin: 0 auto 34px;
}
.cierre h2 { font-size: clamp(30px, 4.6vw, 52px); margin-bottom: 18px; }
.cierre p { color: var(--gray); font-size: 17.5px; margin-bottom: 32px; }

.footer {
  border-top: 1px solid var(--line);
  padding: 26px var(--gutter);
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  font-size: 13.5px;
  color: var(--gray-soft);
}
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a { color: var(--gray); transition: color .16s ease; }
.footer-links a:hover { color: var(--accent); }

/* --- Botón flotante WhatsApp --- */
.wa-fab {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 70;
  width: 54px; height: 54px;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: var(--shadow-accent);
  transition: transform .18s ease, background .18s ease;
}
.wa-fab:hover { transform: scale(1.07); background: var(--accent-deep); }

/* --------------------------------------------------------------------------
   REVEAL
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2,.6,.3,1), transform .6s cubic-bezier(.2,.6,.3,1);
}
.reveal.in-view { opacity: 1; transform: none; }

/* --------------------------------------------------------------------------
   RESPONSIVE
   -------------------------------------------------------------------------- */
@media (max-width: 1020px) {
  .work-grid { grid-template-columns: repeat(2, 1fr); }
  .flagship { grid-template-columns: 1fr; }
  .price-box { position: static; }
}

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding-top: 40px; }
  .hero-copy { order: 1; }
  .hero-visual { order: 2; }
  .svc-row { grid-template-columns: 1fr auto; gap: 16px 20px; }
  .svc-tag { grid-column: 1 / -1; }
  .steps, .benefits { grid-template-columns: 1fr; }
  .step { border-top-width: 1px; }
}

@media (max-width: 780px) {
  .brand-sub { display: none; }
  .nav-toggle { display: flex; }
  .nav-cta span { display: none; }
  .nav-cta { padding: 10px 13px; font-size: 15px; }
  .nav-right { gap: 10px; }

  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--paper);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow-md);
    max-height: 0;
    overflow: hidden;
    transition: max-height .28s ease;
  }
  .nav-links.open { max-height: 300px; }
  .nav-links a {
    padding: 15px var(--gutter);
    border-bottom: 1px solid var(--line-soft);
    font-size: 15px;
    color: var(--ink);
  }
}

@media (max-width: 560px) {
  .work-grid { grid-template-columns: 1fr; gap: 26px; }
  .work-screen { max-width: 330px; }
  .phone { max-width: 300px; }
  .svc-arrow { width: 44px; height: 44px; }
  .footer { justify-content: center; text-align: center; }
}

/* --------------------------------------------------------------------------
   ACCESIBILIDAD — movimiento reducido
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  #particles { display: none; }
}
