:root {
  --bg: #000;
  --bg-2: #0b0b0b;
  --line: rgba(255, 255, 255, 0.12);
  --text: #f4f4f4;
  --muted: rgba(255, 255, 255, 0.6);
  --accent: #ff4729;
  --font: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, monospace;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { background: var(--bg); }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img, video { display: block; max-width: 100%; }
::selection { background: var(--accent); color: #000; }

/* ---------- Nav ---------- */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  display: flex; justify-content: space-between; align-items: center;
  padding: 18px clamp(20px, 4vw, 48px);
  transition: background 0.4s, backdrop-filter 0.4s;
}
.nav.scrolled { background: rgba(0, 0, 0, 0.7); backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
.nav-logo { display: flex; align-items: center; gap: 10px; font-weight: 700; letter-spacing: -0.01em; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: 0.9rem; color: var(--muted); }
.nav-links a:not(.btn):hover { color: var(--text); }

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  background: var(--accent); color: #000; font-weight: 700;
  padding: 14px 26px; border-radius: 999px; cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 40px -8px var(--accent); }
.btn-sm { padding: 8px 18px; font-size: 0.85rem; color: #000 !important; }
.btn-lg { padding: 18px 34px; font-size: 1.05rem; }
.link { color: var(--muted); border-bottom: 1px solid var(--line); cursor: pointer; }
.link:hover { color: var(--text); }

/* ---------- Hero ---------- */
.hero { position: relative; min-height: 100vh; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; }
.hero-shade {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.7) 40%, transparent 72%),
              linear-gradient(180deg, rgba(0,0,0,0.8) 0%, transparent 16%),
              linear-gradient(0deg, #000 0%, transparent 28%);
}
.hero-inner { position: relative; z-index: 2; width: min(1180px, 100% - 40px); margin: 0 auto; padding: 0 0 clamp(90px, 14vh, 150px); pointer-events: none; }
.hero-inner a { pointer-events: auto; }
.hero-title { font-size: clamp(2.6rem, 8.2vw, 7.4rem); line-height: 0.98; letter-spacing: -0.045em; font-weight: 700; margin-bottom: 28px; }
.hero-title .line { display: block; overflow: hidden; padding-bottom: 0.08em; }
.hero-title .line > span { display: inline-block; transform: translateY(110%); }
.loaded .hero-title .line > span { animation: rise 1.1s var(--ease) forwards; }
.loaded .hero-title .line:nth-child(2) > span { animation-delay: 0.12s; }
.loaded .hero-title .line:nth-child(3) > span { animation-delay: 0.24s; }
@keyframes rise { to { transform: none; } }
.hero-title em { font-style: normal; color: var(--accent); }
.hero-sub { max-width: 46ch; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.2rem); opacity: 0; transform: translateY(16px); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; opacity: 0; transform: translateY(16px); }
.loaded .hero-sub, .loaded .hero-actions { animation: fadeup 1s var(--ease) 0.6s forwards; }
.loaded .hero-actions { animation-delay: 0.75s; }
@keyframes fadeup { to { opacity: 1; transform: none; } }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid var(--line); }
.btn-ghost:hover { border-color: var(--accent); box-shadow: none; }
.magnetic { will-change: transform; }
.hero-meta {
  position: absolute; z-index: 2; left: clamp(20px, 4vw, 48px); right: clamp(20px, 4vw, 48px); bottom: 24px;
  display: flex; justify-content: space-between; font-family: var(--mono); font-size: 0.72rem;
  letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); pointer-events: none;
}
.scroll-cue { display: inline-flex; align-items: center; gap: 10px; }
.scroll-cue i { width: 48px; height: 1px; background: var(--muted); position: relative; overflow: hidden; }
.scroll-cue i::after { content: ''; position: absolute; inset: 0; background: var(--accent); animation: cue 1.8s var(--ease) infinite; }
@keyframes cue { 0% { transform: translateX(-100%); } 100% { transform: translateX(100%); } }
.eyebrow {
  font-family: var(--mono); font-size: 0.78rem; letter-spacing: 0.18em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 18px; min-height: 1.2em;
}

/* ---------- Así se arma (logo con scroll) ---------- */
.build { height: 400vh; position: relative; }
.build-stage {
  position: sticky; top: 0; height: 100vh; overflow: hidden;
  width: min(1180px, 100% - 40px); margin: 0 auto;
  display: grid; grid-template-columns: 1fr 1fr; align-items: center; gap: 40px;
}
.build-text { position: relative; z-index: 2; }
.build-visual { display: flex; justify-content: center; height: 100%; align-items: center; }
#logo-canvas { height: 88vh; width: auto; max-width: 100%; object-fit: contain; mix-blend-mode: screen; }
.loader { position: absolute; top: 0; left: 0; right: 0; height: 2px; transition: opacity 0.5s; }
.loader span { display: block; height: 100%; width: 0; background: var(--accent); }

/* ---------- Cursor ---------- */
.cursor { position: fixed; top: 0; left: 0; z-index: 100; pointer-events: none; display: none; mix-blend-mode: difference; }
.cursor i { display: block; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: #fff; transition: transform 0.35s var(--ease); }
.cursor.hover i { transform: scale(3.4); }
/* con el cursor propio activo (mouse), se oculta el del sistema en TODOS los elementos: sin la manito de tarjetas, botones, filtros, etc. */
@media (pointer: fine) { .cursor { display: block; } body.has-cursor, body.has-cursor * { cursor: none !important; } }

/* Lenis */
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }

/* ---------- Secciones ---------- */
.section { padding: clamp(80px, 14vw, 160px) 0; border-top: 1px solid var(--line); }
.wrap { width: min(1180px, 100% - 40px); margin: 0 auto; }
.title { font-size: clamp(2rem, 5vw, 3.6rem); line-height: 1.05; letter-spacing: -0.03em; margin-bottom: clamp(36px, 6vw, 72px); }
.title.big { font-size: clamp(2.6rem, 9vw, 7rem); margin-bottom: 24px; }
.lead { color: var(--muted); font-size: 1.15rem; margin-bottom: 36px; }

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card {
  background: var(--bg-2); border: 1px solid var(--line); border-radius: 18px;
  padding: 32px; transition: border-color 0.3s, transform 0.4s var(--ease);
}
.card:hover { border-color: var(--accent); transform: translateY(-4px); }
.card h3 { font-size: 1.4rem; margin: 18px 0 10px; letter-spacing: -0.02em; }
.card p { color: var(--muted); }
.num { font-family: var(--mono); color: var(--accent); font-size: 0.85rem; }

/* ---------- Proyectos ---------- */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.project { border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: var(--bg-2); transition: border-color 0.3s, transform 0.4s var(--ease); }
.project:hover { border-color: var(--accent); transform: translateY(-4px); }
.project-media {
  aspect-ratio: 16 / 10; position: relative; overflow: hidden; background:
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px, #050505;
}
.project-media video, .project-media img { width: 100%; height: 100%; object-fit: cover; }
.project-media .soon {
  position: absolute; inset: 0; display: grid; place-items: center;
  font-family: var(--mono); letter-spacing: 0.2em; color: var(--muted); text-transform: uppercase; font-size: 0.8rem;
}
.project-info { padding: 24px 26px 28px; }
.project-meta { font-family: var(--mono); font-size: 0.75rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.project-info h3 { font-size: 1.6rem; margin: 6px 0 8px; letter-spacing: -0.02em; }
.project-info p { color: var(--muted); }
.project-result { margin-top: 14px; font-weight: 700; }
.project-link { display: inline-block; margin-top: 16px; color: var(--accent); font-weight: 500; }
.project--placeholder { opacity: 0.55; border-style: dashed; }

/* ---------- Proceso ---------- */

/* ---------- Paquetes ---------- */
.pkg { display: flex; flex-direction: column; }
.pkg.featured { border-color: var(--accent); background: linear-gradient(180deg, rgba(255, 71, 41, 0.1), var(--bg-2) 60%); }
.pkg .price { font-size: 2rem; font-weight: 700; letter-spacing: -0.03em; margin: 8px 0 12px; }
.pkg ul { list-style: none; margin: 22px 0 28px; display: grid; gap: 10px; flex: 1; }
.pkg li { color: var(--text); padding-left: 22px; position: relative; font-size: 0.95rem; }
.pkg li::before { content: '→'; position: absolute; left: 0; color: var(--accent); }
.pkg .btn { align-self: flex-start; }
.badge { align-self: flex-start; font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase; background: var(--accent); color: #000; padding: 3px 10px; border-radius: 999px; margin-bottom: 8px; }

/* ---------- CTA + footer ---------- */
.cta { text-align: center; background: radial-gradient(ellipse at 50% 100%, rgba(255, 71, 41, 0.18), transparent 60%); }
.cta-actions { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.footer { display: flex; justify-content: space-between; padding: 28px clamp(20px, 4vw, 48px); border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* ---------- Reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.9s var(--ease), transform 0.9s var(--ease); }
.reveal.in { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .grid-3, .projects { grid-template-columns: 1fr; }
  .nav-links a:not(.btn) { display: none; }
  .hero-shade { background: linear-gradient(0deg, #000 0%, rgba(0,0,0,0.75) 45%, rgba(0,0,0,0.15) 100%); }
  .hero-meta span:first-child { display: none; }
  .build { height: 330vh; }
  .build-stage { grid-template-columns: 1fr; grid-template-rows: 46% 54%; gap: 0; align-items: start; padding-top: 70px; }
  .build-visual { grid-row: 1; height: 100%; }
  .build-text { grid-row: 2; }
  #logo-canvas { height: 100%; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-hint span { animation: none; }
}

/* =====================================================================
   GRADIENTES 2026 — aurora + malla cálida, grano, bordes con spotlight
   Paleta: naranja de marca → ámbar → magenta, con un toque índigo de profundidad.
   ===================================================================== */
:root {
  --g-amber: #ff7a30;
  --g-orange: #ff4729;
  --g-magenta: #ff3050;
  --g-indigo: #5a5bff;
  --grad-brand: linear-gradient(115deg, var(--g-amber) 0%, var(--g-orange) 45%, var(--g-magenta) 100%);
}
@property --ang { syntax: '<angle>'; initial-value: 0deg; inherits: false; }

/* Hero: aurora de fondo (bajo el canvas 3D) */
.hero::before {
  content: ''; position: absolute; inset: -20%; z-index: 0; pointer-events: none;
  background:
    radial-gradient(38% 42% at 78% 22%, rgba(255, 71, 41, 0.40), transparent 70%),
    radial-gradient(34% 40% at 92% 72%, rgba(100, 96, 255, 0.30), transparent 70%),
    radial-gradient(40% 46% at 58% 88%, rgba(90, 91, 255, 0.26), transparent 70%),
    radial-gradient(28% 30% at 66% 46%, rgba(255, 110, 50, 0.22), transparent 70%);
  filter: blur(40px) saturate(1.2);
  animation: aurora 22s ease-in-out infinite alternate;
}
@keyframes aurora {
  0%   { transform: translate3d(0, 0, 0) scale(1) rotate(0deg); }
  50%  { transform: translate3d(-4%, 3%, 0) scale(1.08) rotate(6deg); }
  100% { transform: translate3d(3%, -3%, 0) scale(1.03) rotate(-5deg); }
}

/* Texto con degradado animado */
.hero-title em, .gradient-text {
  background: linear-gradient(100deg, var(--g-amber), var(--g-orange) 35%, var(--g-magenta) 70%, var(--g-amber));
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
  animation: shine 7s linear infinite;
}
@keyframes shine { to { background-position: -220% 0; } }
.cta .title.big {
  background: linear-gradient(180deg, #fff 20%, #ffb08f 60%, var(--g-orange) 100%);
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}
.eyebrow { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; width: fit-content; }
.num { color: var(--g-orange); }

/* Botones: degradado con brillo que se desplaza */
.btn:not(.btn-ghost) {
  background: linear-gradient(120deg, var(--g-amber), var(--g-orange) 50%, var(--g-magenta));
  background-size: 160% 100%; background-position: 0% 0;
  box-shadow: 0 6px 30px -10px rgba(255, 71, 41, 0.7), inset 0 1px 0 rgba(255, 255, 255, 0.35);
  transition: transform 0.3s var(--ease), box-shadow 0.4s var(--ease), background-position 0.6s var(--ease);
}
.btn:not(.btn-ghost):hover { background-position: 100% 0; box-shadow: 0 14px 50px -8px rgba(100, 96, 255, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.4); }
.btn-ghost {
  background: linear-gradient(rgba(10, 10, 10, 0.6), rgba(10, 10, 10, 0.6)) padding-box,
              linear-gradient(120deg, rgba(255, 110, 50, 0.7), rgba(255, 71, 41, 0.15) 50%, rgba(100, 96, 255, 0.7)) border-box;
  border: 1px solid transparent; backdrop-filter: blur(8px);
}
.btn-ghost:hover { box-shadow: 0 10px 40px -12px rgba(255, 71, 41, 0.6); }

/* Nav con cristal degradado al hacer scroll */
.nav.scrolled { background: linear-gradient(180deg, rgba(0, 0, 0, 0.78), rgba(0, 0, 0, 0.5)); border-bottom-color: transparent; }
.nav.scrolled::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 71, 41, 0.6), rgba(100, 96, 255, 0.4), transparent); }

/* Secciones: líneas y luces de color suaves */
.section { border-top: 0; position: relative; }
.section::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.22) 30%, rgba(255, 71, 41, 0.5) 50%, rgba(255, 255, 255, 0.22) 70%, transparent); }
#trabajos { background: radial-gradient(50% 40% at 100% 0%, rgba(255, 71, 41, 0.13), transparent 70%), radial-gradient(40% 40% at 0% 60%, rgba(90, 91, 255, 0.10), transparent 70%); }
#servicios { background: radial-gradient(45% 40% at 0% 10%, rgba(100, 96, 255, 0.12), transparent 70%), radial-gradient(40% 40% at 100% 90%, rgba(255, 110, 50, 0.10), transparent 70%); }
#paquetes { background: radial-gradient(55% 45% at 50% 0%, rgba(255, 71, 41, 0.14), transparent 70%), radial-gradient(40% 40% at 0% 100%, rgba(100, 96, 255, 0.10), transparent 70%); }
.cta {
  background:
    radial-gradient(60% 55% at 50% 110%, rgba(255, 71, 41, 0.45), transparent 70%),
    radial-gradient(40% 45% at 15% 100%, rgba(90, 91, 255, 0.30), transparent 70%),
    radial-gradient(40% 45% at 85% 100%, rgba(100, 96, 255, 0.32), transparent 70%);
}

/* Tarjetas: borde degradado + spotlight que sigue al cursor (--mx/--my los pone main.js) */
.card, .project {
  position: relative; border-color: transparent; isolation: isolate;
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.01) 55%), var(--bg-2);
  --mx: 50%; --my: 0%;
}
.card::before, .project::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background:
    radial-gradient(260px circle at var(--mx) var(--my), var(--g-orange), var(--g-magenta) 45%, transparent 75%),
    linear-gradient(160deg, rgba(255, 255, 255, 0.22), rgba(255, 255, 255, 0.05) 50%, rgba(255, 255, 255, 0.14));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
}
.card::after, .project::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; z-index: -1; opacity: 0; transition: opacity 0.4s;
  background: radial-gradient(380px circle at var(--mx) var(--my), rgba(255, 71, 41, 0.16), rgba(100, 96, 255, 0.07) 45%, transparent 70%);
}
.card:hover::after, .project:hover::after { opacity: 1; }
.card:hover, .project:hover { border-color: transparent; }

/* Paquete destacado: borde cónico que gira */
.pkg.featured { background: radial-gradient(90% 60% at 50% 0%, rgba(255, 71, 41, 0.22), rgba(100, 96, 255, 0.06) 60%, transparent), var(--bg-2); }
.pkg.featured::before {
  padding: 1.5px;
  background: conic-gradient(from var(--ang), var(--g-orange), var(--g-magenta), var(--g-indigo), var(--g-amber), var(--g-orange));
  animation: spin 6s linear infinite;
}
@keyframes spin { to { --ang: 360deg; } }
.badge { background: var(--grad-brand); color: #fff; }
.pkg li::before { color: var(--g-amber); }

/* Barra de carga */
.build-visual::before {
  content: ''; position: absolute; width: 70%; aspect-ratio: 1; z-index: -1; filter: blur(60px);
  background: radial-gradient(closest-side, rgba(255, 71, 41, 0.28), rgba(90, 91, 255, 0.16) 60%, transparent);
}
.build-visual { position: relative; }
.project-media {
  background:
    radial-gradient(70% 90% at 80% 0%, rgba(255, 71, 41, 0.22), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgba(90, 91, 255, 0.18), transparent 70%),
    linear-gradient(var(--line) 1px, transparent 1px) 0 0 / 40px 40px,
    linear-gradient(90deg, var(--line) 1px, transparent 1px) 0 0 / 40px 40px, #050505;
}
.footer { border-top: 0; position: relative; }
.footer::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(255, 71, 41, 0.5), rgba(100, 96, 255, 0.4), transparent); }

@media (prefers-reduced-motion: reduce) {
  .hero::before, .hero-title em, .pkg.featured::before { animation: none; }
}

/* ---------- Manifiesto: palabras que se encienden con el scroll ---------- */
.manifesto { padding: clamp(90px, 16vw, 200px) 0; border-top: 1px solid var(--line); }
.manifesto-text { font-size: clamp(1.9rem, 5.4vw, 4.6rem); font-weight: 700; line-height: 1.08; letter-spacing: -0.04em; max-width: 20em; }
.manifesto-text .w { color: rgba(255, 255, 255, 0.16); transition: color 0.5s var(--ease), opacity 0.5s; }
.manifesto-text .w.on { color: var(--text); }
.manifesto-text .w.k.on {
  background: linear-gradient(100deg, var(--g-amber), var(--g-orange) 45%, var(--g-magenta));
  -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent;
}

/* ---------- Proyecto interactivo: tarjeta ---------- */
.project[data-studio] { cursor: pointer; }
.studio-preview { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.live-badge {
  position: absolute; top: 14px; left: 14px; z-index: 2; display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 12px; border-radius: 999px; background: rgba(0, 0, 0, 0.45); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.18);
}
.live-badge::before { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #38ffa3; box-shadow: 0 0 10px #38ffa3; animation: pulse 1.6s ease-in-out infinite; }
@keyframes pulse { 50% { opacity: 0.35; } }
.project[data-studio] .project-link { color: var(--text); }
.project[data-studio]:hover .project-link { color: var(--g-amber); }

/* ---------- Gradient Studio (modal) ---------- */
.cursor { z-index: 400; }
body.studio-open { overflow: hidden; }
.studio {
  position: fixed; inset: 0; z-index: 200; background: #050505;
  display: grid; grid-template-columns: 1fr 360px;
  opacity: 0; transform: scale(0.985); transition: opacity 0.35s var(--ease), transform 0.5s var(--ease);
}
.studio[hidden] { display: none; }
.studio.open { opacity: 1; transform: none; }
.studio-stage { position: relative; min-height: 0; }
.studio-stage canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: crosshair; }
.studio-hint {
  position: absolute; left: 50%; bottom: 22px; transform: translateX(-50%); white-space: nowrap; pointer-events: none;
  font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.15);
}
.studio-panel { overflow-y: auto; padding: 22px 22px 40px; background: rgba(12, 12, 12, 0.92); border-left: 1px solid var(--line); }
.studio-head { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 8px; }
.studio-head h3 { font-size: 1.6rem; letter-spacing: -0.03em; }
.studio-head .eyebrow { margin-bottom: 4px; }
.studio-close { width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: transparent; color: var(--text); font-size: 0.9rem; cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.studio-close:hover { border-color: var(--g-orange); background: rgba(255, 71, 41, 0.12); }
.sg { padding: 18px 0; border-top: 1px solid var(--line); }
.sg h4 { font-family: var(--mono); font-weight: 500; font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: var(--muted); margin-bottom: 14px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip, .mini, .seg button {
  font: inherit; font-size: 0.85rem; color: var(--text); cursor: pointer; padding: 8px 14px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); transition: border-color 0.3s, background 0.3s;
}
.chip:hover, .mini:hover { border-color: var(--g-orange); background: rgba(255, 71, 41, 0.12); }
.seg { display: grid; grid-template-columns: repeat(5, 1fr); gap: 4px; padding: 4px; border-radius: 14px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); }
.seg button { border: 0; border-radius: 10px; padding: 9px 0; font-size: 0.78rem; background: transparent; }
.seg button.on { background: var(--grad-brand); color: #000; font-weight: 700; }
.swatches { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 12px; }
.swatches input { width: 100%; height: 46px; padding: 0; border: 1px solid var(--line); border-radius: 12px; background: none; cursor: pointer; }
.swatches input::-webkit-color-swatch-wrapper { padding: 3px; }
.swatches input::-webkit-color-swatch { border: 0; border-radius: 9px; }
.swatches input::-moz-color-swatch { border: 0; border-radius: 9px; }
.row { display: block; margin-bottom: 16px; }
.rl { display: flex; justify-content: space-between; font-size: 0.88rem; margin-bottom: 8px; }
.rl output { font-family: var(--mono); font-size: 0.78rem; color: var(--g-amber); }
.row input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; border-radius: 4px; outline: none; cursor: pointer;
  background: linear-gradient(90deg, var(--g-orange), var(--g-magenta)) 0 / var(--p, 50%) 100% no-repeat, rgba(255, 255, 255, 0.14); }
.row input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(255, 71, 41, 0.35); }
.row input[type=range]::-moz-range-thumb { width: 18px; height: 18px; border-radius: 50%; background: #fff; border: 0; box-shadow: 0 0 0 4px rgba(255, 71, 41, 0.35); }
.acts { display: flex; flex-wrap: wrap; gap: 8px; }
.acts .dl { width: 100%; margin-top: 6px; padding: 14px; }

@media (max-width: 860px) {
  .studio { grid-template-columns: 1fr; grid-template-rows: 42% 58%; }
  .studio-panel { border-left: 0; border-top: 1px solid var(--line); }
  .studio-hint { display: none; }
}

/* ---------- Diseño y animación ---------- */
#diseno { background: radial-gradient(45% 40% at 0% 0%, rgba(100, 96, 255, 0.12), transparent 70%), radial-gradient(40% 40% at 100% 100%, rgba(90, 91, 255, 0.12), transparent 70%); }
.tabs { display: inline-flex; gap: 4px; padding: 4px; margin: -24px 0 40px; border-radius: 999px; background: rgba(255, 255, 255, 0.05); border: 1px solid var(--line); backdrop-filter: blur(8px); }
.tab { font: inherit; font-size: 0.9rem; color: var(--muted); background: transparent; border: 0; padding: 10px 20px; border-radius: 999px; cursor: pointer; transition: color 0.3s, background 0.3s; }
.tab:hover { color: var(--text); }
.tab.on { background: var(--grad-brand); color: #000; font-weight: 700; }

.works { columns: 3; column-gap: 20px; }
.work { break-inside: avoid; margin: 0 0 20px; display: block; }
.work[hidden] { display: none; }
.work-media {
  position: relative; aspect-ratio: var(--r, 4/5); border-radius: 18px; overflow: hidden; background: #08080a;
  border: 1px solid var(--line); transition: transform 0.5s var(--ease), border-color 0.3s, box-shadow 0.4s;
  will-change: transform;
}
.work.has-src { cursor: pointer; }
.work:hover .work-media { border-color: rgba(255, 71, 41, 0.6); box-shadow: 0 20px 60px -20px rgba(255, 71, 41, 0.45); }
.work-media img, .work-media video { width: 100%; height: 100%; object-fit: cover; }
.work-badge {
  position: absolute; top: 12px; left: 12px; font-family: var(--mono); font-size: 0.68rem; letter-spacing: 0.12em; text-transform: uppercase;
  padding: 6px 11px; border-radius: 999px; background: rgba(0, 0, 0, 0.5); backdrop-filter: blur(10px); border: 1px solid rgba(255, 255, 255, 0.18);
}
.work figcaption { display: flex; justify-content: space-between; gap: 12px; padding: 12px 4px 0; font-size: 0.95rem; }
.work figcaption span { color: var(--muted); font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.08em; text-transform: uppercase; align-self: center; }

/* Espacio de muestra: luces de color sobre negro */
.ph { position: absolute; inset: 0; display: grid; place-items: center; align-content: center; gap: 12px; text-align: center; padding: 20px;
  background:
    radial-gradient(60% 50% at 25% 15%, hsl(var(--h) 95% 55% / 0.55), transparent 70%),
    radial-gradient(55% 50% at 85% 90%, hsl(calc(var(--h) + 70) 95% 55% / 0.42), transparent 70%), #07070a; }
.ph span { font-size: 2rem; opacity: 0.85; }
.ph em { font-style: normal; font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.6); }

/* Visor */
.lightbox { position: fixed; inset: 0; z-index: 210; background: rgba(0, 0, 0, 0.92); backdrop-filter: blur(18px); display: grid; place-items: center; opacity: 0; transition: opacity 0.3s; }
.lightbox[hidden] { display: none; }
.lightbox.open { opacity: 1; }
.lb-stage { max-width: min(92vw, 1100px); max-height: 82vh; display: grid; place-items: center; }
.lb-stage img, .lb-stage video { max-width: 100%; max-height: 82vh; border-radius: 14px; box-shadow: 0 30px 120px -20px rgba(255, 71, 41, 0.35); }
.lb-cap { position: absolute; bottom: 24px; left: 0; right: 0; text-align: center; color: var(--muted); font-size: 0.95rem; }
.lb-cap b { color: var(--text); margin-right: 8px; }
.lb-btn { position: absolute; width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: rgba(255, 255, 255, 0.06); color: var(--text); font-size: 1.1rem; cursor: pointer; transition: border-color 0.3s, background 0.3s; }
.lb-btn:hover { border-color: var(--g-orange); background: rgba(255, 71, 41, 0.14); }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; translate: 0 -50%; }
.lb-next { right: 20px; top: 50%; translate: 0 -50%; }

@media (max-width: 1000px) { .works { columns: 2; } }
@media (max-width: 560px) {
  .works { columns: 2; column-gap: 12px; }
  .work { margin-bottom: 14px; }
  .work figcaption { flex-direction: column; gap: 2px; font-size: 0.85rem; }
  .tabs { margin-top: -8px; }
  .lb-prev, .lb-next { top: auto; bottom: 20px; translate: none; }
  .lb-prev { left: 20px; } .lb-next { right: 20px; }
  .lb-cap { bottom: 32px; padding: 0 80px; }
}

/* =====================================================================
   VIDRIO LÍQUIDO (v2) — casi transparente y plano, sin biseles ni bandas de brillo.
   Lo que lo hace "vidrio": desenfoque + saturación del fondo, refracción en los bordes
   (filtro SVG #lg, solo Chromium), canto fino que atrapa la luz en dos esquinas
   y un resplandor suave que sigue al cursor (--bx/--by). Se aplasta al presionar.
   ===================================================================== */
.btn, .tab.on, .seg button.on { --bx: 50%; --by: 0%; }
.btn {
  position: relative; isolation: isolate; overflow: hidden; border: 0; color: #fff;
  font-weight: 500; letter-spacing: -0.01em;
  -webkit-backdrop-filter: blur(14px) saturate(1.9) brightness(1.1);
  backdrop-filter: blur(14px) saturate(1.9) brightness(1.1);
  backdrop-filter: url(#lg) blur(2px) saturate(1.9) brightness(1.1);   /* refracción donde se soporte */
  transition: transform 0.55s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.5s var(--ease), background-color 0.4s;
}
.btn > span { position: relative; z-index: 2; }

/* Primario: vidrio teñido de naranja */
.btn:not(.btn-ghost) {
  background:
    radial-gradient(130px circle at var(--bx) var(--by), rgba(255, 255, 255, 0.24), transparent 70%),
    linear-gradient(180deg, rgba(255, 104, 58, 0.94), rgba(255, 62, 28, 0.88));
  background-size: auto; background-position: 0 0;
  box-shadow: 0 12px 44px -14px rgba(255, 71, 41, 0.6), inset 0 0 26px rgba(255, 255, 255, 0.06);
}
.btn:not(.btn-ghost):hover { background-position: 0 0; filter: brightness(1.12); transform: scale(1.045); box-shadow: 0 16px 56px -12px rgba(255, 71, 41, 0.8), inset 0 0 30px rgba(255, 255, 255, 0.1); }

/* Secundario: vidrio claro */
.btn-ghost {
  color: #fff;
  background: radial-gradient(130px circle at var(--bx) var(--by), rgba(255, 255, 255, 0.2), transparent 70%), rgba(255, 255, 255, 0.1);
  box-shadow: 0 10px 36px -16px rgba(0, 0, 0, 0.9), inset 0 0 26px rgba(255, 255, 255, 0.04);
}
.btn-ghost:hover { transform: scale(1.045); background-color: rgba(255, 255, 255, 0.11); box-shadow: 0 14px 44px -14px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(255, 255, 255, 0.08); }
.btn:active, .btn:not(.btn-ghost):active, .btn-ghost:active { transform: scale(0.95); transition-duration: 0.12s; }

/* Canto: línea finísima que brilla en esquinas opuestas y se apaga en los lados */
.btn::before {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.14) 26%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.14) 74%, rgba(255, 255, 255, 0.8));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.btn::after { content: none; }
.btn-sm { color: #fff !important; }

/* Tabs / segmentos activos: mismo vidrio teñido */
.tab.on, .seg button.on {
  color: #fff; font-weight: 500;
  background: radial-gradient(110px circle at var(--bx) var(--by), rgba(255, 255, 255, 0.22), transparent 70%), linear-gradient(180deg, rgba(255, 104, 58, 0.94), rgba(255, 62, 28, 0.88));
  box-shadow: 0 8px 28px -10px rgba(255, 71, 41, 0.7), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
}
.chip { backdrop-filter: blur(10px); }
.lb-btn, .studio-close, .live-badge { backdrop-filter: blur(14px) saturate(1.5); }

/* Pieza de vidrio del contacto (tu imagen): el negro se funde con la página */
.glass-g { width: clamp(220px, 32vw, 380px); margin: 0 auto 8px; perspective: 900px; position: relative; }
.glass-g::before { content: ''; position: absolute; inset: 10%; z-index: -1; filter: blur(50px); background: radial-gradient(closest-side, rgba(255, 71, 41, 0.38), transparent 75%); }
.glass-g img {
  width: 100%; height: auto; display: block; mix-blend-mode: screen; will-change: transform;
  -webkit-mask-image: radial-gradient(closest-side, #000 72%, transparent 100%); mask-image: radial-gradient(closest-side, #000 72%, transparent 100%);
  transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg)); transition: transform 0.25s var(--ease);
  animation: floaty 7s ease-in-out infinite;
}
@keyframes floaty { 50% { translate: 0 -10px; } }
@media (prefers-reduced-motion: reduce) { .glass-g img { animation: none; } }

/* =====================================================================
   SISTEMA DE VIDRIO — la misma receta de los botones aplicada a todo:
   fondo translúcido + desenfoque/saturación + canto fino que brilla en dos
   esquinas. Sin refracción SVG aquí (se estiraría en superficies grandes).
   ===================================================================== */
:root { --rim: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.12) 26%, rgba(255, 255, 255, 0.04) 50%, rgba(255, 255, 255, 0.12) 74%, rgba(255, 255, 255, 0.7)); }

/* Menú: píldora flotante de vidrio */
.nav {
  top: 14px; left: clamp(12px, 3vw, 40px); right: clamp(12px, 3vw, 40px); padding: 9px 10px 9px 20px; border-radius: 999px;
  background: rgba(255, 255, 255, 0.06); border: 0;
  -webkit-backdrop-filter: blur(22px) saturate(1.8) brightness(1.08); backdrop-filter: blur(22px) saturate(1.8) brightness(1.08);
  box-shadow: 0 14px 50px -20px rgba(0, 0, 0, 0.9), inset 0 0 30px rgba(255, 255, 255, 0.03);
}
.nav::before { content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; background: var(--rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude; }
.nav.scrolled { background: rgba(255, 255, 255, 0.08); border: 0; }
.nav.scrolled::after { content: none; }

/* Tarjetas (proyectos, servicios, paquetes) */
.card, .project {
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.02) 60%), rgba(8, 8, 10, 0.35);
  -webkit-backdrop-filter: blur(20px) saturate(1.7); backdrop-filter: blur(20px) saturate(1.7);
  box-shadow: 0 24px 70px -34px rgba(0, 0, 0, 0.95), inset 0 0 44px rgba(255, 255, 255, 0.025);
}
.card::before, .project::before {
  background:
    radial-gradient(240px circle at var(--mx) var(--my), rgba(255, 128, 88, 0.95), transparent 70%),
    var(--rim);
}
.card::after, .project::after { background: radial-gradient(360px circle at var(--mx) var(--my), rgba(255, 255, 255, 0.07), rgba(255, 71, 41, 0.06) 45%, transparent 70%); }
.project-media { border-radius: 0; }

/* Paquete destacado: vidrio teñido y una luz que recorre el canto */
.pkg.featured {
  background: radial-gradient(90% 60% at 50% 0%, rgba(255, 71, 41, 0.28), rgba(255, 71, 41, 0.05) 65%, transparent), rgba(8, 8, 10, 0.4);
}
.pkg.featured::before {
  padding: 1.2px;
  background: conic-gradient(from var(--ang), rgba(255, 255, 255, 0.95), rgba(255, 96, 52, 0.95) 12%, rgba(255, 255, 255, 0.08) 38%, rgba(255, 255, 255, 0.08) 62%, rgba(255, 96, 52, 0.95) 88%, rgba(255, 255, 255, 0.95));
}

/* Piezas de Diseño */
.work-media { border-color: transparent; -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); }
.work-media::after {
  content: ''; position: absolute; inset: 0; border-radius: inherit; padding: 1px; pointer-events: none; z-index: 3; background: var(--rim);
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0); -webkit-mask-composite: xor; mask-composite: exclude;
}
.work:hover .work-media { border-color: transparent; box-shadow: 0 24px 64px -22px rgba(255, 71, 41, 0.5); }
.work-badge { background: rgba(255, 255, 255, 0.1); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }
.live-badge { background: rgba(255, 255, 255, 0.1); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22); }

/* Filtros */
.tabs { background: rgba(255, 255, 255, 0.07); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); -webkit-backdrop-filter: blur(18px) saturate(1.6); backdrop-filter: blur(18px) saturate(1.6); }

/* Gradient Studio: panel de vidrio sobre el lienzo */
.studio-panel { background: rgba(14, 14, 16, 0.55); -webkit-backdrop-filter: blur(28px) saturate(1.7); backdrop-filter: blur(28px) saturate(1.7); border-left: 0; box-shadow: inset 1px 0 0 rgba(255, 255, 255, 0.14); }
.seg { background: rgba(255, 255, 255, 0.06); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
.chip, .mini { background: rgba(255, 255, 255, 0.07); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); }
.studio-hint { background: rgba(255, 255, 255, 0.08); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.18); }
@media (max-width: 860px) { .studio-panel { box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.14); } }

/* Visor */
.lb-btn, .studio-close { background: rgba(255, 255, 255, 0.08); border: 0; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); }

/* Dispersión cromática en el texto con degradado: el borde se separa en azul y rojo, como el lente de la imagen */
.hero-title em, .manifesto-text .w.k.on {
  filter: drop-shadow(-1.6px 0 0 rgba(70, 110, 255, 0.75)) drop-shadow(1.6px 0 0 rgba(255, 40, 70, 0.45));
}
.hero-title em {
  background: linear-gradient(100deg, #ff7a30, #ff4729 40%, #ff2a3a 75%, #ff7a30);
  background-size: 220% 100%; -webkit-background-clip: text; background-clip: text;
}

/* Servicios en 2x2 + enlace de tarjeta */
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.card .more { display: inline-block; margin-top: 18px; color: var(--text); font-weight: 500; border-bottom: 1px solid rgba(255, 255, 255, 0.25); transition: color 0.3s, border-color 0.3s; }
.card .more:hover { color: var(--g-orange); border-color: var(--g-orange); }
/* Filtros: caben todas las categorías; en pantallas angostas se desplazan */
.tabs { max-width: 100%; overflow-x: auto; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tab { white-space: nowrap; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }

/* Interruptor de idioma ES / EN (vidrio) */
.lang { display: inline-flex; gap: 2px; padding: 3px; border-radius: 999px; background: rgba(255, 255, 255, 0.07); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.14); margin-right: -10px; }
.lang button { font-family: var(--mono); font-size: 0.7rem; letter-spacing: 0.1em; color: var(--muted); background: transparent; border: 0; border-radius: 999px; padding: 6px 11px; cursor: pointer; transition: color 0.3s, background 0.3s; }
.lang button:hover { color: var(--text); }
.lang button.on { color: #fff; background: linear-gradient(180deg, rgba(255, 96, 52, 0.85), rgba(255, 62, 28, 0.75)); box-shadow: 0 4px 14px -6px rgba(255, 71, 41, 0.8), inset 0 0 0 1px rgba(255, 255, 255, 0.2); }
@media (max-width: 860px) { .lang { margin-right: 0; } .nav-links { gap: 12px; } }

/* Precio: «Desde» pequeño + valor grande */
.pkg .price { display: flex; flex-direction: column; gap: 2px; }
.pkg .price small { font-family: var(--mono); font-size: 0.72rem; letter-spacing: 0.14em; text-transform: uppercase; color: var(--muted); font-weight: 400; }

/* Enlaces de contacto secundarios */
.cta-links { display: flex; align-items: center; justify-content: center; gap: 12px; color: var(--muted); }
.footer a:not([href="#top"]) { color: var(--muted); transition: color 0.3s; }
.footer a:not([href="#top"]):hover { color: var(--text); }
@media (max-width: 560px) { .footer { flex-wrap: wrap; gap: 10px; } }

/* Menú en pantallas pequeñas: compacto y sin partir el texto del botón */
.btn-sm { white-space: nowrap; }
@media (max-width: 560px) {
  .nav { padding: 8px 8px 8px 14px; top: 10px; left: 10px; right: 10px; }
  .nav-logo { gap: 8px; }
  .nav-logo img { width: 24px; height: 24px; }
  .nav-logo span { font-size: 0.88rem; }
  .nav-links { gap: 8px; }
  .lang button { padding: 5px 8px; font-size: 0.66rem; }
  .btn-sm { padding: 8px 14px; font-size: 0.8rem; }
}
@media (max-width: 400px) { .nav-logo span { display: none; } }

/* Móvil: el hero reserva un espacio para la G encima del texto (así nunca queda bajo el menú) */
@media (max-width: 860px) {
  .hero-inner { padding-top: 250px; padding-bottom: clamp(64px, 10vh, 110px); }
}

/* Transición hero → escena: la escena sube para que la frase entre sobre el final del hero */
.build { margin-top: -22vh; position: relative; z-index: 3; }
.build-text .manifesto-text, .build-text > .eyebrow { transform-origin: 0 0; will-change: transform, opacity; }
/* mientras entra, las palabras apagadas se ven casi blancas (--entry 1→0) y se apagan al asentarse */
.manifesto-text .w:not(.on) { color: rgba(255, 255, 255, calc(0.16 + var(--entry, 0) * 0.74)); }

/* Escena sin pasos: la frase manda y la escena es más corta */
.build { height: 240vh; }
.build-text .manifesto-text { font-size: clamp(1.5rem, 3.1vw, 2.7rem); max-width: 20em; margin-bottom: 0; }
@media (max-width: 860px) {
  .build { height: 220vh; }
  .build-text .manifesto-text { font-size: clamp(1.25rem, 5.2vw, 1.7rem); }
}

.hero-gl, .hero-gl canvas { position: absolute; inset: 0; width: 100%; height: 100%; }

/* el texto gigante y borroso de la entrada no se corta en la caja de la escena: desborda y se recorta solo en el borde de la pantalla */
.build { overflow-x: clip; }
.build-stage { overflow: visible; }

/* menos aire entre secciones: se llega antes a los paquetes */
.section { padding: clamp(60px, 9vw, 108px) 0; }

/* Servicios y paquetes en una sola sección: 3 paquetes web + columna con los servicios de diseño */
#servicios { background: radial-gradient(55% 45% at 50% 0%, rgba(255, 71, 41, 0.14), transparent 70%), radial-gradient(45% 40% at 0% 100%, rgba(100, 96, 255, 0.12), transparent 70%), radial-gradient(40% 40% at 100% 90%, rgba(255, 110, 50, 0.10), transparent 70%); }
.offer { display: grid; grid-template-columns: minmax(0, 3fr) minmax(210px, 1fr); gap: 20px; align-items: stretch; }
.offer-packages { align-items: stretch; }
.offer-design { display: grid; grid-template-rows: repeat(3, 1fr); gap: 20px; }
.tile { display: flex; flex-direction: column; padding: 26px 26px 22px; color: inherit; }
.tile h3 { font-size: 1.45rem; letter-spacing: -0.03em; margin: 0 0 8px; }
.tile p { color: var(--muted); font-size: 0.92rem; line-height: 1.45; }
.tile-more { margin-top: auto; padding-top: 14px; color: var(--text); font-weight: 500; font-size: 0.9rem; transition: color 0.3s; }
.tile:hover .tile-more { color: var(--g-orange); }
@media (max-width: 1280px) {
  .offer { grid-template-columns: 1fr; }
  .offer-design { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 860px) {
  .offer-packages { grid-template-columns: 1fr; }
  .offer-design { grid-template-columns: 1fr; }
}

/* Servicios y paquetes: sección más ancha para que las tarjetas respiren */
#servicios .wrap { width: min(1440px, 100% - 48px); }
.offer { grid-template-columns: minmax(0, 3fr) minmax(320px, 1fr); }
.tile-foot { margin-top: auto; padding-top: 14px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.tile-foot .tile-more { margin-top: 0; padding-top: 0; }
@media (max-width: 1280px) { .offer { grid-template-columns: 1fr; } .offer-design { grid-template-rows: none; grid-template-columns: repeat(3, 1fr); } }
/* celular: todo en una columna (va después de la regla de 1280px para que no la pise) */
@media (max-width: 860px) {
  .offer-packages { grid-template-columns: 1fr; }
  .offer-design { grid-template-columns: 1fr; }
}
