/* DozaOrg — página de marca. Mismo lenguaje visual que VerdelShot: noche verde, retícula sutil, verde hoja. */
:root {
  --leaf: #2fa84f;
  --leaf-bright: #3ddc63;
  --night: #0d1f1d;
  --night-deep: #08151a;
  --paper: #f2f5f2;
  --paper-soft: rgba(242, 245, 242, .76);
  --paper-dim: rgba(242, 245, 242, .62);
  --panel: #10241d;
  --line: rgba(255, 255, 255, .1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --gutter: 48px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; min-height: 100vh; min-height: 100svh; display: flex; flex-direction: column;
  font-family: "Space Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif; line-height: 1.6; color: var(--paper); -webkit-font-smoothing: antialiased;
  background: radial-gradient(120% 70vh at 20% 0%, #183a33 0%, var(--night) 55%, var(--night-deep) 100%) no-repeat, var(--night-deep); }
body::before { content: ""; position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, .035) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, .035) 1px, transparent 1px);
  background-size: 64px 64px; }
.topnav, main, .site-footer { position: relative; z-index: 1; }
main { flex: 1; }
img { max-width: 100%; height: auto; display: block; }
h1, h2, h3, p, ul { margin: 0; }
h1, h2, h3 { line-height: 1.05; letter-spacing: -.02em; font-weight: 700; text-wrap: balance; }
a { color: inherit; text-underline-offset: 3px; }
:focus-visible { outline: 2px solid var(--leaf-bright); outline-offset: 3px; border-radius: 4px; }

.skip { position: absolute; left: 16px; top: -60px; z-index: 5; padding: 8px 14px; border-radius: 8px; background: var(--leaf-bright); color: var(--night-deep); font-weight: 700; text-decoration: none; }
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: calc(1080px + var(--gutter) * 2); margin: 0 auto; padding-left: var(--gutter); padding-right: var(--gutter); }

/* ── Encabezado ───────────────────────────────────────────────────── */
.topnav { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-top: 22px; padding-bottom: 22px; }
.brand { display: inline-flex; align-items: center; gap: 10px; font-size: 18px; font-weight: 700; letter-spacing: -.01em; text-decoration: none; }
.brand-mark { width: 14px; height: 14px; border: 2.5px solid var(--leaf-bright); background: var(--night); }
.langpill { display: flex; overflow: hidden; border: 1px solid rgba(255, 255, 255, .25); border-radius: 6px; font-size: 12px; font-weight: 500; }
.langpill > * { padding: 5px 10px; color: var(--paper); text-decoration: none; }
.langpill a:hover { background: rgba(255, 255, 255, .08); }
.langpill [aria-current] { background: var(--leaf-bright); color: var(--night-deep); font-weight: 700; }
.langpill a:focus-visible { outline-offset: -2px; }

/* ── Hero ─────────────────────────────────────────────────────────── */
.hero { padding-top: 72px; padding-bottom: 40px; }
.hero h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); max-width: 16em; }
.lead { margin-top: 22px; max-width: 36em; font-size: 1.1875rem; line-height: 1.5; color: var(--paper-soft); text-wrap: pretty; }

/* ── Secciones ────────────────────────────────────────────────────── */
.section { padding-top: 56px; padding-bottom: 40px; }
.section > h2 { display: flex; align-items: center; gap: 12px; font-size: .875rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--leaf-bright); }
.section > h2::before { content: ""; width: 9px; height: 9px; border: 2px solid var(--leaf-bright); }

.app-card { margin-top: 26px; padding: 36px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 44px; align-items: center;
  border-radius: 16px; background: var(--panel); box-shadow: 0 24px 60px rgba(0, 0, 0, .45), 0 0 0 1px var(--line); }
.app-head { display: flex; align-items: center; gap: 14px; }
.app-head img { width: 56px; height: 56px; flex: none; }
.app-head h3 { font-size: 1.75rem; }
.app-head small { display: block; margin-top: 5px; font-size: 13px; font-weight: 400; letter-spacing: 0; color: var(--paper-dim); }
.app-line { margin-top: 20px; font-size: 1.0625rem; line-height: 1.55; color: var(--paper); text-wrap: pretty; }
.facts { list-style: none; margin-top: 20px; padding: 0; display: grid; gap: 10px; font-size: .9875rem; line-height: 1.5; color: var(--paper-soft); }
.facts li { position: relative; padding-left: 22px; }
.facts li::before { content: ""; position: absolute; left: 0; top: .5em; width: 9px; height: 9px; border: 2px solid var(--leaf-bright); }
.app-shot img { border-radius: 8px; box-shadow: 0 30px 60px rgba(0, 0, 0, .55), 0 0 0 1px rgba(255, 255, 255, .08); }
.app-shot figcaption { margin-top: 12px; font-size: 13px; color: var(--paper-dim); }
.app-shot { margin: 0; }
.more { margin-top: 22px; font-size: .9375rem; color: var(--paper-dim); }

.button { display: inline-flex; align-items: center; gap: 8px; margin-top: 28px; padding: 14px 22px; border-radius: 10px; font-size: 16px; font-weight: 700; text-decoration: none;
  transition: transform .25s var(--ease-out), box-shadow .25s var(--ease-out); }
.button-green { background: var(--leaf-bright); color: var(--night-deep); }
.button-green:hover { transform: translateY(-2px); box-shadow: 0 14px 30px rgba(61, 220, 99, .25); }
.button-green:focus-visible { outline-offset: 4px; border-radius: 10px; }

.contact p { margin-top: 20px; max-width: 36em; font-size: 1.0625rem; color: var(--paper-soft); }
.contact .mail { display: inline-block; margin-top: 10px; font-size: clamp(1.25rem, 4.6vw, 1.75rem); font-weight: 600; letter-spacing: -.01em; color: var(--leaf-bright); overflow-wrap: anywhere; }
.contact .mail:hover { color: var(--paper); }

/* ── Pie ──────────────────────────────────────────────────────────── */
.site-footer { margin-top: 48px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: var(--paper-dim); }
.site-footer .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px 28px; padding-top: 26px; padding-bottom: 34px; }
.site-footer b { color: var(--paper); font-weight: 600; }
.site-footer a:hover { color: var(--paper); }

/* ── 404 ──────────────────────────────────────────────────────────── */
.notfound { padding-top: 96px; padding-bottom: 96px; }
.notfound h1 { font-size: clamp(2rem, 4.5vw, 3rem); }

/* ── Pantallas angostas ───────────────────────────────────────────── */
@media (max-width: 899px) {
  :root { --gutter: 20px; }
  .topnav { padding-top: 16px; padding-bottom: 16px; }
  .hero { padding-top: 44px; padding-bottom: 24px; }
  .lead { font-size: 1.0625rem; }
  .section { padding-top: 40px; padding-bottom: 28px; }
  .app-card { grid-template-columns: minmax(0, 1fr); gap: 28px; padding: 22px; border-radius: 14px; }
  .app-shot { order: -1; }
  .app-head img { width: 48px; height: 48px; }
  .app-head h3 { font-size: 1.5rem; }
  .button { width: 100%; justify-content: center; }
  .notfound { padding-top: 56px; padding-bottom: 56px; }
  .notfound .button { width: auto; }
}

@media (prefers-reduced-motion: reduce) {
  .button { transition: none; }
  .button-green:hover { transform: none; }
}
