/* ArteLan Web — secciones que alternan negro y blanco; azul eléctrico de acento.
   Manrope para títulos y texto (amable); JetBrains Mono solo en detalles de marca (etiquetas, precios, logo). */
:root {
  --mono: "JetBrains Mono", ui-monospace, Consolas, monospace;
  --sans: "Manrope", system-ui, -apple-system, "Segoe UI", sans-serif;
  --r: 16px;
  --ok: #22b573;
  --wa: #25d366;
}
.dark {
  --bg: #000; --panel: #111114; --line: #26262c;
  --fg: #f3f3f1; --body: #c4c4ca; --muted: #8e8e96;
  --acc: #4c7dff; --acc-hover: #6f97ff; --on-acc: #fff;
  background: var(--bg); color: var(--fg); color-scheme: dark;
}
.light {
  --bg: #f6f6f4; --panel: #fff; --line: #e2e2de;
  --fg: #0b0b0c; --body: #44444b; --muted: #6b6b72;
  --acc: #2f5fe6; --acc-hover: #2149c4; --on-acc: #fff;
  background: var(--bg); color: var(--fg); color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body { margin: 0; background: #000; color: #f3f3f1; font: 16px/1.65 var(--sans); -webkit-font-smoothing: antialiased; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
.wrap { width: 100%; max-width: 1140px; margin: 0 auto; padding-inline: 20px; }
.acc { color: var(--acc); }

h1, h2, h3 { margin: 0; text-wrap: balance; font-family: var(--sans); }
h1 { font-size: clamp(2.3rem, 4.6vw, 3.45rem); line-height: 1.06; font-weight: 800; letter-spacing: -.035em; }
h2 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); line-height: 1.12; font-weight: 800; letter-spacing: -.03em; }
h3 { font-size: 1.2rem; line-height: 1.25; font-weight: 700; }
.eyebrow { font: 500 .82rem var(--mono); color: var(--muted); margin: 0 0 14px; }
.lead, .sec__lead { color: var(--body); font-size: 1.1rem; max-width: 58ch; margin: 18px 0 0; }

/* botones */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; background: var(--acc); color: var(--on-acc); text-decoration: none; font: 700 .95rem var(--sans); padding: 13px 22px; border-radius: 999px; border: 1px solid var(--acc); transition: background .2s, transform .2s, border-color .2s; }
.btn:hover { background: var(--acc-hover); border-color: var(--acc-hover); transform: translateY(-1px); }
.btn--ghost { background: transparent; color: var(--fg); border-color: var(--line); }
.btn--ghost:hover { background: var(--panel); border-color: var(--muted); }
.btn--sm { padding: 8px 18px; font-size: .88rem; }
.btn--lg { padding: 16px 32px; font-size: 1.05rem; }
.btn:focus-visible, a:focus-visible { outline: 2px solid var(--acc); outline-offset: 3px; }

/* encabezado */
.top { position: sticky; top: 0; z-index: 10; background: rgba(0,0,0,.85); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); }
.top__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; height: 64px; }
.top__logo img { height: 26px; width: auto; }
.top__nav { display: flex; gap: 26px; }
.top__nav a { text-decoration: none; font-size: .93rem; color: var(--body); }
.top__nav a:hover { color: var(--fg); }
@media (max-width: 760px) { .top__nav { display: none; } .top__logo img { height: 22px; } }

/* hero */
.hero { padding-block: clamp(56px, 8vw, 100px); overflow: hidden;
  background: radial-gradient(640px 340px at 80% 40%, rgba(76,125,255,.18), transparent 70%), var(--bg); }
.hero__in { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 56px; align-items: center; }
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.checks { list-style: none; padding: 0; margin: 26px 0 0; display: flex; flex-wrap: wrap; gap: 8px 20px; font-size: .9rem; color: var(--body); }
.checks li::before { content: "✓"; color: var(--ok); font-weight: 700; margin-right: 7px; }
@media (max-width: 900px) { .hero__in { grid-template-columns: minmax(0, 1fr); gap: 44px; } }

.showcase { position: relative; aspect-ratio: 1 / .78; max-width: 100%; min-width: 0; }
.browser { position: absolute; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 30px 70px rgba(0,0,0,.55); border: 1px solid #2a2a30; }
.browser__bar { display: flex; align-items: center; gap: 6px; padding: 9px 12px; background: #1a1a1e; }
.browser__bar i { width: 9px; height: 9px; border-radius: 50%; background: #3a3a42; }
.browser__bar span { margin-left: 8px; font: .72rem var(--mono); color: #9a9aa2; background: #0e0e11; padding: 3px 10px; border-radius: 6px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.browser img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; object-position: top; }
.browser--back { width: 74%; top: 0; right: 0; opacity: .9; }
.browser--front { width: 80%; bottom: 4%; left: 0; }
.chip { position: absolute; display: flex; align-items: center; gap: 8px; background: #fff; color: #0b0b0c; border-radius: 14px; padding: 10px 14px; box-shadow: 0 14px 34px rgba(0,0,0,.35); font-size: .82rem; line-height: 1.3; }
.chip--wa { right: 0; bottom: 0; flex-direction: column; align-items: flex-start; gap: 2px; border-bottom-right-radius: 4px; max-width: 62%; }
.chip--wa b { color: #128c4b; font-size: .74rem; }
.chip--live { top: 6%; left: 2%; font: 600 .78rem var(--mono); background: #0e0e11; color: #f3f3f1; border: 1px solid #2a2a30; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 4px rgba(34,181,115,.2); }
.cur { color: var(--acc); animation: blink 1.1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
@media (max-width: 520px) { .chip { font-size: .74rem; padding: 8px 11px; } .chip--live { left: 0; } }

/* secciones */
.sec { padding-block: clamp(68px, 9vw, 112px); }
.sec__head { margin-bottom: 44px; }
.sec__head--center { text-align: center; display: grid; justify-items: center; }
.sec__head--center .sec__lead { margin-inline: auto; }

/* planes */
.plans { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
@media (max-width: 900px) { .plans { grid-template-columns: minmax(0, 1fr); } }
.plan { position: relative; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 30px 26px; display: flex; flex-direction: column; gap: 10px; }
.light .plan { box-shadow: 0 1px 2px rgba(0,0,0,.04); }
.plan--main { border-color: var(--acc); box-shadow: 0 0 0 1px var(--acc) inset, 0 18px 40px rgba(47,95,230,.12) !important; }
.plan__tag { position: absolute; top: -13px; left: 24px; margin: 0; background: var(--acc); color: #fff; font: 700 .72rem var(--sans); padding: 5px 12px; border-radius: 999px; }
.plan__for { margin: 0; color: var(--body); font-size: .95rem; }
.plan__price { margin: 8px 0 4px; font: 800 1.7rem var(--mono); letter-spacing: -.03em; font-variant-numeric: tabular-nums; }
.plan__price small { font: 400 .8rem var(--sans); color: var(--muted); letter-spacing: 0; }
.plan ul { list-style: none; margin: 6px 0 0; padding: 16px 0 0; border-top: 1px solid var(--line); display: grid; gap: 9px; }
.plan li { position: relative; padding-left: 24px; font-size: .94rem; color: var(--body); }
.plan li::before { content: "✓"; position: absolute; left: 0; color: var(--acc); font-weight: 700; }
.maint { margin-top: 18px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px 40px; background: var(--panel); border: 1px dashed var(--line); border-radius: var(--r); padding: 22px 26px; }
.maint p { margin: 6px 0 0; color: var(--body); max-width: 62ch; font-size: .95rem; }
.maint .plan__price { margin: 0; }

/* portafolio */
.works { display: grid; gap: 64px; }
.work { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 44px; align-items: center; }
.work:nth-child(even) .work__shot { order: 2; }
@media (max-width: 860px) { .work { grid-template-columns: minmax(0, 1fr); gap: 22px; } .work:nth-child(even) .work__shot { order: 0; } }
.work__shot { display: block; border-radius: var(--r); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16 / 10; max-width: 100%; background: var(--panel); }
.work__shot img { width: 100%; height: 100%; object-fit: cover; object-position: top; transition: transform .5s; }
a.work__shot:hover img { transform: scale(1.025); }
.work__type { font: 500 .8rem var(--mono); color: var(--acc); margin: 0 0 8px; }
.work__info h3 { font-size: 1.5rem; }
.work__info p:not(.work__type) { color: var(--body); margin: 10px 0 16px; max-width: 52ch; }
.work__link { font-weight: 700; font-size: .95rem; text-decoration: none; border-bottom: 2px solid var(--acc); padding-bottom: 2px; }
.work__link:hover { color: var(--acc-hover); }
.work__soon { display: inline-block; font-size: .82rem; color: var(--muted); border: 1px solid var(--line); border-radius: 999px; padding: 4px 12px; }

/* proceso */
.steps { list-style: none; counter-reset: s; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; }
@media (max-width: 960px) { .steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 520px) { .steps { grid-template-columns: minmax(0, 1fr); } }
.steps li { counter-increment: s; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 24px 20px; display: grid; gap: 8px; align-content: start; }
.steps li::before { content: counter(s); display: grid; place-items: center; width: 32px; height: 32px; border-radius: 50%; background: var(--acc); color: #fff; font: 700 .9rem var(--sans); }
.steps b { font-size: 1.05rem; }
.steps span { color: var(--body); font-size: .93rem; }
.note { margin: 22px 0 0; color: var(--muted); font-size: .9rem; }

/* al día */
.badge { display: inline-block; vertical-align: middle; font: 700 .72rem var(--sans); color: var(--acc); border: 1px solid var(--acc); border-radius: 999px; padding: 4px 11px; margin-left: 10px; }
.aldia__tag { font: 500 1.05rem var(--mono); color: var(--fg); margin: 14px 0 0; }
.phone-card { margin: 0; display: grid; gap: 18px; justify-items: center; text-align: center; }
.phone { width: 100%; max-width: 270px; aspect-ratio: 9 / 15.5; border-radius: 34px; padding: 10px; background: #1b1b20; border: 1px solid #33333b; box-shadow: 0 30px 60px rgba(0,0,0,.5), inset 0 0 0 2px #0b0b0d; overflow: hidden; }
.phone img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 25px; background: #fff; }
.phone-card:nth-child(2) .phone { transform: translateY(-18px); }
@media (max-width: 760px) { .phone-card:nth-child(2) .phone { transform: none; } }
.phone-card figcaption { display: grid; gap: 4px; max-width: 30ch; }
.phone-card figcaption b { font-size: 1.05rem; }
.phone-card figcaption span { color: var(--body); font-size: .93rem; }
.aldia__foot { margin-top: 48px; display: grid; justify-items: center; text-align: center; }

/* contacto */
.contact { text-align: center; }
.contact__in { display: grid; justify-items: center; }
.contact .sec__lead { margin-inline: auto; }
.contact .btn { margin-top: 30px; }
.contact__data { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 28px; margin: 22px 0 0; font: .92rem var(--mono); color: var(--muted); }

/* pie */
.foot { border-top: 1px solid var(--line); padding-block: 28px; }
.foot__in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; }
.foot img { height: 20px; width: auto; }
.foot p { margin: 0; color: var(--muted); font-size: .85rem; }

/* aparición suave al hacer scroll (solo si hay JS) */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity .6s ease, transform .6s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }
.js .phone-card:nth-child(2).reveal.is-in { transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .cur { animation: none; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .work__shot img { transition: none; }
}

/* ---------- v3: título que cambia, tipos de negocio, quién soy, resultados ---------- */
.rot { display: block; color: var(--acc); white-space: nowrap; min-height: 1.06em; }
.rot .cur { font-weight: 400; margin-left: .04em; }

.kinds { margin-top: clamp(48px, 7vw, 72px); padding-top: 26px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; }
.kinds__label { margin: 0; font: 500 .82rem var(--mono); color: var(--muted); }
.kinds ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.kinds li { font-size: .86rem; color: var(--body); border: 1px solid var(--line); border-radius: 999px; padding: 6px 14px; background: var(--panel); }

.work__result { font-size: .92rem; color: var(--fg) !important; background: var(--panel); border: 1px solid var(--line); border-left: 3px solid var(--ok); border-radius: 10px; padding: 10px 14px; margin: 0 0 18px !important; }
.quote { margin: 0 0 18px; padding: 0 0 0 16px; border-left: 3px solid var(--acc); }
.quote p { margin: 0; font-size: 1.02rem; font-style: italic; color: var(--fg); }
.quote cite { display: block; margin-top: 6px; font: 500 .8rem var(--mono); color: var(--muted); font-style: normal; }

.about { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 56px; align-items: center; }
@media (max-width: 860px) { .about { grid-template-columns: minmax(0, 1fr); gap: 32px; } }
.about__ph { width: 100%; max-width: 420px; aspect-ratio: 5 / 6; border-radius: 24px; object-fit: cover; }
.about__ph { display: grid; place-items: center; background: radial-gradient(circle at 30% 20%, #1d2a55, #000 70%); color: #fff; font: 800 clamp(4rem, 10vw, 6.5rem)/1 var(--mono); letter-spacing: -.06em; }
.about__ph .cur { color: #4c7dff; }
.about__list { list-style: none; margin: 22px 0 0; padding: 0; display: grid; gap: 8px; }
.about__list li { padding-left: 26px; position: relative; color: var(--body); }
.about__list li::before { content: "✓"; position: absolute; left: 0; color: var(--acc); font-weight: 700; }
.story { margin-top: 28px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 20px 22px; max-width: 58ch; }
.story__title { margin: 0 0 6px; font: 700 .85rem var(--mono); color: var(--acc); }
.story p:last-child { margin: 0; color: var(--body); }
.story b { color: var(--fg); }

/* ¿De qué depende el precio? */
.factors { margin-top: 18px; background: var(--panel); border: 1px solid var(--line); border-radius: var(--r); padding: 26px; }
.factors h3 { margin-bottom: 16px; }
.factors ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 18px 24px; }
.factors li { display: grid; gap: 3px; padding-left: 14px; border-left: 2px solid var(--acc); }
.factors b { font-size: .95rem; }
.factors span { color: var(--body); font-size: .88rem; }

/* Foto recortada de Andrés sobre un fondo de la marca */
.cutout { position: relative; width: 100%; max-width: 420px; aspect-ratio: 5 / 6; }
.cutout__bg { position: absolute; inset: 22% 0 0 0; border-radius: 28px; overflow: hidden;
  background: radial-gradient(120% 90% at 80% 10%, #2a3f8f 0%, #101a3d 45%, #000 100%); }
.cutout__bg span { position: absolute; right: 7%; top: 8%; font: 800 clamp(3rem, 7vw, 4.6rem)/1 var(--mono); letter-spacing: -.06em; color: rgba(255,255,255,.12); }
.cutout__bg .cur { color: rgba(76,125,255,.55); }
.cutout img { position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 92%; height: auto; max-height: 100%; object-fit: contain; object-position: bottom; aspect-ratio: auto; border-radius: 0 0 28px 28px; filter: drop-shadow(0 18px 30px rgba(0,0,0,.25)); }
@media (max-width: 860px) { .cutout { margin-inline: auto; } }

/* Apps de ArteLan */
.product { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.3fr); gap: 48px; align-items: center; background: var(--panel); border: 1px solid var(--line); border-radius: 24px; padding: clamp(24px, 4vw, 44px); }
.product + .product { margin-top: 28px; }
.product--alt { grid-template-columns: minmax(0, 1.3fr) minmax(0, .9fr); }
.product--alt .product__copy { order: 2; }
@media (max-width: 960px) { .product, .product--alt { grid-template-columns: minmax(0, 1fr); gap: 32px; } .product--alt .product__copy { order: 0; } }
.product__name { font-size: clamp(1.6rem, 3vw, 2.1rem); font-weight: 800; letter-spacing: -.02em; }
.product__tag { font: 500 1rem var(--mono); color: var(--acc); margin: 10px 0 0; }
.product__for { color: var(--body); margin: 12px 0 0; }
.product__list { list-style: none; margin: 18px 0 26px; padding: 0; display: grid; gap: 9px; }
.product__list li { position: relative; padding-left: 26px; color: var(--body); font-size: .96rem; }
.product__list li::before { content: "✓"; position: absolute; left: 0; color: var(--acc); font-weight: 700; }
.badge--live { color: #16935c; border-color: #16935c; }
.phones { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; min-width: 0; }
.phones .phone { border-radius: 26px; padding: 7px; }
.phones .phone img { border-radius: 20px; }
.phone-card figcaption { font-size: .88rem; font-weight: 700; color: var(--fg); }
.phone-card:nth-child(2) .phone { transform: translateY(-14px); }
@media (max-width: 620px) {
  .phones { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; padding-bottom: 8px; margin-inline: -4px; }
  .phones .phone-card { flex: 0 0 62%; scroll-snap-align: center; }
  .phone-card:nth-child(2) .phone { transform: none; }
}
.note--center { text-align: center; }
.promo { margin: 14px 0 0; display: inline-block; background: rgba(22,147,92,.1); border: 1px solid rgba(22,147,92,.35); color: var(--fg); border-radius: 10px; padding: 8px 12px; font-size: .9rem; }
.promo b { color: #16935c; }

/* Retrato de Andrés (foto de estudio en blanco y negro) */
.portrait { width: 100%; max-width: 420px; aspect-ratio: 5 / 6; height: auto; object-fit: cover; border-radius: 24px; box-shadow: 0 24px 50px rgba(0,0,0,.18); }
@media (max-width: 860px) { .portrait { margin-inline: auto; } }
