/* =========================================================
   TOKENS — editar acá para cambiar la apariencia global
   ========================================================= */
:root{
  --ink:            #141414;
  --ink-2:          #4A4D4F;
  --ink-3:          #6B6F6E;
  --ink-body:       #3C3F41;
  --bg:             #FFFFFF;
  --bg-2:           #F4F5F4;
  --line:           #E2E4E3;
  --line-soft:      #ECEDEC;
  --hover:          #EEF0EF;

  --dark-card:      #1E2021;
  --dark-line:      #2E3132;
  --dark-chip-line: #3A3D3F;
  --dark-text:      #C2C5C4;
  --dark-text-2:    #A9ADAC;
  --dark-text-3:    #D6D8D8;

  --accent:         #0E7C8A;
  --accent-light:   #8FD3DC;
  --ok:             #1F9D55;
  --ok-dark:        #3DDC84;
  --bad:            #B8341A;
  --promo-bg:       #FDECE8;
  --promo-ink:      #9A2A12;

  --font-display:   'Outfit', sans-serif;
  --font-body:      'Geist', sans-serif;

  --radius-pill:    999px;
  --radius-card:    28px;
  --radius-img:     18px;
  --radius-img-s:   14px;

  --container:      1280px;
  --gutter:         32px;
  --section-pad:    112px;
  --nav-offset:     104px;
}

@media (max-width: 760px){
  :root{
    --radius-card: 24px;
    --gutter: 20px;
    --section-pad: 64px;
    --nav-offset: 88px;
  }
}

/* =========================================================
   BASE
   ========================================================= */
*{ box-sizing:border-box; }
html{ scroll-padding-top:var(--nav-offset); }
@media (prefers-reduced-motion: no-preference){
  html{ scroll-behavior:smooth; }
}
body{
  margin:0;
  background:var(--bg); color:var(--ink);
  font-family:var(--font-body); font-size:16px; line-height:1.6;
  -webkit-font-smoothing:antialiased;
}
body.is-locked{ overflow:hidden; }
h1,h2,h3{ font-family:var(--font-display); font-weight:700; letter-spacing:-.03em; color:inherit; margin:0; }
p{ margin:0; }
img, canvas{ max-width:100%; display:block; }
a{ color:var(--ink); }
a:hover{ color:var(--accent); }
button{ font-family:inherit; }
:focus-visible{ outline:3px solid var(--accent); outline-offset:3px; }

.container{
  width:100%; max-width:var(--container);
  margin:0 auto; padding:0 var(--gutter);
}
section{ padding:var(--section-pad) 0; scroll-margin-top:var(--nav-offset); }
.section-alt{ background:var(--bg-2); }
.section-dark{ background:var(--ink); color:#fff; }
.visually-hidden{
  position:absolute !important; width:1px; height:1px; overflow:hidden;
  clip:rect(0 0 0 0); white-space:nowrap; margin:-1px;
}

/* ---------- Tipografía ---------- */
.display-1{ font-size:clamp(44px, 6.4vw, 84px); line-height:.98; }
.section-title{ font-size:clamp(36px, 4.6vw, 60px); line-height:1.02; }
.lead{ font-size:17px; color:var(--ink-2); max-width:560px; }
.section-dark .lead{ color:var(--dark-text-2); }
.accent-dot{ color:var(--accent); }
.num{ font-variant-numeric:tabular-nums; }

/* Etiquetas en mayúsculas (sin fuente mono) */
.label{
  font-family:var(--font-body); font-weight:600; font-size:12px;
  letter-spacing:.08em; text-transform:uppercase; color:var(--ink-2);
}
.label--accent{ color:var(--accent); }
.label--light{ color:var(--accent-light); }
.label--ok{ color:var(--ok-dark); display:inline-flex; align-items:center; gap:8px; }

/* Tag píldora */
.tag{
  display:inline-flex; align-items:center; gap:8px; align-self:flex-start;
  font-weight:600; font-size:12px; letter-spacing:.08em; text-transform:uppercase;
  color:var(--ink-2); background:var(--line-soft);
  border-radius:var(--radius-pill); padding:7px 14px;
}
.section-alt .tag{ background:#E4E6E5; }
.section-dark .tag{ background:#262829; color:#C9CCCB; }
.dot{ width:8px; height:8px; border-radius:50%; background:var(--ok); flex:none; }
.section-dark .dot, .dot--light{ background:var(--ok-dark); }

.section-head{ display:flex; flex-direction:column; gap:20px; max-width:720px; }
.section-head--split{
  max-width:none; flex-direction:row; flex-wrap:wrap;
  justify-content:space-between; align-items:flex-end; gap:24px;
}
.section-head--split > div{ display:flex; flex-direction:column; gap:20px; max-width:680px; }
.section-head--split > .lead{ max-width:400px; }

/* =========================================================
   BOTONES — sombra dura
   ========================================================= */
.btn{
  --btn-shadow: var(--ink);
  display:inline-flex; align-items:center; justify-content:center; gap:10px;
  min-height:52px; padding:0 28px;
  border-radius:var(--radius-pill); border:2px solid var(--ink);
  font-family:var(--font-body); font-weight:600; font-size:16px; line-height:1.2;
  text-decoration:none; cursor:pointer;
  box-shadow:5px 5px 0 var(--btn-shadow);
  transition:transform .15s ease, box-shadow .15s ease;
}
.btn:hover{ transform:translate(-2px,-2px); box-shadow:7px 7px 0 var(--btn-shadow); }
.btn:active{ transform:translate(0,0); box-shadow:3px 3px 0 var(--btn-shadow); }
.btn-solid{ --btn-shadow: var(--accent); background:var(--ink); color:#fff; }
.btn-solid:hover{ color:#fff; }
.btn-line{ background:#fff; color:var(--ink); }
.btn-line:hover{ color:var(--ink); }
/* Botón blanco sobre fondo oscuro: el color de sombra se pasa por --btn-shadow */
.btn-on-dark{ --btn-shadow: var(--accent); background:#fff; color:var(--ink); border-color:#fff; }
.btn-on-dark:hover{ color:var(--ink); }
.btn-block{ width:100%; }
.btn[disabled]{ opacity:.6; cursor:progress; transform:none; }
.btn svg{ flex:none; }

@media (prefers-reduced-motion: reduce){
  .btn, .btn:hover, .btn:active{ transition:none; transform:none; box-shadow:5px 5px 0 var(--btn-shadow); }
}

.text-link{
  font-weight:600; font-size:16px; color:var(--ink);
  text-decoration:underline; text-underline-offset:5px;
  padding:14px 4px;
}

/* Listas con tilde */
.checks{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:8px; }
.checks li{ display:flex; gap:10px; align-items:flex-start; font-size:15px; line-height:1.5; color:var(--ink-body); }
.checks li svg{ flex:none; margin-top:3px; color:var(--ok); }
.is-dark .checks li{ color:var(--dark-text-3); }
.is-dark .checks li svg{ color:var(--ok-dark); }

.chips{ display:flex; flex-wrap:wrap; gap:8px; list-style:none; margin:0; padding:0; }
.chip{
  font-weight:500; font-size:13px; color:var(--dark-text-3);
  border:1px solid var(--dark-chip-line); border-radius:var(--radius-pill); padding:6px 12px;
}

/* =========================================================
   NAV — píldora flotante
   ========================================================= */
.site-header{ position:sticky; top:0; z-index:50; padding:16px 0 8px; }
.nav{
  display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:#fff; border:2px solid var(--ink); border-radius:var(--radius-pill);
  padding:8px 8px 8px 16px; box-shadow:5px 5px 0 var(--ink);
}
.logo{ display:flex; align-items:center; gap:10px; text-decoration:none; color:var(--ink); }
.logo:hover{ color:var(--ink); }
.logo img{ width:38px; height:38px; object-fit:contain; }
.logo-text{ font-family:var(--font-display); font-weight:700; font-size:21px; letter-spacing:-.03em; }
.nav-links{ display:flex; gap:4px; align-items:center; list-style:none; margin:0; padding:0; }
.nav-links a{
  display:block; text-decoration:none; color:var(--ink-2);
  font-size:15px; font-weight:500; padding:10px 18px; border-radius:var(--radius-pill);
  transition:background .15s ease, color .15s ease;
}
.nav-links a:hover{ background:var(--hover); color:var(--ink); }
.nav-links a.is-active{ background:var(--ink); color:#fff; }
.nav-cta.btn{
  --btn-shadow: transparent;
  min-height:46px; padding:0 22px; font-size:15px;
  background:var(--accent); border-color:var(--accent); color:#fff; box-shadow:none;
}
.nav-cta.btn:hover{ color:#fff; transform:none; box-shadow:none; background:#0B6874; border-color:#0B6874; }
.nav-toggle{
  display:none; width:44px; height:44px; border-radius:50%; border:0;
  background:var(--ink); color:#fff; align-items:center; justify-content:center; cursor:pointer;
}

/* Menú mobile a pantalla completa */
.mobile-menu{
  position:fixed; inset:0; z-index:100; background:#fff;
  display:flex; flex-direction:column; overflow-y:auto;
}
.mobile-menu[hidden]{ display:none; }
.mobile-menu .site-header{ position:static; }
.mobile-menu .nav-toggle{ display:flex; background:var(--accent); }
.mobile-menu-links{ list-style:none; margin:0; padding:36px 24px 0; }
.mobile-menu-links a{
  display:flex; justify-content:space-between; align-items:center; text-decoration:none;
  font-family:var(--font-display); font-weight:700; font-size:34px; letter-spacing:-.03em; color:var(--ink);
  padding:14px 4px; border-bottom:1.5px solid var(--line);
}
.mobile-menu-links a span{ font-size:22px; color:#C9CCCB; }
.mobile-menu-links a.is-active span, .mobile-menu-links a:hover span{ color:var(--accent); }
.mobile-menu-foot{ margin-top:auto; padding:24px 20px 36px; display:flex; flex-direction:column; gap:16px; }
.mobile-menu-foot a:last-child{ text-align:center; font-size:15px; color:var(--ink-2); padding:8px; }

@media (max-width: 760px){
  .site-header{ padding:12px 0 4px; }
  .site-header .container{ padding:0 16px; }
  .nav{ padding:6px 6px 6px 12px; box-shadow:4px 4px 0 var(--ink); }
  .logo img{ width:34px; height:34px; }
  .logo-text{ font-size:19px; }
  .site-header .nav-links, .site-header .nav-cta{ display:none; }
  .nav-toggle{ display:flex; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero{ padding:88px 0 96px; }
.hero-grid{
  display:grid; grid-template-columns:minmax(0, 1.35fr) minmax(0, 1fr);
  grid-template-areas: "copy stage" "actions stage";
  column-gap:56px; row-gap:36px;
}
.hero-copy{ grid-area:copy; align-self:end; display:flex; flex-direction:column; gap:28px; }
.hero-copy .lead{ font-size:19px; }
.hero-actions{ grid-area:actions; align-self:start; display:flex; gap:20px; flex-wrap:wrap; align-items:center; }
.hero-stage{
  grid-area:stage; position:relative; overflow:hidden;
  background:var(--bg-2); border-radius:32px; aspect-ratio:1 / 1.05;
}
.hero-stage::before{
  content:""; position:absolute; inset:24px; pointer-events:none;
  border:1.5px dashed #D3D6D5; border-radius:22px;
}
.viewer3d{ position:absolute; inset:0; cursor:grab; }
.viewer3d:active{ cursor:grabbing; }
.hero-stage-caption{
  position:absolute; left:40px; right:40px; bottom:40px; pointer-events:none;
  display:flex; justify-content:space-between; align-items:center; gap:12px; flex-wrap:wrap;
}
.hero-stage-caption .label{ display:flex; align-items:center; gap:8px; }
.hint-touch{ display:none; }
@media (pointer: coarse){
  .hint-touch{ display:inline; }
  .hint-mouse{ display:none; }
}

@media (max-width: 760px){
  .hero{ padding:40px 0 56px; }
  .hero-grid{ grid-template-columns:minmax(0,1fr); grid-template-areas:"copy" "stage" "actions"; row-gap:22px; }
  .hero-copy{ gap:22px; }
  .hero-copy .lead{ font-size:17px; }
  .hero-stage{ aspect-ratio:auto; height:340px; border-radius:26px; }
  .hero-stage::before{ display:none; }
  .hero-stage-caption{ left:20px; right:20px; bottom:18px; }
  .hero-stage-caption .label-desk{ display:none; }
  .hero-actions{ flex-direction:column; align-items:stretch; gap:8px; }
  .hero-actions .text-link{ text-align:center; padding:12px; }
}

/* =========================================================
   PROYECTOS EN LÍNEA
   ========================================================= */
.projects{ display:flex; flex-direction:column; gap:64px; }
.project-list{ display:flex; flex-direction:column; gap:32px; }
.project{
  display:grid; grid-template-columns:minmax(0, 1.5fr) minmax(0, 1fr); gap:48px; align-items:center;
  background:var(--dark-card); border:1px solid var(--dark-line); border-radius:32px; padding:32px;
}
.project:nth-child(even) .project-media{ order:2; }
.project-info{ display:flex; flex-direction:column; gap:20px; align-items:flex-start; }
.project-info h3{ font-size:38px; line-height:1.05; color:#fff; }
.project-info p{ font-size:17px; color:var(--dark-text); }
.project-info .btn{ margin-top:8px; }

.browser{ border-radius:var(--radius-img); overflow:hidden; border:1px solid var(--dark-chip-line); background:#fff; }
.browser-bar{
  display:flex; align-items:center; gap:8px; padding:12px 16px;
  background:#F1F2F1; border-bottom:1px solid var(--line);
}
.browser-bar i{ width:10px; height:10px; border-radius:50%; background:#D3D6D5; }
.browser-url{ margin-left:12px; font-size:12px; color:var(--ink-3); background:#fff; border-radius:8px; padding:5px 12px; }
.browser-screen{ aspect-ratio:16 / 10; display:flex; flex-direction:column; align-items:center; justify-content:center; gap:8px; }
.browser-screen img{ width:100%; height:100%; object-fit:cover; object-position:top; }
.browser-screen strong{ font-family:var(--font-display); font-size:44px; letter-spacing:-.03em; }

@media (max-width: 760px){
  .projects{ gap:28px; }
  .project-list{ gap:28px; }
  .project{ grid-template-columns:minmax(0,1fr); gap:16px; border-radius:24px; padding:16px 16px 24px; }
  .project:nth-child(even) .project-media{ order:0; }
  .project-info{ padding:0 4px; gap:12px; }
  .project-info h3{ font-size:28px; }
  .project-info p{ font-size:15px; }
  .project-info .btn{ align-self:stretch; margin-top:6px; }
  .browser{ border-radius:var(--radius-img-s); border:0; }
  .browser-bar{ padding:9px 12px; gap:6px; border-bottom:0; }
  .browser-bar i{ width:8px; height:8px; }
  .browser-url{ font-size:11px; margin-left:8px; padding:0; background:none; }
  .browser-screen{ aspect-ratio:auto; height:200px; }
  .browser-screen strong{ font-size:32px; }
}

/* =========================================================
   SERVICIOS — bento
   ========================================================= */
.services{ display:flex; flex-direction:column; gap:56px; }
.bento{ display:grid; grid-template-columns:minmax(0,1fr); gap:24px; }
.service{
  min-width:0; background:#fff; border:1.5px solid var(--line); border-radius:var(--radius-card);
  padding:40px; display:flex; flex-direction:column; gap:16px;
}
.service h3{ font-size:34px; line-height:1.08; }
.service p{ color:var(--ink-2); }
.service-body{ flex:1 1 280px; min-width:0; display:flex; flex-direction:column; gap:16px; }
.service--3d{
  background:var(--ink); border-color:var(--ink); color:#fff;
  flex-direction:row; flex-wrap:wrap; align-items:center; gap:32px;
}
.service--3d p{ color:var(--dark-text); }
.service--3d .checks{ padding-top:4px; }
.service--3d .btn{ align-self:flex-start; margin-top:12px; }
.service--3d > img{ flex:1 1 280px; min-width:0; width:100%; max-width:420px; height:auto; border-radius:var(--radius-img); }
.service--anim h3{ font-size:28px; line-height:1.1; }
.service--anim .label{ padding-top:8px; }
.lottie-box{
  width:100%; max-width:260px; aspect-ratio:1214 / 1080; align-self:center;
  border:0; padding:0; background:none; cursor:pointer; border-radius:var(--radius-img-s);
}
.service--shop{ flex-direction:row; flex-wrap:wrap; align-items:center; gap:40px; }
.service--shop .service-body{ flex:1 1 320px; }
.service--shop .checks{ padding-top:4px; }
.products{ flex:999 1 520px; min-width:0; display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:16px; margin:0; padding:0; list-style:none; }
.products figure{ margin:0; display:flex; flex-direction:column; gap:10px; }
.products img{ width:100%; height:auto; aspect-ratio:1/1; object-fit:cover; border-radius:var(--radius-img); }
.products figcaption{ display:flex; justify-content:space-between; gap:8px; font-size:14px; font-weight:600; }
.products figcaption span{ font-weight:400; color:var(--ink-2); font-variant-numeric:tabular-nums; }

/* 04 + 05: franja compacta a lo ancho */
.service--extras{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:0; padding:32px 40px; }
.extra{ display:flex; gap:18px; align-items:flex-start; }
.extra + .extra{ border-left:1.5px solid var(--line-soft); padding-left:40px; margin-left:40px; }
.extra > div{ display:flex; flex-direction:column; gap:6px; min-width:0; }
.extra h3{ font-size:24px; line-height:1.15; }
.extra p{ font-size:15px; }
.extra p a{ font-weight:600; text-underline-offset:3px; white-space:nowrap; }
.extra-icon{
  flex:none; width:48px; height:48px; border-radius:14px;
  background:var(--bg-2); color:var(--accent); display:flex; align-items:center; justify-content:center;
}

@media (min-width: 1000px){
  .bento{ grid-template-columns:repeat(3, minmax(0,1fr)); }
  .service--3d{ grid-column:span 2; }
  .service--shop{ grid-column:1 / -1; }
  .service--extras{ grid-column:1 / -1; }
}
@media (max-width: 760px){
  .services{ gap:28px; }
  .bento{ gap:20px; }
  .service{ padding:24px; gap:14px; }
  .service h3, .service--anim h3{ font-size:26px; line-height:1.1; }
  .service p{ font-size:15px; }
  .service .label{ font-size:11px; }
  .service--3d{ flex-direction:column; align-items:stretch; gap:14px; }
  .service--3d > img{ order:-1; max-width:none; border-radius:var(--radius-img-s); }
  .service--3d .btn{ align-self:stretch; margin-top:6px; }
  .service .checks{ display:none; }
  .lottie-box{ max-width:200px; }
  .service--shop{ flex-direction:column; align-items:stretch; gap:14px; }
  .service--shop .service-body{ flex:none; gap:14px; }
  .products{ flex:none; gap:10px; padding-top:4px; }
  .products img{ border-radius:12px; }
  .products figcaption{ display:none; }
  .service--extras{ grid-template-columns:minmax(0,1fr); gap:20px; padding:24px; }
  .extra + .extra{ border-left:0; margin-left:0; padding-left:0; border-top:1.5px solid var(--line-soft); padding-top:20px; }
  .extra h3{ font-size:22px; }
  .extra-icon{ width:44px; height:44px; }
}

/* =========================================================
   PLANES
   ========================================================= */
.plans{ display:flex; flex-direction:column; gap:56px; }
.plans .section-head--split > div .lead{ max-width:none; }
.promo{
  display:inline-flex; align-items:center; gap:10px; align-self:flex-end;
  background:var(--promo-bg); color:var(--promo-ink);
  border-radius:var(--radius-pill); padding:10px 18px; font-size:14px; font-weight:600;
}
.promo b{ background:var(--bad); color:#fff; border-radius:var(--radius-pill); padding:3px 10px; font-size:13px; font-variant-numeric:tabular-nums; }
.plan-grid{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; align-items:stretch; list-style:none; margin:0; padding:0; }
.plan{
  position:relative; min-width:0; border:1.5px solid var(--line); border-radius:var(--radius-card);
  padding:36px; display:flex; flex-direction:column; gap:24px; background:#fff;
}
.plan h3{ font-size:26px; line-height:1.1; }
.plan-head{ display:flex; flex-direction:column; gap:10px; }
.plan-price{ display:flex; flex-direction:column; gap:4px; }
.price-old{ font-size:14px; font-weight:600; color:var(--ink-3); text-decoration:line-through; font-variant-numeric:tabular-nums; }
.price-new{ font-family:var(--font-display); font-weight:700; font-size:44px; line-height:1.1; letter-spacing:-.03em; font-variant-numeric:tabular-nums; }
.price-new small{ font-family:var(--font-body); font-size:14px; font-weight:500; letter-spacing:0; }
.price-note{ font-size:14px; color:var(--ink-2); }
.plan .checks{ gap:12px; flex-grow:1; border-top:1px solid var(--line-soft); padding-top:24px; }
.plan--featured{ background:var(--ink); border-color:var(--ink); color:#fff; }
.plan--featured .price-old, .plan--featured .price-note{ color:var(--dark-text-2); }
.plan--featured .checks{ border-top-color:var(--dark-line); }
.plan-badge{
  position:absolute; top:-14px; right:32px;
  background:var(--accent); color:#fff; border-radius:var(--radius-pill); padding:6px 14px;
  font-size:12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
}
.plan-dots{ display:none; }

@media (max-width: 1000px) and (min-width: 761px){
  .plan-grid{ grid-template-columns:minmax(0,1fr); max-width:560px; }
}
@media (max-width: 760px){
  .plans{ gap:20px; }
  .plans .section-head--split{ gap:16px; }
  .promo{ align-self:flex-start; font-size:13px; padding:8px 14px; gap:8px; }
  .promo b{ padding:2px 8px; }
  .plans-scroller{ margin:0 calc(var(--gutter) * -1); }
  .plan-grid{
    display:flex; gap:14px; overflow-x:auto; scroll-snap-type:x mandatory;
    padding:16px var(--gutter) 8px; scroll-padding:0 var(--gutter);
    scrollbar-width:none;
  }
  .plan-grid::-webkit-scrollbar{ display:none; }
  .plan{ flex:none; width:300px; max-width:82vw; scroll-snap-align:start; padding:26px; gap:18px; border-radius:24px; }
  .plan--featured{ order:-1; }
  .plan h3{ font-size:22px; }
  .price-new{ font-size:36px; }
  .price-old{ font-size:13px; }
  .plan .checks{ padding-top:16px; gap:8px; }
  .plan .checks li{ font-size:14px; }
  .plan-badge{ top:-12px; right:22px; font-size:11px; padding:5px 12px; }
  .plan-dots{ display:flex; justify-content:center; gap:6px; margin-top:12px; }
  .plan-dots button{
    width:6px; height:6px; padding:0; border:0; border-radius:3px; background:#C9CCCB; cursor:pointer;
    transition:width .2s ease, background .2s ease;
    /* área táctil de 44px sin agrandar el punto */
    position:relative;
  }
  .plan-dots button::after{ content:""; position:absolute; inset:-19px -8px; }
  .plan-dots button[aria-current="true"]{ width:20px; background:var(--ink); }
}

/* =========================================================
   CONTACTO
   ========================================================= */
.contact{ display:flex; flex-wrap:wrap; gap:56px; align-items:center; }
.contact-info{ flex:1 1 380px; min-width:0; display:flex; flex-direction:column; gap:24px; }
.contact-info .lead{ font-size:18px; max-width:460px; }
.contact-rows{ display:flex; flex-direction:column; gap:14px; padding-top:8px; margin:0; }
.contact-rows div{ display:flex; gap:16px; flex-wrap:wrap; }
.contact-rows dt{ width:96px; padding-top:2px; font-size:13px; }
.contact-rows dd{ margin:0; font-size:17px; font-weight:500; }

.form{
  flex:1 1 440px; min-width:0; background:#fff; border:1.5px solid var(--line);
  border-radius:var(--radius-card); padding:40px; display:flex; flex-direction:column; gap:20px;
}
.field{ display:flex; flex-direction:column; gap:8px; }
.field label{ font-weight:600; font-size:14px; color:var(--ink); }
.field input, .field textarea{
  font-family:var(--font-body); font-size:16px; color:var(--ink);
  background:var(--bg-2); border:1.5px solid var(--line); border-radius:var(--radius-img-s);
  padding:14px 16px; width:100%;
}
.field textarea{ resize:vertical; min-height:140px; }
.field input:focus, .field textarea:focus{ outline:none; border-color:var(--ink); background:#fff; }
.form .btn{ margin-top:4px; }
.hp{ position:absolute; left:-9999px; width:1px; height:1px; overflow:hidden; }
.form-status{ font-size:15px; font-weight:500; border-radius:var(--radius-img-s); padding:14px 16px; }
.form-status:empty{ display:none; }
.form-status.is-ok{ background:#E7F5EC; color:#155E36; }
.form-status.is-error{ background:var(--promo-bg); color:var(--promo-ink); }
.form-status.is-pending{ background:var(--bg-2); color:var(--ink-2); }

@media (max-width: 760px){
  .contact{ gap:18px; }
  .contact-info{ gap:18px; }
  .contact-info .lead{ font-size:16px; }
  .contact-rows dt{ width:auto; }
  .form{ padding:22px; gap:16px; border-radius:24px; margin-top:8px; }
}

/* =========================================================
   FOOTER
   ========================================================= */
.site-footer{ border-top:1px solid var(--line-soft); padding:40px 0; }
.footer-grid{ display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:24px; }
.footer-grid .logo img{ width:40px; height:40px; }
.footer-grid .logo-text{ font-size:20px; }
.footer-links{ display:flex; flex-wrap:wrap; gap:4px 20px; list-style:none; margin:0; padding:0; }
.footer-links a{ display:block; text-decoration:none; color:var(--ink-2); font-size:15px; font-weight:500; padding:10px 4px; }
.footer-links a:hover{ color:var(--ink); }
.footer-note{ font-size:13px; color:var(--ink-2); }

@media (max-width: 760px){
  .site-footer{ padding:32px 0 40px; }
  .footer-grid{ flex-direction:column; align-items:flex-start; gap:20px; }
  .footer-grid .logo img{ width:36px; height:36px; }
  .footer-grid .logo-text{ font-size:19px; }
  .footer-links{ display:grid; grid-template-columns:repeat(2, minmax(0,1fr)); gap:4px 16px; width:100%; }
  .footer-links a{ padding:10px 0; font-weight:400; }
}

/* =========================================================
   APPS (/apps/)
   ========================================================= */
.page-head{ display:flex; flex-direction:column; gap:20px; max-width:760px; }
.apps-grid{ display:grid; grid-template-columns:repeat(auto-fill, minmax(220px, 1fr)); gap:24px; margin-top:56px; }
.apps-empty{ grid-column:1/-1; color:var(--ink-2); padding:40px 0; text-align:center; }
.app-card{
  background:#fff; border:1.5px solid var(--line); border-radius:24px; overflow:hidden;
  cursor:pointer; display:flex; flex-direction:column;
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.app-card:hover, .app-card:focus-visible{
  border-color:var(--ink); transform:translate(-2px,-2px); box-shadow:7px 7px 0 var(--ink); outline:none;
}
.app-card-banner{ aspect-ratio:1/1; background:var(--bg-2); overflow:hidden; }
.app-card-banner img{ width:100%; height:100%; object-fit:cover; }
.app-card-body{ padding:16px; display:flex; gap:12px; align-items:flex-start; }
.app-card-icon{ width:40px; height:40px; border-radius:10px; object-fit:cover; flex:none; background:var(--bg-2); }
.app-card-info{ min-width:0; }
.app-card-info h3{ font-size:18px; line-height:1.2; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
.app-card-info p{ font-size:14px; line-height:1.45; color:var(--ink-2); margin-top:2px; }
.app-card-meta{ display:flex; gap:10px; margin-top:8px; font-size:12px; font-weight:600; color:var(--ink-3); font-variant-numeric:tabular-nums; }

.donation-card{
  display:flex; align-items:center; justify-content:space-between; gap:32px; flex-wrap:wrap;
  background:#fff; border:1.5px solid var(--line); border-radius:var(--radius-card); padding:40px;
}
.donation-card > div{ display:flex; flex-direction:column; gap:20px; max-width:620px; }

.app-modal-overlay{
  position:fixed; inset:0; z-index:200; display:none;
  align-items:center; justify-content:center;
  background:rgba(20,20,20,.6); padding:24px;
}
.app-modal-overlay.open{ display:flex; }
.app-modal{
  position:relative; background:#fff; border:2px solid var(--ink); border-radius:var(--radius-card);
  width:100%; max-width:640px; max-height:88vh; overflow-y:auto;
  box-shadow:7px 7px 0 var(--ink);
}
.app-modal-close{
  position:absolute; top:14px; right:14px; z-index:1;
  width:44px; height:44px; border-radius:50%; border:0; cursor:pointer;
  background:var(--ink); color:#fff; display:flex; align-items:center; justify-content:center;
}
.app-modal-banner{ width:100%; aspect-ratio:16/9; object-fit:cover; background:var(--bg-2); }
.app-modal-body{ padding:28px 32px 32px; }
.app-modal-header{ display:flex; gap:16px; align-items:center; margin-bottom:18px; }
.app-modal-icon{ width:64px; height:64px; border-radius:var(--radius-img-s); object-fit:cover; flex:none; background:var(--bg-2); }
.app-modal-title h2{ font-size:28px; line-height:1.1; margin-bottom:6px; }
.app-modal-meta{ display:flex; gap:14px; font-size:13px; font-weight:600; color:var(--ink-3); font-variant-numeric:tabular-nums; }
.app-modal-desc{ font-size:16px; color:var(--ink-body); margin:20px 0 28px; }
.app-modal-instructions{ margin-top:32px; }
.app-modal-instructions h3{ font-size:20px; margin-bottom:16px; }
.instruction-step{ display:flex; gap:14px; margin-bottom:20px; }
.instruction-step:last-child{ margin-bottom:0; }
.instruction-step-num{
  flex:none; width:28px; height:28px; border-radius:50%;
  background:var(--ink); color:#fff; font-size:13px; font-weight:600;
  display:flex; align-items:center; justify-content:center;
}
.instruction-step-content{ flex:1; }
.instruction-step-content p{ font-size:15px; color:var(--ink-body); }
.instruction-step-content img{ margin-top:10px; width:100%; border-radius:var(--radius-img-s); border:1px solid var(--line); }

@media (max-width: 760px){
  .apps-grid{ grid-template-columns:repeat(auto-fill, minmax(150px, 1fr)); gap:14px; margin-top:32px; }
  .app-card{ border-radius:20px; }
  .app-card-body{ padding:12px; gap:10px; }
  .app-card-icon{ width:32px; height:32px; }
  .app-card-info h3{ font-size:16px; }
  .app-card-info p{ font-size:13px; }
  .donation-card{ padding:24px; flex-direction:column; align-items:stretch; }
  .app-modal-overlay{ padding:12px; }
  .app-modal-body{ padding:24px 20px 28px; }
}

/* =========================================================
   LEGAL (política de privacidad)
   ========================================================= */
.legal{ padding:64px 0 96px; }
.legal-content{ max-width:760px; display:flex; flex-direction:column; }
.legal-content .tag{ margin-bottom:20px; }
.legal-updated{ font-size:14px; color:var(--ink-3); margin:16px 0 32px; }
.legal-content h2{ font-size:24px; line-height:1.2; margin:40px 0 12px; }
.legal-content p{ color:var(--ink-body); margin-bottom:14px; }
.legal-content ul{ margin:0 0 14px; padding-left:20px; color:var(--ink-body); }
.legal-content li{ margin-bottom:8px; }
.legal-content .btn{ align-self:flex-start; margin-top:24px; }
