/* =========================================================
   Web Studio — estilos
   Color de acento: turquesa mar Caribe (--accent)
   ========================================================= */
:root {
  --bg: #fbfcfd;
  --surface: #ffffff;
  --ink: #0a0f14;
  --ink-2: #1c252e;
  --muted: #56626e;
  --line: #e4e9ee;
  --accent: #00c4d4;
  --accent-2: #00a3b4;
  --accent-ink: #00737f;
  --accent-soft: #e3f9fb;
  --wa: #25d366;
  --radius: 22px;
  --radius-sm: 14px;
  --shadow: 0 1px 2px rgba(10,15,20,.04), 0 12px 32px -12px rgba(10,15,20,.14);
  --shadow-lg: 0 2px 4px rgba(10,15,20,.04), 0 30px 60px -20px rgba(10,15,20,.25);
  --font-head: "Bricolage Grotesque", "Poppins", system-ui, sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --header-h: 68px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

/* ---------- Idiomas ---------- */
html[data-lang="es"] [data-l="en"],
html[data-lang="en"] [data-l="es"] { display: none !important; }

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .28s; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  animation: pageIn .45s var(--ease) both;
}
body.is-leaving { opacity: 0; transition: opacity .18s ease; }
@keyframes pageIn { from { opacity: 0; } to { opacity: 1; } }
img, svg { display: block; max-width: 100%; }
img { height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.05; letter-spacing: -.025em; margin: 0 0 .5em; font-weight: 800; }
h1 { font-size: clamp(2.5rem, 8.5vw, 4.6rem); }
h2 { font-size: clamp(2rem, 6vw, 3.1rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; font-weight: 700; }
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; border-radius: 8px; }

.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.section { padding: 84px 0; }
.section-tight { padding: 56px 0; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--accent-ink); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--accent); border-radius: 2px; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 46ch; }
.section-head { max-width: 680px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head.center .lead { margin-inline: auto; }
.mark { position: relative; white-space: nowrap; z-index: 0; }
.mark::after {
  content: ""; position: absolute; left: -.06em; right: -.06em; bottom: .06em; height: .36em;
  background: var(--accent); opacity: .55; z-index: -1; border-radius: 4px;
  transform-origin: left; animation: markIn .9s .35s var(--ease) both;
}
@keyframes markIn { from { transform: scaleX(0); } to { transform: scaleX(1); } }

/* Marcadores de contenido pendiente */
.ph {
  background: #fff4cc; color: #6b4e00; border-radius: 6px; padding: .05em .35em;
  font-weight: 600; font-family: var(--font-body); letter-spacing: 0;
}
.ph-box {
  border: 2px dashed #e7c75a; background: #fffbea; color: #6b4e00;
  border-radius: var(--radius); padding: 28px; text-align: center; font-weight: 600;
}

/* ---------- Botones ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 54px; padding: 0 26px; border-radius: 999px; border: 2px solid transparent;
  font-weight: 700; font-size: 1rem; letter-spacing: -.005em; white-space: nowrap;
  transition: transform .2s var(--ease), box-shadow .2s var(--ease), background .2s, color .2s, border-color .2s;
}
.btn svg { width: 20px; height: 20px; flex: none; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.98); }
.btn-primary { background: var(--ink); color: #fff; box-shadow: 0 10px 24px -10px rgba(10,15,20,.6); }
.btn-primary:hover { background: #000; box-shadow: 0 16px 30px -12px rgba(10,15,20,.6); }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: 0 10px 26px -10px rgba(0,196,212,.8); }
.btn-accent:hover { background: #19d6e5; }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); background: #fff; }
.btn-ghost:hover { border-color: var(--ink); }
.btn-wa { background: var(--wa); color: #06260f; box-shadow: 0 10px 26px -10px rgba(37,211,102,.8); }
.btn-wa:hover { background: #2fe072; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--ink); }
.link-arrow svg { width: 18px; height: 18px; transition: transform .2s var(--ease); }
.link-arrow:hover svg { transform: translateX(4px); }
.link-arrow:hover { color: var(--accent-ink); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(251,252,253,.82); backdrop-filter: saturate(180%) blur(14px); -webkit-backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, box-shadow .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100%; gap: 16px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-family: var(--font-head); font-weight: 800; font-size: 1.2rem; letter-spacing: -.02em; }
.brand-mark {
  width: 38px; height: 38px; border-radius: 11px; display: grid; place-items: center;
  background: var(--ink); color: var(--accent); font-size: 1.2rem; font-weight: 800;
  box-shadow: inset 0 -3px 0 rgba(0,196,212,.5);
}
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.nav-link {
  position: relative; padding: 8px 12px; border-radius: 999px; font-weight: 600; font-size: .95rem; color: var(--ink-2);
  transition: background .2s, color .2s;
}
.nav a.nav-link:hover { background: var(--accent-soft); }
.nav a.nav-link.active { background: var(--ink); color: #fff; }
.nav-actions { display: flex; align-items: center; gap: 8px; }
.lang-btn {
  display: inline-flex; align-items: center; height: 42px; padding: 4px; border-radius: 999px;
  border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .82rem;
}
.lang-btn span { padding: 6px 10px; border-radius: 999px; color: var(--muted); transition: background .2s, color .2s; }
html[data-lang="es"] .lang-btn [data-opt="es"],
html[data-lang="en"] .lang-btn [data-opt="en"] { background: var(--accent); color: var(--ink); }
.menu-btn {
  display: none; width: 46px; height: 46px; border-radius: 14px; border: 1px solid var(--line); background: #fff;
  align-items: center; justify-content: center;
}
.menu-btn span, .menu-btn span::before, .menu-btn span::after {
  display: block; width: 20px; height: 2px; background: var(--ink); border-radius: 2px; position: relative; transition: transform .25s var(--ease), background .2s;
}
.menu-btn span::before, .menu-btn span::after { content: ""; position: absolute; left: 0; }
.menu-btn span::before { top: -6px; } .menu-btn span::after { top: 6px; }
.menu-open .menu-btn span { background: transparent; }
.menu-open .menu-btn span::before { transform: translateY(6px) rotate(45deg); }
.menu-open .menu-btn span::after { transform: translateY(-6px) rotate(-45deg); }
.nav-cta { display: none; }
.header-cta { display: inline-flex; min-height: 44px; padding: 0 18px; font-size: .92rem; }

@media (max-width: 960px) {
  .menu-btn { display: inline-flex; }
  .header-cta { display: none; }
  .nav {
    position: fixed; inset: var(--header-h) 0 0 0; flex-direction: column; align-items: stretch; gap: 6px;
    padding: 24px 20px 32px; background: var(--bg);
    opacity: 0; visibility: hidden; transform: translateY(-10px);
    transition: opacity .25s var(--ease), transform .25s var(--ease), visibility .25s;
    overflow-y: auto;
  }
  .menu-open .nav { opacity: 1; visibility: visible; transform: none; }
  .nav a.nav-link { font-family: var(--font-head); font-size: 1.9rem; font-weight: 700; padding: 12px 16px; border-radius: 16px; letter-spacing: -.02em; }
  .nav-cta { display: inline-flex; margin-top: 16px; }
  body.menu-open { overflow: hidden; }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 48px 0 72px; overflow: hidden; }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background-image: linear-gradient(var(--line) 1px, transparent 1px), linear-gradient(90deg, var(--line) 1px, transparent 1px);
  background-size: 44px 44px; opacity: .55;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.blob {
  position: absolute; z-index: -1; border-radius: 50%; filter: blur(70px); opacity: .55; pointer-events: none;
  background: radial-gradient(circle, var(--accent), transparent 70%);
}
.hero .blob-1 { width: 520px; height: 520px; right: -160px; top: -120px; }
.hero .blob-2 { width: 380px; height: 380px; left: -200px; bottom: -160px; opacity: .25; background: radial-gradient(circle, #3a6bff, transparent 70%); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.pill {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px 7px 8px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); font-size: .85rem; font-weight: 600; color: var(--ink-2); box-shadow: var(--shadow);
  margin-bottom: 22px; max-width: 100%;
}
.pill .dot { width: 22px; height: 22px; border-radius: 50%; background: var(--accent-soft); display: grid; place-items: center; flex: none; }
.pill .dot::after { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--accent); animation: pulse 2s infinite; }
@keyframes pulse { 0%,100% { box-shadow: 0 0 0 0 rgba(0,196,212,.6); } 50% { box-shadow: 0 0 0 6px rgba(0,196,212,0); } }
.hero h1 { margin-bottom: 20px; }
.hero .lead { margin-bottom: 30px; }
.hero .btn-row .btn { flex: 1 1 220px; }
@media (min-width: 560px) { .hero .btn-row .btn { flex: 0 0 auto; } }

/* Mockup de celular */
.phone-stage { position: relative; display: flex; justify-content: center; padding: 10px 0 20px; }
.phone {
  position: relative; width: 270px; height: 550px; border-radius: 46px; padding: 12px;
  background: linear-gradient(145deg, #1a2129, #05080b); box-shadow: var(--shadow-lg), inset 0 0 0 2px #2b343e;
  animation: float 6s ease-in-out infinite; z-index: 1; touch-action: pan-y;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.phone:hover, .phone:focus-within { animation-play-state: paused; }
.phone::before { content: ""; position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 88px; height: 24px; border-radius: 20px; background: #05080b; z-index: 3; }
.phone-screen { position: relative; width: 100%; height: 100%; border-radius: 35px; overflow: hidden; background: #fff; }
.float-chip {
  position: absolute; z-index: 2; display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px;
  background: #fff; border-radius: 16px; box-shadow: var(--shadow-lg); font-weight: 700; font-size: .85rem; white-space: nowrap; pointer-events: none;
  animation: chip 6s ease-in-out infinite;
}
.float-chip .ic { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; background: var(--accent-soft); color: var(--accent-ink); }
.float-chip .ic svg { width: 17px; height: 17px; }
.float-chip.c1 { left: 0; top: 70px; }
.float-chip.c2 { right: 0; top: 230px; animation-delay: -2s; }
.float-chip.c3 { left: 8px; bottom: 70px; animation-delay: -4s; }
.float-chip.c2 .ic { background: #dcfce7; color: #138a3e; }
@keyframes chip { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }
@media (max-width: 400px) { .float-chip { font-size: .75rem; padding: 8px 10px; } .float-chip .ic { width: 24px; height: 24px; } .phone { width: 240px; height: 490px; } }

@media (min-width: 900px) {
  .hero { padding: 72px 0 100px; }
  .hero-grid { grid-template-columns: 1.15fr .85fr; }
  .phone-stage { min-height: 600px; align-items: center; }
  .float-chip.c1 { left: -10px; } .float-chip.c2 { right: -20px; }
}

/* Banda de ubicaciones */
.strip { border-block: 1px solid var(--line); background: #fff; overflow: hidden; }
.strip-track { display: flex; gap: 48px; padding: 18px 0; width: max-content; animation: marquee 30s linear infinite; }
.strip-track > span { display: inline-flex; align-items: center; gap: 48px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; color: var(--ink-2); }
.strip-track > span::after { content: "✦"; color: var(--accent); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Tarjetas ---------- */
.grid { display: grid; gap: 18px; }
@media (min-width: 720px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) and (max-width: 979px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .grid-4 { grid-template-columns: repeat(4, 1fr); } }
@media (min-width: 560px) and (max-width: 979px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
.card {
  position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: transparent; }
.icon-badge {
  width: 56px; height: 56px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: var(--accent-soft); color: var(--accent-ink); transition: transform .3s var(--ease), background .3s, color .3s;
}
.icon-badge svg { width: 26px; height: 26px; }
.card:hover .icon-badge { background: var(--ink); color: var(--accent); transform: rotate(-6deg) scale(1.05); }
.card p { color: var(--muted); margin-bottom: 0; }
.card-dark { background: var(--ink); color: #fff; border-color: var(--ink); }
.card-dark p { color: #b5c0ca; }
.card-dark .icon-badge { background: rgba(0,196,212,.15); color: var(--accent); }

/* Trabajos */
.work-card { display: block; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.work-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.work-thumb { position: relative; aspect-ratio: 16/11; overflow: hidden; background: #eef2f5; }
.work-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.work-card:hover .work-thumb img { transform: scale(1.06); }
.work-thumb::after {
  content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 40%, rgba(10,15,20,.65));
  opacity: 0; transition: opacity .35s var(--ease);
}
.work-card:hover .work-thumb::after { opacity: 1; }
.work-view {
  position: absolute; z-index: 2; left: 50%; bottom: 18px; transform: translate(-50%, 16px); opacity: 0;
  display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 999px; background: var(--accent); color: var(--ink);
  font-weight: 700; font-size: .9rem; transition: opacity .35s var(--ease), transform .35s var(--ease); white-space: nowrap;
}
.work-view svg { width: 16px; height: 16px; }
.work-card:hover .work-view { opacity: 1; transform: translate(-50%, 0); }
.work-body { padding: 20px 22px 22px; display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; }
.work-body h3 { margin: 0 0 4px; font-size: 1.2rem; }
.work-type { color: var(--muted); font-size: .92rem; }
.arrow-dot { width: 42px; height: 42px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; flex: none; transition: background .3s, transform .3s var(--ease), border-color .3s; }
.arrow-dot svg { width: 18px; height: 18px; transform: rotate(-45deg); }
.work-card:hover .arrow-dot { background: var(--ink); color: var(--accent); border-color: var(--ink); transform: rotate(45deg); }
.tag-sample {
  position: absolute; z-index: 2; top: 14px; left: 14px; padding: 6px 12px; border-radius: 999px;
  background: rgba(255,255,255,.92); backdrop-filter: blur(6px); font-size: .75rem; font-weight: 700; letter-spacing: .02em; color: var(--ink);
}
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 10px; margin-bottom: 24px; scrollbar-width: none; }
.filters::-webkit-scrollbar { display: none; }
.filter-btn {
  flex: none; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; font-weight: 700; font-size: .95rem;
  transition: background .2s, color .2s, border-color .2s;
}
.filter-btn:hover { border-color: var(--ink); }
.filter-btn.active { background: var(--ink); color: #fff; border-color: var(--ink); }
.work-item { transition: opacity .3s var(--ease), transform .3s var(--ease); }
.work-item.hide { display: none; }

/* Pasos */
.steps { counter-reset: s; }
.step { position: relative; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); }
.step-num {
  font-family: var(--font-head); font-weight: 800; font-size: 3.2rem; line-height: 1; margin-bottom: 18px;
  color: transparent; -webkit-text-stroke: 2px var(--ink);
}
.step:hover .step-num { color: var(--accent); -webkit-text-stroke-color: var(--accent); }
.step h3 { margin-bottom: 8px; }
.step p { color: var(--muted); margin: 0; }
.step .icon-mini { position: absolute; top: 26px; right: 26px; width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; }
.step .icon-mini svg { width: 20px; height: 20px; }

/* CTA */
.cta {
  position: relative; overflow: hidden; border-radius: 32px; background: var(--ink); color: #fff;
  padding: 56px 28px; text-align: center; isolation: isolate;
}
.cta::before { content: ""; position: absolute; width: 600px; height: 600px; left: 50%; top: -340px; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(circle, rgba(0,196,212,.55), transparent 65%); z-index: -1; }
.cta::after { content: ""; position: absolute; inset: 0; z-index: -1; opacity: .12;
  background-image: linear-gradient(#fff 1px, transparent 1px), linear-gradient(90deg, #fff 1px, transparent 1px); background-size: 40px 40px;
  mask-image: radial-gradient(ellipse at center, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at center, #000, transparent 70%); }
.cta h2 { max-width: 16ch; margin-inline: auto; }
.cta p { color: #b8c4cf; max-width: 46ch; margin: 0 auto 28px; font-size: 1.1rem; }
.cta .btn-row { justify-content: center; }
@media (min-width: 720px) { .cta { padding: 84px 48px; } }

/* Encabezado de página interna */
.page-hero { position: relative; padding: 56px 0 40px; overflow: hidden; }
.page-hero .blob { width: 460px; height: 460px; right: -180px; top: -200px; opacity: .4; }
.page-hero h1 { font-size: clamp(2.4rem, 8vw, 4.2rem); max-width: 16ch; }
.page-hero .lead { font-size: 1.15rem; }
.breadcrumb { display: inline-flex; align-items: center; gap: 8px; font-weight: 600; color: var(--muted); margin-bottom: 20px; }
.breadcrumb svg { width: 18px; height: 18px; transform: rotate(180deg); }
.breadcrumb:hover { color: var(--ink); }

/* Servicios detalle */
.service-row {
  display: grid; gap: 20px; padding: 32px 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line);
  transition: box-shadow .3s var(--ease), transform .3s var(--ease);
}
.service-row:hover { box-shadow: var(--shadow); transform: translateY(-3px); }
.service-row .icon-badge { margin: 0; width: 64px; height: 64px; border-radius: 20px; }
.service-row h3 { font-size: 1.5rem; margin-bottom: 8px; }
.service-row p { color: var(--muted); margin-bottom: 14px; }
.for-who { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-ink); margin-bottom: 10px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { padding: 6px 14px; border-radius: 999px; background: var(--bg); border: 1px solid var(--line); font-size: .88rem; font-weight: 600; }
.service-num { font-family: var(--font-head); font-weight: 800; color: var(--line); font-size: 2.6rem; line-height: 1; }
@media (min-width: 820px) {
  .service-row { grid-template-columns: 64px 1fr 1fr 60px; align-items: center; gap: 32px; padding: 36px 40px; }
  .service-row p { margin-bottom: 0; }
  .service-num { text-align: right; }
}

/* Precios */
.price-grid { display: grid; gap: 18px; align-items: stretch; }
@media (min-width: 900px) { .price-grid { grid-template-columns: repeat(3, 1fr); } }
.price-card { position: relative; display: flex; flex-direction: column; padding: 32px 28px; border-radius: 28px; background: #fff; border: 1px solid var(--line); }
.price-card.popular { background: var(--ink); color: #fff; border-color: var(--ink); box-shadow: var(--shadow-lg); }
@media (min-width: 900px) { .price-card.popular { transform: translateY(-12px); } }
.badge-pop {
  position: absolute; top: -14px; left: 28px; padding: 6px 14px; border-radius: 999px; background: var(--accent); color: var(--ink);
  font-size: .8rem; font-weight: 800; letter-spacing: .02em;
}
.price-card h3 { font-size: 1.35rem; margin-bottom: 6px; }
.price-sub { color: var(--muted); font-size: .95rem; margin-bottom: 22px; }
.popular .price-sub { color: #b5c0ca; }
.price { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; letter-spacing: -.03em; line-height: 1; margin-bottom: 6px; }
.price .ph { font-size: 1.4rem; }
.popular .price .ph { background: rgba(255,244,204,.15); color: #ffe48a; }
.price-note { font-size: .85rem; color: var(--muted); margin-bottom: 24px; }
.popular .price-note { color: #9fb0bd; }
.check-list { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list svg { flex: none; width: 22px; height: 22px; padding: 4px; border-radius: 50%; background: var(--accent-soft); color: var(--accent-ink); margin-top: 2px; }
.popular .check-list svg { background: rgba(0,196,212,.2); color: var(--accent); }
.price-card .btn { margin-top: auto; }

.changes-table { width: 100%; border-collapse: separate; border-spacing: 0; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.changes-table th, .changes-table td { text-align: left; padding: 20px 22px; vertical-align: top; border-bottom: 1px solid var(--line); }
.changes-table tr:last-child td { border-bottom: 0; }
.changes-table th { background: var(--bg); font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); }
.changes-table td:first-child { font-family: var(--font-head); font-weight: 700; font-size: 1.15rem; white-space: nowrap; }
.size-dot { display: inline-block; border-radius: 50%; background: var(--accent); margin-right: 10px; vertical-align: middle; }
.changes-table td.ex { color: var(--muted); }
@media (max-width: 680px) {
  .changes-table, .changes-table tbody, .changes-table tr, .changes-table td { display: block; width: 100%; }
  .changes-table thead { display: none; }
  .changes-table tr { padding: 18px 20px; border-bottom: 1px solid var(--line); }
  .changes-table tr:last-child { border-bottom: 0; }
  .changes-table td { padding: 4px 0; border: 0; }
  .changes-table td[data-label]::before { content: attr(data-label); display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; font-family: var(--font-body); }
}

/* FAQ */
.faq { display: grid; gap: 12px; max-width: 820px; margin: 0 auto; }
.faq details { background: #fff; border: 1px solid var(--line); border-radius: 18px; transition: border-color .2s, box-shadow .2s; }
.faq details[open] { border-color: var(--ink); box-shadow: var(--shadow); }
.faq summary {
  list-style: none; cursor: pointer; padding: 20px 22px; font-family: var(--font-head); font-weight: 700; font-size: 1.15rem;
  display: flex; justify-content: space-between; align-items: center; gap: 16px; min-height: 64px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { width: 32px; height: 32px; flex: none; border-radius: 50%; background: var(--accent-soft); position: relative; transition: transform .3s var(--ease), background .2s; }
.faq summary .plus::before, .faq summary .plus::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; background: var(--ink); transform: translate(-50%,-50%); border-radius: 2px; }
.faq summary .plus::after { transform: translate(-50%,-50%) rotate(90deg); }
.faq details[open] .plus { transform: rotate(45deg); background: var(--accent); }
.faq .answer { padding: 0 22px 22px; color: var(--muted); }
.faq .answer p:last-child { margin: 0; }

/* Nosotros */
.team { display: grid; gap: 18px; }
@media (min-width: 640px) { .team { grid-template-columns: 1fr 1fr; } }
.member { border-radius: 28px; overflow: hidden; background: #fff; border: 1px solid var(--line); }
.member-photo { aspect-ratio: 4/5; overflow: hidden; background: #eef2f5; }
.member-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.member:hover .member-photo img { transform: scale(1.04); }
.member-info { padding: 20px 22px; display: flex; justify-content: space-between; align-items: center; }
.member-info h3 { margin: 0; font-size: 1.4rem; }
.story { display: grid; gap: 32px; align-items: start; }
@media (min-width: 900px) { .story { grid-template-columns: 1fr 1fr; gap: 56px; } }
.big-quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.6rem, 4.5vw, 2.4rem); line-height: 1.15; letter-spacing: -.02em; }
.loc-list { display: grid; gap: 10px; margin-top: 24px; }
.loc { display: flex; gap: 12px; align-items: center; font-weight: 600; }
.loc .ic { width: 40px; height: 40px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-ink); display: grid; place-items: center; flex: none; }
.loc .ic svg { width: 20px; height: 20px; }

/* Detalle de trabajo */
.showcase { position: relative; padding: 32px 0 0; }
.device-pc { border-radius: 18px; background: #11171d; padding: 10px; box-shadow: var(--shadow-lg); }
.device-pc .bar { display: flex; gap: 6px; padding: 4px 6px 10px; }
.device-pc .bar i { width: 10px; height: 10px; border-radius: 50%; background: #3a444e; }
.device-pc .bar i:nth-child(1) { background: #ff5f57; } .device-pc .bar i:nth-child(2) { background: #febc2e; } .device-pc .bar i:nth-child(3) { background: #28c840; }
.device-pc img { border-radius: 8px; width: 100%; aspect-ratio: 16/10; object-fit: cover; object-position: top; }
.device-phone { width: 42%; max-width: 230px; border-radius: 34px; background: #11171d; padding: 9px; box-shadow: var(--shadow-lg); position: absolute; right: 4%; bottom: -40px; }
.device-phone img { border-radius: 26px; width: 100%; aspect-ratio: 9/19; object-fit: cover; object-position: top; }
.showcase-wrap { position: relative; padding-right: 8%; margin-bottom: 72px; }
.meta-grid { display: grid; gap: 14px; margin-bottom: 8px; }
@media (min-width: 720px) { .meta-grid { grid-template-columns: repeat(3, 1fr); } }
.meta { padding: 18px 20px; border-radius: 18px; background: #fff; border: 1px solid var(--line); }
.meta small { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .1em; color: var(--muted); font-weight: 700; margin-bottom: 4px; }
.meta strong { font-family: var(--font-head); font-size: 1.1rem; }
.detail-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .detail-grid { grid-template-columns: 1.2fr .8fr; gap: 56px; } }
.sticky-card { position: sticky; top: calc(var(--header-h) + 20px); }
.sample-banner { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 700; font-size: .85rem; margin-bottom: 18px; }
.next-work { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 28px; border-radius: var(--radius); background: #fff; border: 1px solid var(--line); transition: background .3s, color .3s; }
.next-work:hover { background: var(--ink); color: #fff; }
.next-work small { display: block; color: var(--muted); font-weight: 600; }
.next-work strong { font-family: var(--font-head); font-size: 1.6rem; letter-spacing: -.02em; }

/* Contacto */
.contact-grid { display: grid; gap: 24px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.15fr .85fr; gap: 32px; } }
.form-card { padding: 30px 24px; border-radius: 28px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
@media (min-width: 720px) { .form-card { padding: 40px; } }
.field { display: grid; gap: 8px; margin-bottom: 18px; }
.field label { font-weight: 700; font-size: .95rem; }
.field input, .field select, .field textarea {
  width: 100%; min-height: 54px; padding: 14px 16px; border-radius: 14px; border: 1.5px solid var(--line); background: var(--bg);
  font: inherit; font-size: 16px; color: var(--ink); transition: border-color .2s, box-shadow .2s, background .2s; appearance: none; -webkit-appearance: none;
}
.field select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='none' stroke='%230a0f14' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' viewBox='0 0 24 24'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 44px; }
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--accent); background: #fff; box-shadow: 0 0 0 4px rgba(0,196,212,.18); }
.form-note { font-size: .88rem; color: var(--muted); margin-top: 12px; text-align: center; }
.contact-btn { display: flex; align-items: center; gap: 16px; padding: 18px 20px; border-radius: 20px; background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s, border-color .25s; min-height: 76px; }
.contact-btn:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.contact-btn .ic { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; flex: none; }
.contact-btn .ic svg { width: 24px; height: 24px; }
.contact-btn small { display: block; color: var(--muted); font-size: .85rem; font-weight: 600; }
.contact-btn strong { font-size: 1.05rem; word-break: break-word; }
.contact-btn .go { margin-left: auto; width: 20px; height: 20px; color: var(--muted); flex: none; }
.ic-wa { background: #dcfce7; color: #138a3e; }
.ic-ig { background: #fde7f3; color: #c0267a; }
.ic-mail { background: var(--accent-soft); color: var(--accent-ink); }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: #c9d3dc; padding: 64px 0 110px; margin-top: 40px; }
.footer-grid { display: grid; gap: 36px; }
@media (min-width: 820px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; } }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-mark { background: var(--accent); color: var(--ink); box-shadow: none; }
.site-footer h4 { color: #fff; font-size: .8rem; text-transform: uppercase; letter-spacing: .14em; font-family: var(--font-body); font-weight: 700; margin-bottom: 16px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer-links a:hover { color: var(--accent); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 46px; height: 46px; border-radius: 14px; display: grid; place-items: center; background: rgba(255,255,255,.07); color: #fff; transition: background .2s, color .2s, transform .2s; }
.socials a:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.socials svg { width: 21px; height: 21px; }
.footer-bottom { margin-top: 48px; padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1); display: flex; flex-wrap: wrap; gap: 8px 24px; justify-content: space-between; font-size: .9rem; color: #8494a2; }
.footer-big { font-family: var(--font-head); font-weight: 800; font-size: clamp(3rem, 15vw, 10rem); letter-spacing: -.05em; line-height: .85; color: rgba(255,255,255,.06); margin-top: 40px; user-select: none; white-space: nowrap; overflow: hidden; }

/* Botón flotante WhatsApp */
.wa-float {
  position: fixed; right: 18px; bottom: 18px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  background: var(--wa); color: #fff; display: grid; place-items: center; box-shadow: 0 12px 28px -8px rgba(37,211,102,.7);
  transition: transform .25s var(--ease);
}
.wa-float svg { width: 30px; height: 30px; }
.wa-float::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--wa); animation: ring 2.4s infinite; }
@keyframes ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
.wa-float:hover { transform: scale(1.08); }
.wa-float .tip { position: absolute; right: 74px; white-space: nowrap; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: .85rem; font-weight: 600; opacity: 0; transform: translateX(6px); transition: .2s; pointer-events: none; }
.wa-float:hover .tip { opacity: 1; transform: none; }
.menu-open .wa-float { display: none; }

/* ---------- Animaciones al hacer scroll ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .8s var(--ease), transform .8s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }
html.no-js .reveal { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
@media (max-width: 680px) { html[data-lang="en"] .changes-table td[data-label-en]::before { content: attr(data-label-en); } }
.sample-banner svg { width: 16px; height: 16px; flex: none; }

/* Botón Volver */
.back-btn {
  display: flex; width: fit-content; align-items: center; gap: 10px; min-height: 46px; padding: 0 18px 0 6px; margin-bottom: 22px;
  border-radius: 999px; background: #fff; border: 1px solid var(--line); font-weight: 700; font-size: .95rem; color: var(--ink);
  box-shadow: var(--shadow); transition: border-color .2s, transform .2s var(--ease);
}
.back-btn svg {
  width: 34px; height: 34px; padding: 8px; border-radius: 50%; background: var(--ink); color: var(--accent);
  transform: rotate(180deg); transition: transform .25s var(--ease);
}
.back-btn:hover { border-color: var(--ink); }
.back-btn:hover svg { transform: rotate(180deg) translateX(3px); }
@media (max-width: 480px) {
  .lang-btn { font-size: .76rem; padding: 3px; height: 40px; }
  .lang-btn span { padding: 6px 8px; }
  .brand { font-size: 1.05rem; gap: 8px; }
  .brand-mark { width: 34px; height: 34px; font-size: 1.05rem; }
  .nav-actions { gap: 6px; }
  .menu-btn { width: 42px; height: 42px; }
}
@media (max-width: 370px) { .brand > span:last-child { display: none; } }

/* Menú móvil: barra desplegable vertical hacia abajo */
@media (max-width: 960px) {
  .nav {
    inset: var(--header-h) 0 auto 0; max-height: calc(var(--screen-h, 100svh) - var(--header-h)); gap: 0;
    padding: 6px 16px 20px; background: #fff; border-bottom: 1px solid var(--line); border-radius: 0 0 26px 26px;
    box-shadow: 0 30px 50px -24px rgba(10,15,20,.4);
    opacity: 1; transform: none; visibility: hidden; clip-path: inset(0 0 100% 0);
    transition: clip-path .4s var(--ease), visibility .4s;
  }
  .menu-open .nav { visibility: visible; clip-path: inset(0 0 -60px 0); }
  .nav a.nav-link {
    display: flex; justify-content: space-between; align-items: center;
    font-family: var(--font-head); font-size: 1.2rem; font-weight: 700; letter-spacing: -.01em;
    padding: 15px 12px; border-radius: 14px; border-bottom: 1px solid var(--line);
    opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease), background .2s;
  }
  .nav a.nav-link::after { content: "→"; color: var(--accent-ink); font-family: var(--font-body); }
  .nav a.nav-link.active { background: var(--accent-soft); color: var(--ink); border-bottom-color: transparent; }
  .menu-open .nav a.nav-link, .menu-open .nav .nav-cta { opacity: 1; transform: none; }
  .nav a:nth-child(2) { transition-delay: .04s; } .nav a:nth-child(3) { transition-delay: .08s; }
  .nav a:nth-child(4) { transition-delay: .12s; } .nav a:nth-child(5) { transition-delay: .16s; }
  .nav a:nth-child(6) { transition-delay: .2s; } .nav a:nth-child(7) { transition-delay: .24s; }
  .nav .nav-cta { margin-top: 14px; opacity: 0; transform: translateY(-8px); transition: opacity .3s var(--ease), transform .3s var(--ease); }
  body::after {
    content: ""; position: fixed; inset: 0; z-index: 40; background: rgba(10,15,20,.4);
    opacity: 0; pointer-events: none; transition: opacity .3s;
  }
  body.menu-open::after { opacity: 1; pointer-events: auto; }
}
.menu-open .site-header { background: #fff; }

/* Celular interactivo */
.phone-stage { flex-direction: column; align-items: center; }
.demo {
  position: absolute; inset: 0; overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none;
  font-family: var(--font-body); font-size: 12px; color: var(--ink); background: #fff; scroll-behavior: smooth;
}
.demo::-webkit-scrollbar { display: none; }
.demo:focus-visible { outline: none; }
.demo button { font: inherit; border: 0; cursor: pointer; }
.d-status { display: none; }
.d-head {
  position: sticky; top: 0; z-index: 2; display: flex; justify-content: space-between; align-items: center;
  padding: 40px 14px 8px; background: rgba(255,255,255,.94); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
}
.d-logo { font-family: var(--font-head); font-weight: 800; font-size: 13px; letter-spacing: -.02em; }
.d-actions { display: flex; gap: 6px; align-items: center; }
.d-lang { height: 26px; padding: 0 9px; border-radius: 99px; background: var(--accent-soft) !important; color: var(--accent-ink); font-weight: 800 !important; font-size: 10px !important; }
.d-burger { width: 30px; height: 26px; border-radius: 8px; background: var(--ink) !important; display: grid; place-items: center; }
.d-burger i, .d-burger i::before, .d-burger i::after { display: block; width: 12px; height: 1.5px; background: #fff; position: relative; }
.d-burger i::before, .d-burger i::after { content: ""; position: absolute; left: 0; }
.d-burger i::before { top: -4px; } .d-burger i::after { top: 4px; }
.d-hero {
  position: relative; overflow: hidden; margin: 4px 12px 0; height: 190px; border-radius: 20px; padding: 16px; color: #fff;
  display: flex; flex-direction: column; justify-content: flex-end; gap: 2px;
  background: linear-gradient(160deg, #00c4d4 0%, #0084a8 55%, #0a2a3d 100%);
}
.d-hero::before { content: ""; position: absolute; width: 170px; height: 170px; border-radius: 50%; background: rgba(255,255,255,.18); right: -50px; top: -60px; }
.d-hero::after { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 70px; opacity: .7;
  background: radial-gradient(circle at 80% 40%, #ffe48a 0 14px, transparent 15px); }
.d-hero small { position: relative; align-self: flex-start; font-size: 9px; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; background: rgba(255,255,255,.2); padding: 3px 8px; border-radius: 99px; margin-bottom: 6px; }
.d-hero strong { position: relative; font-family: var(--font-head); font-size: 21px; line-height: 1.05; letter-spacing: -.02em; }
.d-hero span { position: relative; opacity: .85; }
.d-btns { display: flex; gap: 8px; padding: 12px; }
.d-btn {
  flex: 1; height: 36px; border-radius: 99px; background: var(--ink) !important; color: #fff; font-weight: 700 !important; font-size: 11.5px !important;
  display: inline-flex; align-items: center; justify-content: center; transition: transform .15s;
}
.d-btn:active { transform: scale(.95); }
.d-wa { background: var(--wa) !important; color: #06260f; }
.d-title { font-family: var(--font-head); font-weight: 800; font-size: 15px; padding: 10px 14px 8px; scroll-margin-top: 80px; }
.d-tabs { display: flex; gap: 6px; padding: 0 12px 10px; }
.d-tabs button { height: 28px; padding: 0 12px; border-radius: 99px; background: #f1f5f7; font-weight: 700; font-size: 11px; color: var(--muted); }
.d-tabs button.active { background: var(--ink); color: #fff; }
.d-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; padding: 0 12px; }
.d-cards[hidden] { display: none; }
.d-card { display: flex; flex-direction: column; gap: 6px; padding: 7px 7px 9px; border-radius: 14px; background: #f1f5f7; text-align: left; font-weight: 700; font-size: 11.5px; transition: transform .15s, background .2s; }
.d-card:active { transform: scale(.96); }
.d-card.liked { background: var(--accent-soft); }
.d-card i { display: block; height: 62px; border-radius: 10px; }
.d-card .g1 { background: linear-gradient(135deg, #ffd6a5, #ff9f6b); }
.d-card .g2 { background: linear-gradient(135deg, #b8f2e6, #00c4d4); }
.d-card .g3 { background: linear-gradient(135deg, #c7d2fe, #6d83f2); }
.d-card .g4 { background: linear-gradient(135deg, #d9f99d, #65c466); }
.d-map {
  margin: 0 12px; height: 120px; border-radius: 16px; position: relative; overflow: hidden; display: flex; align-items: flex-end; padding: 10px;
  background: linear-gradient(90deg, transparent 47%, #fff 47% 53%, transparent 53%), linear-gradient(0deg, transparent 47%, #fff 47% 53%, transparent 53%), #dff3e6;
  background-size: 56px 56px, 56px 56px, auto;
}
.d-map::before { content: ""; position: absolute; left: 50%; top: 36%; width: 20px; height: 20px; border-radius: 50% 50% 50% 0; background: #ff5a5f; transform: translate(-50%,-50%) rotate(-45deg); box-shadow: 0 4px 10px rgba(0,0,0,.2); }
.d-qr { margin: 12px; display: flex; gap: 12px; align-items: center; background: var(--ink); color: #fff; border-radius: 16px; padding: 12px; }
.d-qr .q { width: 58px; height: 58px; flex: none; border-radius: 6px; border: 5px solid #fff; background: repeating-conic-gradient(#0a0f14 0 25%, #fff 0 50%) 0 0/12px 12px; }
.d-qr b { display: block; font-size: 13px; } .d-qr small { color: var(--accent); font-weight: 600; }
.d-foot { padding: 8px 14px 22px; text-align: center; color: var(--muted); font-size: 10px; }
.d-menu {
  position: absolute; z-index: 3; top: 80px; right: 12px; display: flex; flex-direction: column; min-width: 140px; padding: 6px;
  background: #fff; border-radius: 14px; box-shadow: 0 16px 30px -10px rgba(10,15,20,.4); animation: dIn .2s var(--ease);
}
.d-menu[hidden] { display: none; }
.d-menu button { text-align: left; padding: 10px 12px; border-radius: 10px; font-weight: 700; font-size: 12px; background: none; border: 0; cursor: pointer; }
.d-menu button:hover { background: var(--accent-soft); }
@keyframes dIn { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: none; } }
.d-toast {
  position: absolute; z-index: 4; left: 50%; bottom: 22px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none;
  background: var(--ink); color: #fff; font-size: 11.5px; font-weight: 600; padding: 8px 14px; border-radius: 99px; white-space: nowrap;
  transition: opacity .25s, transform .25s var(--ease);
}
.d-toast.show { opacity: 1; transform: translate(-50%, 0); }
.try-hint { display: inline-flex; align-items: center; gap: 8px; margin: 22px 0 0; font-weight: 700; font-size: .9rem; color: var(--accent-ink); }
.try-hint svg { width: 18px; height: 18px; animation: nudge 1.6s ease-in-out infinite; }
@keyframes nudge { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }

.phone::before { pointer-events: none; }
@media (max-width: 600px) { .float-chip { display: none; } }
/* Idioma propio del celular de ejemplo */
.phone-screen[data-demo-l="es"] [data-dl="en"],
.phone-screen[data-demo-l="en"] [data-dl="es"] { display: none; }

/* Servicios compactos en Inicio */
.svc-grid { display: grid; gap: 10px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .svc-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
@media (min-width: 980px) { .svc-grid { grid-template-columns: repeat(5, minmax(0,1fr)); gap: 14px; } }
.svc-mini {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 18px;
  background: #fff; border: 1px solid var(--line); transition: transform .25s var(--ease), box-shadow .25s var(--ease), border-color .25s;
}
.svc-mini:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: transparent; }
.svc-mini .icon-badge { width: 44px; height: 44px; border-radius: 13px; margin: 0; flex: none; }
.svc-mini .icon-badge svg { width: 21px; height: 21px; }
.svc-mini:hover .icon-badge { background: var(--ink); color: var(--accent); transform: rotate(-6deg); }
.svc-mini strong { display: block; font-family: var(--font-head); font-size: 1rem; line-height: 1.2; letter-spacing: -.01em; }
.svc-mini small { display: block; color: var(--muted); font-size: .86rem; line-height: 1.35; margin-top: 3px; }
@media (min-width: 980px) {
  .svc-mini { flex-direction: column; align-items: flex-start; padding: 20px 18px; gap: 14px; }
}

/* Lo que hace que tu página se vea bien */
.perks { margin-top: 36px; padding: 28px 22px; border-radius: 26px; background: var(--ink); color: #fff; position: relative; overflow: hidden; isolation: isolate; }
.perks::before { content: ""; position: absolute; width: 420px; height: 420px; right: -140px; top: -220px; border-radius: 50%; background: radial-gradient(circle, rgba(0,196,212,.45), transparent 65%); z-index: -1; }
.perks h3 { font-size: clamp(1.3rem, 4vw, 1.7rem); margin-bottom: 20px; }
.perk-list { display: flex; flex-wrap: wrap; gap: 10px; }
.perk {
  display: inline-flex; align-items: center; gap: 9px; padding: 10px 16px 10px 12px; border-radius: 999px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); font-weight: 600; font-size: .93rem;
  transition: background .2s, border-color .2s, transform .2s var(--ease);
}
.perk svg { width: 18px; height: 18px; color: var(--accent); flex: none; }
.perk:hover { background: rgba(0,196,212,.16); border-color: rgba(0,196,212,.5); transform: translateY(-2px); }
@media (min-width: 720px) { .perks { padding: 36px 40px; } }
@media (max-width: 559px) {
  .perk-list { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 8px; }
  .perk { border-radius: 16px; padding: 10px 10px; font-size: .84rem; line-height: 1.25; align-items: center; }
  .perk svg { width: 17px; height: 17px; }
  .perk:last-child:nth-child(odd) { grid-column: span 2; }
}
html { scroll-padding-top: calc(var(--header-h) + 12px); }

/* Ventana de trabajos (se abre desde "Ver trabajos") */
.works-modal { position: fixed; inset: 0; z-index: 80; display: flex; align-items: flex-end; justify-content: center; }
.works-modal[hidden] { display: none; }
.works-backdrop { position: absolute; inset: 0; background: rgba(10,15,20,.55); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); animation: fadeIn .25s ease both; }
.works-sheet {
  position: relative; width: 100%; max-height: calc(var(--screen-h, 100svh) * .9); overflow-y: auto; overscroll-behavior: contain;
  background: var(--bg); border-radius: 28px 28px 0 0; padding: 22px 20px 32px;
  animation: sheetUp .4s var(--ease) both;
}
.works-sheet .reveal { opacity: 1; transform: none; }
.works-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 20px; position: sticky; top: -22px; padding-top: 4px; background: var(--bg); z-index: 3; }
.works-head h2 { margin: 0; font-size: clamp(1.8rem, 5vw, 2.4rem); }
.works-close { width: 46px; height: 46px; border-radius: 50%; border: 1px solid var(--line); background: #fff; display: grid; place-items: center; flex: none; }
.works-close span { position: relative; width: 18px; height: 18px; }
.works-close span::before, .works-close span::after { content: ""; position: absolute; left: 0; top: 8px; width: 18px; height: 2px; background: var(--ink); border-radius: 2px; transform: rotate(45deg); }
.works-close span::after { transform: rotate(-45deg); }
.works-close:hover { border-color: var(--ink); }
@media (min-width: 720px) {
  .works-modal { align-items: center; padding: 24px; }
  .works-sheet { max-width: 1140px; border-radius: 28px; padding: 32px 36px 40px; }
  .works-head { top: -32px; }
}
@keyframes sheetUp { from { transform: translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
body.works-open { overflow: hidden; }
.step p b { color: var(--ink); background: var(--accent-soft); padding: 0 .3em; border-radius: 5px; }
.meta-grid.one { display: flex; } .meta-grid.one .meta { min-width: 220px; }

/* Lista de precios en Inicio */
.price-list { max-width: 820px; margin: 0 auto; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 8px; box-shadow: var(--shadow); }
.price-row { display: flex; align-items: center; gap: 14px; padding: 16px 14px; border-radius: 18px; transition: background .2s; }
.price-row + .price-row { border-top: 1px solid var(--line); }
.price-row:hover { background: var(--bg); }
.price-row .icon-badge { width: 46px; height: 46px; border-radius: 14px; margin: 0; flex: none; }
.price-row .icon-badge svg { width: 22px; height: 22px; }
.pr-name { flex: 1; min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; }
.pr-name strong { font-family: var(--font-head); font-size: 1.05rem; line-height: 1.2; letter-spacing: -.01em; width: 100%; }
.pr-name small { color: var(--muted); font-size: .85rem; }
.pr-pop { font-style: normal; font-size: .72rem; font-weight: 800; padding: 3px 9px; border-radius: 99px; background: var(--accent); color: var(--ink); }
.pr-price { flex: none; font-family: var(--font-head); font-weight: 800; font-size: 1.1rem; white-space: nowrap; }
.price-row.pop { background: var(--ink); color: #fff; border-top-color: transparent; }
.price-row.pop + .price-row { border-top-color: transparent; }
.price-row.pop .pr-name small { color: #9fb0bd; }
.price-row.pop .icon-badge { background: rgba(0,196,212,.18); color: var(--accent); }
.price-row.pop .ph { background: rgba(255,244,204,.15); color: #ffe48a; }
@media (min-width: 720px) { .price-row { padding: 18px 22px; gap: 18px; } .pr-name strong { width: auto; } }

/* Precios reales */
.cur { font-size: .45em; font-weight: 700; letter-spacing: .04em; color: var(--muted); vertical-align: middle; }
.popular .cur { color: #9fb0bd; }
.price-row.pop .cur { color: #9fb0bd; }
.ch-price { font-family: var(--font-head); font-weight: 800; font-size: 1.5rem !important; white-space: nowrap; }
.ch-price .cur { font-size: .55em; }
.ex-list { margin: 0; padding-left: 1.1em; display: grid; gap: 4px; }
.ex-list li::marker { color: var(--accent); }
.bonus { margin-top: 16px; display: flex; align-items: center; gap: 14px; padding: 18px 22px; border-radius: 20px; background: var(--accent-soft); border: 1px solid rgba(0,196,212,.35); }
.bonus p { margin: 0; font-weight: 600; }
.bonus b { color: var(--accent-ink); }
.bonus-tag { flex: none; padding: 6px 12px; border-radius: 99px; background: var(--ink); color: var(--accent); font-weight: 800; font-size: .8rem; }
@media (max-width: 680px) { .changes-table td.ch-price { padding-top: 6px; } }

/* Cambios en Inicio */
.changes-mini { max-width: 820px; margin: 20px auto 0; }
.changes-mini h3 { font-size: 1.15rem; margin: 0 0 12px; text-align: center; }
.cm-grid { display: grid; gap: 10px; grid-template-columns: repeat(2, minmax(0,1fr)); }
.cm { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-radius: 18px; background: #fff; border: 1px solid var(--line); text-align: center; }
.cm-size { font-weight: 700; font-size: .85rem; color: var(--accent-ink); text-transform: uppercase; letter-spacing: .08em; }
.cm-price { font-family: var(--font-head); font-weight: 800; font-size: 1.6rem; line-height: 1.2; }
.cm-price .cur { font-size: .5em; }
.cm-ex { font-size: .82rem; color: var(--muted); line-height: 1.35; }
.cm-bonus { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 14px 0 0; font-weight: 600; font-size: .95rem; text-align: center; }
.cm-bonus b { color: var(--accent-ink); }
@media (max-width: 520px) { .cm { padding: 12px 8px; } .cm-price { font-size: 1.3rem; } .cm-ex { font-size: .75rem; } }
.cm-grid { max-width: 560px; margin: 0 auto; }
/* En computadora la página completa va en medio; en celular va primero */
@media (min-width: 900px) {
  .price-grid > :nth-child(1) { order: 2; }
  .price-grid > :nth-child(2) { order: 1; }
  .price-grid > :nth-child(3) { order: 3; }
}

/* Lo que hace que tu página se vea bien: cuadrícula ordenada */
.perk-list { display: grid !important; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
@media (min-width: 720px) { .perk-list { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 12px; } }
.perk {
  border-radius: 16px !important; padding: 14px 16px !important; min-height: 60px;
  display: flex !important; align-items: center; gap: 12px !important; font-size: .95rem !important; line-height: 1.25 !important;
}
.perk svg { width: 34px !important; height: 34px !important; padding: 8px; border-radius: 10px; background: rgba(0,196,212,.14); }
.perk:last-child:nth-child(odd) { grid-column: auto !important; }
@media (max-width: 559px) {
  .perk { padding: 12px !important; font-size: .86rem !important; gap: 10px !important; }
  .perk svg { width: 30px !important; height: 30px !important; padding: 7px; }
  .perk:last-child:nth-child(odd) { grid-column: span 2 !important; }
}
@media (max-width: 559px) {
  .perk-list { grid-template-columns: 1fr !important; gap: 8px !important; }
  .perk { min-height: 0; padding: 10px 12px !important; font-size: .92rem !important; }
  .perk:last-child:nth-child(odd) { grid-column: auto !important; }
}

/* Botones "Me interesa" */
.interest-btn svg { width: 18px; height: 18px; }
.svc-cta .btn { min-height: 48px; padding: 0 20px; font-size: .95rem; }
@media (min-width: 820px) {
  .service-row { grid-template-columns: 64px 1fr 1fr auto !important; }
  .svc-cta { justify-self: end; }
}
@media (max-width: 819px) { .svc-cta .btn { width: 100%; } }
.pr-btn {
  flex: none; display: inline-flex; align-items: center; gap: 7px; height: 40px; padding: 0 14px; border-radius: 999px;
  background: var(--wa); color: #06260f; font-weight: 700; font-size: .85rem; white-space: nowrap; transition: transform .2s var(--ease), background .2s;
}
.pr-btn:hover { background: #2fe072; transform: translateY(-2px); }
.pr-btn svg { width: 16px; height: 16px; }
@media (max-width: 600px) {
  .price-row { flex-wrap: wrap; }
  .pr-btn { width: 100%; justify-content: center; margin-left: 60px; width: calc(100% - 60px); }
}

/* Formulario del negocio */
.biz-form { max-width: 860px; margin: 0 auto; }
.form-step { display: flex; align-items: center; gap: 12px; margin: 34px 0 18px; }
.form-step:first-child { margin-top: 0; }
.form-step h2 { font-size: clamp(1.3rem, 4vw, 1.6rem); margin: 0; }
.step-badge { width: 36px; height: 36px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--ink); color: var(--accent); font-family: var(--font-head); font-weight: 800; }
.form-grid { display: grid; gap: 0 16px; }
@media (min-width: 700px) { .form-grid { grid-template-columns: repeat(2, minmax(0,1fr)); } }
.req { color: #d6336c; }
.choice { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.choice legend { font-weight: 700; font-size: .95rem; margin-bottom: 8px; padding: 0; }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; cursor: pointer; }
.opt input { position: absolute; opacity: 0; pointer-events: none; }
.opt > span { display: inline-flex; align-items: center; min-height: 46px; padding: 0 16px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--bg); font-weight: 600; font-size: .93rem; transition: background .2s, border-color .2s, color .2s; }
.opt:hover > span { border-color: var(--ink); }
.opt input:checked + span { background: var(--ink); color: #fff; border-color: var(--ink); }
.opt input:focus-visible + span { outline: 3px solid var(--accent); outline-offset: 2px; }
.field.bad input, .field.bad textarea { border-color: #d6336c; background: #fff5f8; }
.field.bad .opt > span { border-color: #f1a7c0; }
.field.bad legend, .field.bad > label { color: #b02a5b; }
.photo-note { display: flex; gap: 10px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--accent-soft); color: var(--accent-ink); font-weight: 600; font-size: .93rem; margin: 8px 0 18px; }
.photo-note svg { width: 20px; height: 20px; flex: none; margin-top: 1px; }
.form-error { color: #b02a5b; font-weight: 700; text-align: center; margin: 0 0 12px; }
.opt > span { border-radius: 16px; padding: 10px 16px; line-height: 1.25; }
.wa-ready { margin-top: 16px; padding: 16px; border-radius: 16px; background: #ecfdf3; border: 1px solid #b7efcc; text-align: center; }
.wa-ready p { margin: 0 0 10px; font-weight: 700; color: #136c37; }
.wa-ready .btn { white-space: normal; height: auto; padding: 12px 18px; }

/* Formularios por servicio */
[data-for][hidden] { display: none !important; }
.choice fieldset { border: 0; padding: 0; margin: 0; min-width: 0; }
.field.choice { margin-bottom: 18px; display: block; }
.field:not(.need) .req { display: none; }
.biz-form { counter-reset: st; }
.form-step .step-badge::before { counter-increment: st; content: counter(st); }
.form-title span[data-for] { display: inline; }

/* ===== Celular: cuadrículas como en computadora ===== */
@media (max-width: 559px) {
  /* 4 pasos y "Por qué trabajar con nosotros": 2 y 2 */
  .grid-4 { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .grid-4 .step, .grid-4 .card { padding: 16px 14px; border-radius: 18px; }
  .step-num { font-size: 2.2rem; margin-bottom: 10px; -webkit-text-stroke-width: 1.5px; }
  .step .icon-mini { top: 14px; right: 12px; width: 32px; height: 32px; border-radius: 10px; }
  .step .icon-mini svg { width: 16px; height: 16px; }
  .step h3, .grid-4 .card h3 { font-size: 1rem; margin-bottom: 6px; }
  .step p, .grid-4 .card p { font-size: .82rem; line-height: 1.4; }
  .grid-4 .card .icon-badge { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 12px; }
  .grid-4 .card .icon-badge svg { width: 20px; height: 20px; }

  /* "Lo que hace que tu página se vea bien": 3 x 3 */
  .perks { padding: 22px 14px; }
  .perk-list { grid-template-columns: repeat(3, minmax(0,1fr)) !important; gap: 8px !important; }
  .perk { flex-direction: column; justify-content: flex-start; text-align: center; padding: 12px 6px !important; gap: 8px !important; font-size: .76rem !important; line-height: 1.25 !important; }
  .perk svg { width: 30px !important; height: 30px !important; padding: 7px; }

  /* Trabajos y fotos del equipo: 2 columnas */
  .works-sheet .grid-2, .team { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .works-sheet .work-body { padding: 12px; }
  .works-sheet .work-body h3 { font-size: .95rem; }
  .works-sheet .work-type { font-size: .78rem; }
  .works-sheet .arrow-dot { display: none; }
  .works-sheet .tag-sample { font-size: .62rem; padding: 4px 8px; top: 8px; left: 8px; }
  .member-info { padding: 12px 14px; flex-direction: column; align-items: flex-start; gap: 4px; }
  .member-info h3 { font-size: 1.1rem; }
}

/* Botón flotante de Instagram (encima del de WhatsApp) */
.ig-float {
  position: fixed; right: 18px; bottom: 92px; z-index: 60; width: 62px; height: 62px; border-radius: 50%;
  display: grid; place-items: center; color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
  box-shadow: 0 12px 28px -8px rgba(214,36,159,.6); transition: transform .25s var(--ease);
}
.ig-float svg { width: 30px; height: 30px; }
.ig-float:hover { transform: scale(1.08); }
.ig-float .tip { position: absolute; right: 74px; white-space: nowrap; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 10px; font-size: .85rem; font-weight: 600; opacity: 0; transform: translateX(6px); transition: .2s; pointer-events: none; }
.ig-float:hover .tip { opacity: 1; transform: none; }
.menu-open .ig-float { display: none; }

/* Celular: la portada ocupa toda la pantalla y el teléfono queda más abajo */
@media (max-width: 899px) {
  .hero { padding-top: 0; }
  .hero-grid > div:first-child {
    min-height: calc(var(--screen-h, 100svh) - var(--header-h));
    display: flex; flex-direction: column; justify-content: center;
    padding: 32px 0 48px;
  }
  .hero h1 { font-size: clamp(2.8rem, 12vw, 4.2rem); margin-bottom: 24px; }
  .hero .lead { font-size: 1.2rem; margin-bottom: 36px; }
  .hero .btn-row { gap: 14px; }
  .hero .btn-row .btn { min-height: 58px; }
  .hero-grid { gap: 24px; }
}
@media (max-width: 899px) and (max-height: 720px) {
  .hero-grid > div:first-child { padding: 20px 0 84px; }
  .hero h1 { font-size: clamp(2.3rem, 10.5vw, 3.2rem); margin-bottom: 16px; }
  .hero .lead { font-size: 1.05rem; margin-bottom: 24px; }
  .hero .btn-row .btn { min-height: 52px; }
}
.hint { font-weight: 500; color: var(--muted); font-size: .88rem; }

/* Celular de cada trabajo: se puede recorrer la página completa */
.phone-scroll {
  aspect-ratio: 9/19; overflow-y: auto; overscroll-behavior: contain; border-radius: 26px;
  background: #fff; scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.phone-scroll::-webkit-scrollbar { display: none; }
.phone-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.device-phone .phone-scroll img { aspect-ratio: auto; object-fit: initial; border-radius: 0; width: 100%; height: auto; display: block; }
.scroll-hint { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 0; font-weight: 700; font-size: .92rem; color: var(--accent-ink); text-align: center; }
.scroll-hint svg { width: 18px; height: 18px; flex: none; animation: nudge 1.6s ease-in-out infinite; }

/* Computadora de cada trabajo: también se puede recorrer */
.pc-scroll { aspect-ratio: 16/10; overflow-y: auto; overscroll-behavior: contain; border-radius: 8px; background: #fff; scrollbar-width: thin; }
.pc-scroll:focus-visible { outline: 3px solid var(--accent); outline-offset: 3px; }
.device-pc .pc-scroll img { aspect-ratio: auto; object-fit: initial; border-radius: 0; width: 100%; height: auto; display: block; }

/* Computadora y celular encimados: el celular siempre arriba */
.showcase-wrap .device-pc { position: relative; z-index: 1; }
.showcase-wrap .device-phone { z-index: 2; }
.scroll-hint { margin-top: 8px; }

.detail-grid > :only-child { grid-column: 1 / -1; max-width: 760px; }

/* ===== Celular: que la página no tiemble cuando aparece o se esconde la barra del navegador ===== */
html, body { overflow-x: clip; }
@media (max-width: 899px) {
  /* el desenfoque del menú de arriba se recalcula en cada movimiento: en celular usamos fondo sólido */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(251,252,253,.98); }
  /* las manchas de color difuminadas se pintan una sola vez */
  .blob { will-change: transform; transform: translateZ(0); }
  .hero::before { transform: translateZ(0); }
  /* los botones flotantes no se recalculan con la página */
  .wa-float { will-change: transform; transform: translateZ(0); }
  .wa-float:hover { transform: translateZ(0) scale(1.08); }
}
