/* Landing apux · referencia: grafito, luz violeta, coral en botones principales. */
:root {
  --graphite: #0f1014;
  --panel: #171820;
  --panel-2: #1d1f29;
  --line: rgba(255, 255, 255, 0.09);
  --ink: #ffffff;
  --muted: #a7abbb;
  --coral: #ff6b5e;
  --coral-2: #ff8a7f;
  --violet: #7c5cff;
  --violet-2: #b294ff;
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
}

body.lp {
  background: var(--graphite);
  color: var(--ink);
  font-family: "Sora", system-ui, -apple-system, "Segoe UI", sans-serif;
  background-image: none;
}
body.lp h1, body.lp h2, body.lp h3 { font-family: "Sora", system-ui, sans-serif; font-weight: 600; letter-spacing: -0.02em; }
body.lp .grain { opacity: 0.035; }

/* ---------- Navegación ---------- */
.lp-nav {
  pointer-events: auto; width: min(1080px, 100%); display: flex; align-items: center; justify-content: space-between; gap: 1.5rem;
  padding: 0.5rem 0.5rem 0.5rem 1.1rem; border-radius: 999px;
  background: rgba(15, 16, 20, 0.7); border: 1px solid var(--line);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
}
.lp-brand { display: inline-flex; align-items: center; gap: 0.5rem; font-weight: 700; font-size: 1rem; }
.lp-brand svg { width: 22px; height: 22px; color: var(--violet-2); }
.lp-links { display: flex; gap: 1.6rem; color: var(--muted); font-size: 0.93rem; }
.lp-links a:hover { color: var(--ink); }
@media (max-width: 760px) { .lp-links { display: none; } }

/* ---------- Botones ---------- */
.btn-coral, .btn-line {
  display: inline-flex; align-items: center; gap: 0.7rem; border-radius: 999px; font-weight: 600; font-size: 1rem;
  padding: 0.95rem 1.5rem; cursor: pointer; border: 0; text-decoration: none;
  transition: transform 500ms var(--ease), background 300ms var(--ease), box-shadow 300ms var(--ease);
}
.btn-coral { background: var(--coral); color: #fff; box-shadow: 0 10px 30px -10px rgba(255, 107, 94, 0.7); }
.btn-coral:hover { background: var(--coral-2); }
.btn-coral:active, .btn-line:active { transform: scale(0.98); }
.btn-coral i { font-style: normal; transition: transform 500ms var(--ease); }
.btn-coral:hover i { transform: translateX(3px); }
.btn-coral.btn-sm { padding: 0.55rem 1.1rem; font-size: 0.9rem; }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, 0.28); }
.btn-line:hover { background: rgba(255, 255, 255, 0.06); }
.btn-coral:focus-visible, .btn-line:focus-visible, a:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 2px solid var(--violet-2); outline-offset: 3px;
}

/* ---------- 1 · Portada ---------- */
.hero { position: relative; min-height: 100dvh; display: flex; align-items: center; overflow: hidden; padding: 7rem 1.25rem 3rem; }
.hero::before {
  content: ""; position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(900px 620px at 72% 48%, rgba(124, 92, 255, 0.28), transparent 62%),
    radial-gradient(520px 420px at 92% 15%, rgba(178, 148, 255, 0.16), transparent 70%);
}
.hero .net { opacity: 0.22; z-index: 0; }
.hero-grid {
  position: relative; z-index: 1; width: min(1200px, 100%); margin: 0 auto;
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: 2.5rem; align-items: center;
}
.hero h1 {
  font-size: clamp(2.6rem, 5.4vw, 4.9rem); line-height: 1.02; letter-spacing: -0.035em; font-weight: 700;
}
.hero h1::after { content: "."; color: var(--coral); }
.hero .lead { margin-top: 1.4rem; font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--muted); max-width: 34ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.chips { list-style: none; padding: 0; margin: 2.6rem 0 0; display: flex; flex-wrap: wrap; gap: 0.6rem 1.4rem; }
.chips li { color: var(--muted); font-size: 0.85rem; position: relative; padding-left: 1.2rem; }
.chips li::before { content: ""; position: absolute; left: 0; top: 0.45em; width: 6px; height: 6px; border-radius: 50%; background: var(--violet-2); box-shadow: 0 0 10px var(--violet); }
.eyebrow[hidden] { display: none; }

/* Pantallas ilustrativas */
.hero-visual { position: relative; margin: 0; min-height: 420px; }
.laptop { position: relative; width: 100%; max-width: 620px; margin-left: auto; transform: perspective(1200px) rotateY(-6deg) rotateX(3deg); }
.laptop-screen {
  background: #0b0c10; border-radius: 16px 16px 6px 6px; padding: 10px; border: 1px solid #2b2d38;
  box-shadow: 0 40px 80px -30px rgba(124, 92, 255, 0.55), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  aspect-ratio: 16 / 10; overflow: hidden;
}
.laptop-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center; border-radius: 6px; }
.laptop-base { height: 14px; margin: 0 -6%; border-radius: 0 0 22px 22px; background: linear-gradient(#2d2f3a, #171820); box-shadow: 0 18px 30px -12px rgba(0, 0, 0, 0.7); }
.ls-side { background: #13141b; border-radius: 10px; padding: 14px 10px; display: flex; flex-direction: column; gap: 8px; }
.ls-logo { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, var(--violet), var(--violet-2)); margin-bottom: 8px; }
.ls-item { font-size: 11px; color: var(--muted); padding: 6px 8px; border-radius: 8px; }
.ls-item.on { background: var(--violet); color: #fff; }
.ls-main { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.ls-title { font-size: 13px; font-weight: 600; margin: 4px 0 2px; }
.ls-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.ls-kpis > div { background: var(--panel-2); border-radius: 10px; padding: 8px; display: flex; flex-direction: column; gap: 2px; }
.ls-kpis small { font-size: 9px; color: var(--muted); }
.ls-kpis b { font-size: 16px; }
.ls-kpis b.ok { color: #6ee7a6; font-size: 13px; }
.ls-kpis em { font-size: 9px; color: var(--muted); font-style: normal; }
.ls-sub { font-size: 11px; color: var(--muted); margin: 4px 0 0; }
.ls-row { display: flex; justify-content: space-between; align-items: center; background: var(--panel-2); border-radius: 8px; padding: 7px 10px; font-size: 11px; }
.ls-row em { font-style: normal; font-size: 10px; padding: 2px 8px; border-radius: 999px; }
.ls-row em.amber { background: rgba(255, 196, 92, 0.15); color: #ffc45c; }
.ls-row em.violet { background: rgba(124, 92, 255, 0.2); color: var(--violet-2); }
.ls-row em.gray { background: rgba(255, 255, 255, 0.07); color: var(--muted); }

.phone {
  position: absolute; right: 2%; bottom: -6%; width: min(190px, 36%); aspect-ratio: 9 / 19; border-radius: 30px;
  background: #07080b; border: 7px solid #22242e; padding: 6px;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.8), 0 0 60px -10px rgba(255, 107, 94, 0.25);
}
.phone-screen { height: 100%; border-radius: 22px; overflow: hidden; background: #15161d; }
.phone-screen img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: 50% 0; }
.ph-title { font-size: 17px; font-weight: 700; margin: 0 0 8px; line-height: 1.2; }
.ph-field { background: rgba(255, 255, 255, 0.07); border-radius: 12px; padding: 9px 12px; display: flex; flex-direction: column; gap: 2px; }
.ph-field small { font-size: 9px; color: var(--muted); }
.ph-field span { font-size: 12px; }
.ph-btn { margin-top: auto; background: var(--coral); color: #fff; border-radius: 999px; text-align: center; font-size: 12px; font-weight: 600; padding: 10px; }
.mock-note { position: absolute; left: 0; bottom: -2.6rem; font-size: 0.75rem; color: var(--muted); margin: 0; }

/* ---------- Secciones ---------- */
.section { position: relative; max-width: 1200px; margin: 0 auto; padding: 6rem 1.25rem; scroll-margin-top: 4.5rem; }
.sec-h { margin-bottom: 2.6rem; }
.kicker { display: inline-flex; align-items: center; gap: 0.6rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; text-transform: uppercase; color: var(--coral); margin: 0 0 0.9rem; }
.kicker::before { content: ""; width: 26px; height: 3px; border-radius: 3px; background: var(--coral); }
.sec-h h2, .cta-copy h2 { font-size: clamp(2rem, 4vw, 3.1rem); line-height: 1.1; letter-spacing: -0.03em; }

/* 2 · Proyectos destacados */
.pj-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.pj {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; overflow: hidden; display: flex; flex-direction: column;
  transition: transform 600ms var(--ease), border-color 400ms var(--ease);
}
.pj:hover { transform: translateY(-4px); border-color: rgba(178, 148, 255, 0.35); }
.pj-img {
  position: relative; height: 220px; padding: 1.1rem 1.1rem 0; overflow: hidden;
  background: radial-gradient(260px 180px at 50% 0%, rgba(124, 92, 255, 0.35), transparent 70%), #13141b;
}
.pj-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; border-radius: 12px 12px 0 0; }
.mini { background: #0b0c10; border: 1px solid #2b2d38; border-radius: 12px 12px 0 0; height: 100%; display: grid; grid-template-columns: 30% 1fr; overflow: hidden; }
.mini-side { background: #13141b; padding: 10px 8px; display: flex; flex-direction: column; gap: 6px; }
.mini-side span { font-size: 9px; color: var(--muted); padding: 4px 6px; border-radius: 6px; }
.mini-side span.on { background: var(--violet); color: #fff; }
.mini-main { padding: 10px; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.mini-main b { font-size: 11px; font-weight: 600; }
.mini-row { display: flex; align-items: center; gap: 8px; background: var(--panel-2); border-radius: 8px; padding: 6px 8px; font-size: 9px; }
.mini-kpis { display: grid; grid-template-columns: repeat(3, 1fr); gap: 5px; }
.mini-kpis > div { background: var(--panel-2); border-radius: 8px; padding: 5px 7px; }
.mini-kpis small { display: block; font-size: 8px; color: var(--muted); }
.mini-kpis strong { font-size: 11px; font-weight: 600; }
.mini-row i.a { background: linear-gradient(135deg, #ffc45c, #e8962e); }
.mini-row i { width: 22px; height: 22px; border-radius: 6px; background: linear-gradient(135deg, #ff9a7a, #ff6b5e); flex-shrink: 0; }
.mini-row i.v { background: linear-gradient(135deg, var(--violet), var(--violet-2)); }
.mini-row i.g { background: linear-gradient(135deg, #3ddc97, #1f9e6b); }
.mini-row span { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mini-row em { font-style: normal; color: var(--muted); }
.pj-img .tag-ill { position: absolute; top: 0.6rem; right: 0.7rem; font-size: 0.62rem; color: var(--muted); background: rgba(0, 0, 0, 0.45); padding: 3px 8px; border-radius: 999px; }
.pj-body { padding: 1.2rem 1.3rem 1.4rem; display: flex; align-items: center; justify-content: space-between; gap: 1rem; }
.pj-body h3 { font-size: 1.2rem; }
.pj-body p { color: var(--muted); font-size: 0.92rem; margin-top: 0.25rem; }
.pj-arrow { flex-shrink: 0; width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: var(--coral); color: #fff; text-decoration: none; font-size: 1.1rem; transition: transform 500ms var(--ease); }
.pj-arrow:hover { transform: translateX(3px) rotate(-8deg); }
.pj-arrow[aria-disabled="true"] { background: rgba(255, 255, 255, 0.1); color: var(--muted); pointer-events: none; }

/* Catálogo completo */
.catalog { margin-top: 2.4rem; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); padding: 0 1.25rem 1.25rem; }
.catalog summary {
  list-style: none; cursor: pointer; padding: 1.1rem 0.2rem; display: flex; justify-content: space-between; align-items: center; font-weight: 600; color: var(--ink);
}
.catalog summary::-webkit-details-marker { display: none; }
.catalog summary::after { content: "+"; font-size: 1.4rem; color: var(--coral); transition: transform 400ms var(--ease); }
.catalog[open] summary::after { transform: rotate(45deg); }
.catalog .bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; grid-auto-flow: dense; }
.catalog .card { grid-column: span 1; }
.catalog .card.feat { grid-column: span 1; }
.catalog .card .core { background: var(--panel-2); }

/* 3 · Servicios */
.sv-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.25rem; }
.sv {
  background: var(--panel); border: 1px solid var(--line); border-radius: 22px; padding: 1.8rem;
  display: flex; flex-direction: column; gap: 0.9rem;
}
.sv-icon { width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; background: rgba(124, 92, 255, 0.14); color: var(--violet-2); }
.sv-icon svg { width: 26px; height: 26px; }
.sv h3 { font-size: 1.3rem; }
.sv p { color: var(--muted); font-size: 0.95rem; }
.sv .ex { margin-top: auto; padding-top: 1rem; border-top: 1px solid var(--line); font-size: 0.9rem; color: #e9e9f1; }
.sv .ex b { color: var(--coral); font-weight: 600; display: block; font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.35rem; }

/* 4 · Proceso */
.steps { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem; position: relative; counter-reset: st; }
.steps::before { content: ""; position: absolute; left: 6%; right: 6%; top: 28px; height: 2px; background: linear-gradient(90deg, var(--coral), var(--violet), var(--violet-2)); opacity: 0.55; }
.steps li { position: relative; text-align: center; padding: 0 0.5rem; }
.steps li::before { content: none; display: none; }

/* Plantilla ilustrativa del Muro de eventos */
.tpl-muro { height: 100%; display: grid; place-items: center; background: #0b0c10; }
.tpl-tv { width: 86%; height: 76%; border-radius: 10px; border: 2px solid #2b2d38; background: #13141b; padding: 10px; display: grid; grid-template-columns: 1fr 32%; gap: 8px; box-shadow: 0 0 40px -12px rgba(124, 92, 255, 0.5); }
.tpl-grid { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 1fr; gap: 6px; }
.tpl-grid i { border-radius: 6px; background: linear-gradient(135deg, var(--violet), var(--violet-2)); opacity: 0.8; }
.tpl-grid i:nth-child(2), .tpl-grid i:nth-child(5) { background: linear-gradient(135deg, #ff9a7a, var(--coral)); }
.tpl-grid i:nth-child(3) { background: linear-gradient(135deg, #3ddc97, #1f9e6b); }
.tpl-side { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; }
.tpl-qr { width: 100%; aspect-ratio: 1; border-radius: 6px; background: #fff; background-image: conic-gradient(#0b0c10 25%, transparent 0 50%, #0b0c10 0 75%, transparent 0); background-size: 25% 25%; opacity: 0.9; }
.tpl-side p { margin: 0; font-size: 9px; color: var(--muted); text-align: center; line-height: 1.3; }

/* Plantilla de panel de caja */
.tpl-caja { height: 100%; display: grid; grid-template-columns: 1fr 36%; gap: 10px; padding: 16px; background: #0b0c10; }
.tpl-prods { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 1fr; gap: 7px; }
.tpl-prods i { border-radius: 8px; background: linear-gradient(135deg, var(--violet), var(--violet-2)); opacity: 0.8; }
.tpl-prods i:nth-child(3n+2) { background: linear-gradient(135deg, #ff9a7a, var(--coral)); }
.tpl-prods i:nth-child(4), .tpl-prods i:nth-child(8) { background: linear-gradient(135deg, #3ddc97, #1f9e6b); }
.tpl-ticket { background: #13141b; border: 1px solid #2b2d38; border-radius: 10px; padding: 10px; display: flex; flex-direction: column; gap: 7px; }
.tpl-ticket p { margin: 0 0 4px; font-size: 10px; color: var(--muted); }
.tpl-ticket span { height: 6px; background: #2b2d38; border-radius: 3px; }
.tpl-ticket b { margin-top: auto; font-size: 12px; color: var(--ink); }
.tpl-ticket em { font-style: normal; background: var(--coral); color: #fff; text-align: center; border-radius: 999px; padding: 5px; font-size: 10px; font-weight: 600; }

/* Plantilla de planilla de fotos (estilo Instagram) */
.tpl-planilla { height: 100%; display: flex; flex-direction: column; gap: 10px; padding: 14px; background: #0b0c10; }
.tpl-ig-top { display: flex; align-items: center; gap: 9px; }
.tpl-ig-top .av { width: 34px; height: 34px; border-radius: 50%; background: linear-gradient(135deg, var(--coral), var(--violet)); flex-shrink: 0; }
.tpl-ig-top b { display: block; font-size: 12px; color: var(--ink); }
.tpl-ig-top small { font-size: 10px; color: var(--muted); }
.tpl-ig-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 3px; flex: 1; align-content: start; }
.tpl-ig-grid i { aspect-ratio: 1; background: linear-gradient(135deg, var(--violet), var(--violet-2)); }
.tpl-ig-grid i:nth-child(2), .tpl-ig-grid i:nth-child(6) { background: linear-gradient(135deg, #ff9a7a, var(--coral)); }
.tpl-ig-grid i:nth-child(4), .tpl-ig-grid i:nth-child(8) { background: linear-gradient(135deg, #3ddc97, #1f9e6b); }
.tpl-ig-grid i:nth-child(5) { background: linear-gradient(135deg, #ffc45c, #e8962e); }
.st-icon { position: relative; z-index: 1; width: 58px; height: 58px; margin: 0 auto 1.2rem; border-radius: 50%; display: grid; place-items: center; background: var(--graphite); border: 2px solid rgba(178, 148, 255, 0.5); color: var(--violet-2); box-shadow: 0 0 24px -4px rgba(124, 92, 255, 0.6); }
.st-icon svg { width: 24px; height: 24px; }
.steps li:nth-child(1) .st-icon, .steps li:nth-child(4) .st-icon { border-color: rgba(255, 107, 94, 0.6); color: var(--coral); box-shadow: 0 0 24px -4px rgba(255, 107, 94, 0.5); }
.steps h3 { font-size: 1.1rem; margin-bottom: 0.4rem; }
.steps p { color: var(--muted); font-size: 0.9rem; }

/* 5 · Cotización */
.cta { padding-bottom: 7rem; }
.cta-card {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: start;
  border-radius: 28px; padding: clamp(1.8rem, 4vw, 3.2rem); position: relative; overflow: hidden;
  background:
    radial-gradient(520px 320px at 100% 0%, rgba(255, 107, 94, 0.22), transparent 70%),
    linear-gradient(160deg, #1c1d28, #13141b);
  border: 1px solid var(--line);
}
.cta-copy p { color: var(--muted); margin-top: 1rem; max-width: 46ch; }
.contact { list-style: none; padding: 0; margin: 2rem 0 0; display: grid; gap: 0.7rem; }
.contact li { display: flex; justify-content: space-between; gap: 1rem; padding: 0.85rem 1.1rem; border-radius: 14px; background: rgba(255, 255, 255, 0.04); border: 1px solid var(--line); }
.contact span { color: var(--muted); font-size: 0.88rem; }
.contact a, .contact b { font-weight: 600; }
.contact a:hover { color: var(--coral-2); }
.contact li[hidden] { display: none; }
.lp-form { display: grid; gap: 1rem; align-content: start; }
.lp-form h3 { font-size: 1.25rem; }
.lp-form label { display: grid; gap: 0.4rem; font-size: 0.85rem; color: var(--muted); }
.lp-form input, .lp-form textarea {
  font: inherit; font-size: 0.97rem; color: var(--ink); background: rgba(10, 11, 14, 0.7); border: 1px solid var(--line);
  border-radius: 14px; padding: 0.85rem 1rem; resize: vertical; transition: border-color 300ms var(--ease);
}
.lp-form input:focus, .lp-form textarea:focus { border-color: rgba(255, 107, 94, 0.6); outline: none; }
.lp-form .btn-coral { justify-self: start; }
.lp-form .msg { font-size: 0.9rem; color: #7ef0c0; min-height: 1.2em; }
.lp-form .msg a { text-decoration: underline; }
.lp-form .note { font-size: 0.8rem; color: var(--muted); }

.foot { display: flex; flex-wrap: wrap; gap: 1rem 2rem; justify-content: space-between; padding: 2.5rem 1.25rem; max-width: 1200px; margin: 0 auto; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.85rem; }

/* ---------- Responsive ---------- */
@media (max-width: 1000px) {
  .pj-grid, .sv-grid, .catalog .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 2.2rem; }
  .steps::before { display: none; }
  .cta-card { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
  .hero-grid { grid-template-columns: 1fr; gap: 3rem; }
  .hero { min-height: auto; padding: 6.5rem 1.1rem 3.5rem; align-items: flex-start; }
  .hero-visual { min-height: 0; }
  .laptop { margin: 0 auto; transform: none; max-width: 100%; }
  .phone { right: 4%; bottom: -10%; width: 34%; }
  .mock-note { position: static; margin-top: 2.6rem; text-align: center; }
  .chips { margin-top: 2rem; }
}
@media (max-width: 640px) {
  .section { padding: 4.5rem 1rem; }
  .pj-grid, .sv-grid, .catalog .bento { grid-template-columns: 1fr; }
  /* Destacados en celular: carrusel horizontal para no alargar la página */
  #highlights.pj-grid {
    display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 0.9rem;
    margin: 0 -16px; padding: 0 16px 6px; scrollbar-width: none; -webkit-overflow-scrolling: touch;
  }
  #highlights.pj-grid::-webkit-scrollbar { display: none; }
  #highlights .pj { flex: 0 0 80%; scroll-snap-align: start; }
  #highlights .pj-img { height: 170px; }
  .steps { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(2.3rem, 11vw, 3rem); }
  .hero-cta .btn-coral, .hero-cta .btn-line { width: 100%; justify-content: center; }
  .hero-cta { gap: 0.7rem; }
  .cta-card { padding: 1.6rem 1.3rem; }
  .laptop-screen { border-radius: 12px 12px 4px 4px; }
  .ls-side { padding: 10px 6px; }
  .ls-item { font-size: 9px; }
  .ls-kpis b { font-size: 13px; }
  .phone { width: 38%; right: 2%; bottom: -8%; }
  .foot { padding: 2rem 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  .pj, .btn-coral, .btn-line, .pj-arrow { transition: none; }
}

/* ---------- Ver todos los proyectos (portada) ---------- */
.more { text-align: center; margin: 2.4rem 0 0; }

/* ---------- Mazo de proyectos (portada): una tarjeta a la vez ---------- */
.deck { max-width: 560px; margin: 0 auto; }
.deck-stage { position: relative; height: 480px; touch-action: none; user-select: none; outline: none; }
.deck-stage:focus-visible { outline: 2px solid var(--violet-2); outline-offset: 8px; border-radius: 26px; }
.dk-card {
  position: absolute; top: 0; left: 50%; width: min(520px, 100%); height: 440px;
  display: flex; flex-direction: column; overflow: hidden; border-radius: 26px;
  background: var(--panel); border: 1px solid var(--line); color: var(--ink); text-decoration: none;
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.7);
  will-change: transform, opacity;
  transition: transform 700ms cubic-bezier(0.2, 0.9, 0.2, 1), opacity 500ms ease, border-color 300ms ease;
}
.dk-card:hover { border-color: rgba(178, 148, 255, 0.35); }
.dk-card .pj-img { height: 250px; flex-shrink: 0; }
.dk-card .pj-img img { border-radius: 14px 14px 0 0; }
.dk-ph { height: 100%; display: grid; place-items: center; color: var(--muted); font-size: 0.9rem; border-radius: 14px 14px 0 0; background: radial-gradient(260px 180px at 50% 0%, rgba(124, 92, 255, 0.35), transparent 70%), #13141b; }
.dk-body { padding: 1.1rem 1.4rem 1.3rem; display: flex; flex-direction: column; gap: 0.4rem; flex: 1; min-height: 0; }
.dk-body h3 { font-size: 1.35rem; margin: 0.2rem 0 0; }
.dk-body > p:last-child { color: var(--muted); font-size: 0.95rem; margin: 0; }
.dk-meta { display: flex; justify-content: space-between; gap: 0.6rem; font-size: 0.78rem; color: var(--muted); margin: 0; }
.dk-meta b { color: #6ee7a6; font-weight: 600; }
.deck-nav { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 1.2rem; }
.deck-nav button { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: var(--panel-2); color: var(--ink); font-size: 1.15rem; cursor: pointer; transition: background 300ms var(--ease); }
.deck-nav button:hover { background: var(--coral); border-color: transparent; }
#dkCount { color: var(--muted); font-size: 0.9rem; min-width: 5.5ch; text-align: center; font-variant-numeric: tabular-nums; }
.dk-hint { text-align: center; color: var(--muted); font-size: 0.82rem; margin: 0.8rem auto 0; max-width: 46ch; }
@media (max-width: 640px) {
  .deck-stage { height: 470px; }
  .dk-card { height: 430px; }
  .dk-card .pj-img { height: 210px; }
}

/* ---------- Página /proyectos ---------- */
.pg-hero { position: relative; max-width: 1200px; margin: 0 auto; padding: 8rem 1.25rem 1rem; }
.pg-hero h1 { font-size: clamp(2.2rem, 4.6vw, 3.8rem); line-height: 1.06; letter-spacing: -0.03em; font-weight: 700; max-width: 20ch; margin: 0; }
.pg-hero h1::after { content: "."; color: var(--coral); }
.pg-hero .lead { margin: 1.1rem 0 0; color: var(--muted); max-width: 52ch; font-size: clamp(1rem, 1.5vw, 1.15rem); }
.pg-hero .kicker { margin-bottom: 1.1rem; }
.sec-h .sub { color: var(--muted); margin: 0.6rem 0 0; font-size: 0.95rem; }

.casos { display: grid; gap: 2rem; }
.caso {
  display: grid; grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr); gap: 2rem; align-items: center;
  background: var(--panel); border: 1px solid var(--line); border-radius: 26px; padding: 1.2rem;
}
.caso:nth-child(even) { grid-template-columns: minmax(0, 1fr) minmax(0, 1.5fr); }
.caso:nth-child(even) .caso-img { order: 2; }
.caso-img {
  position: relative; aspect-ratio: 16 / 10; border-radius: 18px; overflow: hidden; border: 1px solid var(--line);
  background: radial-gradient(420px 260px at 50% 0%, rgba(124, 92, 255, 0.35), transparent 70%), #13141b;
}
.caso-img img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.caso-body { padding: 0.4rem 0.8rem 0.6rem; }
.caso-meta { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0; font-size: 0.8rem; color: var(--muted); }
.caso-meta span { padding: 4px 10px; border-radius: 999px; border: 1px solid var(--line); }
.caso-meta .estado { color: #6ee7a6; border-color: rgba(110, 231, 166, 0.35); }
.caso-body h3 { font-size: clamp(1.5rem, 2.6vw, 2rem); margin: 0.9rem 0 0.7rem; }
.caso-solves { margin: 0; color: #e9e9f1; line-height: 1.6; }
.caso-solves b { display: block; color: var(--coral); font-size: 0.75rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 0.4rem; }
.caso-actions { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: 0.8rem; }
.caso-actions .btn-coral, .caso-actions .btn-line { padding: 0.8rem 1.25rem; font-size: 0.95rem; }

.pj-tags { list-style: none; padding: 0; margin: 1rem 0 0; display: flex; flex-wrap: wrap; gap: 0.4rem; }
.pj-tags li { font-size: 0.75rem; color: var(--muted); background: rgba(255, 255, 255, 0.05); border-radius: 999px; padding: 3px 10px; }

.cat-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1rem; }
.pj-card { background: var(--panel); border: 1px solid var(--line); border-radius: 20px; padding: 1.3rem; display: flex; flex-direction: column; gap: 0.5rem; }
.pj-card-top { display: flex; justify-content: space-between; gap: 0.5rem; font-size: 0.75rem; color: var(--muted); }
.pj-card-top b { color: #6ee7a6; font-weight: 600; }
.pj-card h3 { font-size: 1.1rem; margin: 0.4rem 0 0; }
.pj-card p { color: var(--muted); font-size: 0.92rem; margin: 0; }
.pj-card .pj-tags { margin-top: 0.2rem; }
.pj-card a { margin-top: auto; padding-top: 0.6rem; color: var(--violet-2); text-decoration: none; font-weight: 600; font-size: 0.92rem; }
.pj-card a:hover { color: var(--ink); }
.pj-card .pj-nolink { margin-top: auto; padding-top: 0.6rem; font-size: 0.85rem; color: var(--muted); }

.pj-card { scroll-margin-top: 6rem; transition: border-color 400ms var(--ease); }
.pj-card:target { border-color: var(--violet-2); box-shadow: 0 0 0 4px rgba(178, 148, 255, 0.18); }
.pg-cta { text-align: center; padding-bottom: 6rem; }
.pg-cta p { color: var(--muted); margin: 0 0 1.4rem; font-size: 1.05rem; }

@media (max-width: 1000px) {
  .caso, .caso:nth-child(even) { grid-template-columns: 1fr; }
  .caso:nth-child(even) .caso-img { order: 0; }
  .cat-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .pg-hero { padding-top: 6.5rem; }
  .caso { padding: 0.8rem; border-radius: 20px; gap: 1.2rem; }
  .caso-body { padding: 0.2rem 0.4rem 0.4rem; }
  .cat-grid { grid-template-columns: 1fr; }
  .caso-actions .btn-coral, .caso-actions .btn-line { width: 100%; justify-content: center; }
}
