/* evalu.ar — landing. Estilo sketch del manual de identidad v2:
   papel con grano, contorno a mano (dos pasadas que no coinciden), rayado a
   -35°, guías en Sky y notas manuscritas en Caveat. Toda la pieza va en sketch:
   el manual no permite mezclarlo con la versión limpia. */

@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fuentes/inter-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD; }
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap;
  src: url(fuentes/inter-latin-ext.woff2) format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113,
    U+2C60-2C7F, U+A720-A7FF; }
@font-face { font-family: "Caveat"; font-style: normal; font-weight: 700; font-display: swap;
  src: url(fuentes/caveat-latin.woff2) format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,
    U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215,
    U+FEFF, U+FFFD; }

:root {
  --deep: #173B78;  --check: #4A90E2;  --sky: #8CC7F7;  --ice: #EAF4FC;
  --paper: #F7F1E3; --ink: #0E2A5C;    --graphite: #263238;
  --raya-deep: #3D63A8;               /* rayado sketch sobre Deep Blue (manual §6) */
  --gris: #4F5F69;                    /* Graphite aclarado, para bajadas */
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; color: var(--graphite);
  font: 17px/1.6 "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background-color: var(--paper);
  /* grano sutil del papel */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220'%3E%3Cfilter id='g'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .35 0 0 0 0 .3 0 0 0 0 .2 0 0 0 .05 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23g)'/%3E%3C/svg%3E");
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--deep); }
h1, h2, h3 { color: var(--deep); line-height: 1.2; }
.ancho { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }

/* ------------------------------------------------------------- barra --- */
.barra {
  position: sticky; top: 0; z-index: 10;
  background: rgba(247, 241, 227, .93); backdrop-filter: blur(6px);
  border-bottom: 2px solid var(--ink);
}
.barra-in { display: flex; align-items: center; justify-content: space-between;
            gap: 16px; min-height: 64px; }
/* Isotipo + el nombre como texto (decisión de Miguel, 06/10). */
.barra-logo { display: flex; align-items: center; gap: 9px; text-decoration: none; }
.barra-logo .barra-iso { width: auto; height: 36px; }
.barra-nombre { font-weight: 800; font-size: 23px; letter-spacing: -.02em;
                color: var(--deep); line-height: 1; }
.barra nav { display: flex; align-items: center; gap: 22px; }
.barra nav a:not(.boton) { text-decoration: none; font-weight: 600; font-size: 15px; }
.barra nav a:not(.boton):hover { text-decoration: underline; text-decoration-color: var(--check);
                                 text-decoration-thickness: 2px; text-underline-offset: 4px; }

/* ------------------------------------------------------------ botones --- */
/* Deep Blue con texto blanco (10:1); Check Blue sobre blanco no llega a 4,5:1. */
.boton {
  display: inline-block; text-decoration: none; font-weight: 700;
  background: var(--deep); color: #fff; padding: 13px 26px;
  border: 2px solid var(--ink);
  border-radius: 255px 14px 225px 14px / 14px 225px 14px 255px;   /* a mano */
  box-shadow: 3px 3px 0 var(--ink);
  transition: transform .12s, box-shadow .12s;
}
.boton:hover { transform: translate(-1px, -1px); box-shadow: 4px 4px 0 var(--ink); }
.boton:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--ink); }
.boton:focus-visible { outline: 3px solid var(--check); outline-offset: 3px; }
.boton-2 { background: #fff; color: var(--deep); }
.boton-chico { padding: 7px 16px; font-size: 15px; box-shadow: 2px 2px 0 var(--ink); }

/* ------------------------------------------------------------ portada --- */
.portada { text-align: center; padding-top: 36px; padding-bottom: 40px; }
/* Logo de la portada: a su tamaño real como máximo, para que no se vea
   borroso al agrandarlo (358 px). */
.portada-logo { width: min(358px, 100%); margin: 0 auto 28px; }
.portada h1 { font-size: clamp(26px, 4.2vw, 40px); max-width: 820px; margin: 0 auto 16px;
              letter-spacing: -.01em; }
.bajada { font-size: clamp(17px, 2vw, 20px); color: var(--gris); max-width: 720px;
          margin: 0 auto 30px; }
.acciones { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
/* Caveat sólo en frases cortas (manual §7). */
.nota-mano { font: 700 27px/1.2 "Caveat", cursive; color: var(--deep); margin: 30px 0 0;
             transform: rotate(-1.5deg); }

/* ------------------------------------------------- hoja / contorno a mano --- */
/* Dos pasadas que no coinciden: el borde real y un ::after corrido y girado. */
.hoja, .tarjeta, .paso { position: relative; background: #fff;
  border: 2px solid var(--ink);
  border-radius: 255px 12px 225px 12px / 12px 225px 12px 255px; }
.hoja::after, .tarjeta::after, .paso::after {
  content: ""; position: absolute; inset: -5px -3px -2px -6px; pointer-events: none;
  border: 1.5px solid var(--ink); opacity: .55;
  border-radius: 12px 225px 12px 255px / 255px 12px 225px 12px;
  transform: rotate(-.6deg);
}

/* ------------------------------------------------------------- boceto --- */
.boceto { padding-top: 10px; padding-bottom: 56px; }
.boceto .hoja { padding: 12px; margin: 0; transform: rotate(.6deg); }
.boceto .hoja img { border-radius: 4px; }
.boceto figcaption { font: 700 24px/1.2 "Caveat", cursive; color: var(--deep);
                     text-align: center; padding: 12px 0 2px; }

/* ----------------------------------------------- títulos de sección + guía --- */
section h2 { font-size: clamp(26px, 3.4vw, 34px); text-align: center; margin: 0; }
/* Línea de diseño en Sky que se desvanece en las puntas (manual §2.3): nunca renglones. */
.guia { height: 2px; width: min(360px, 70%); margin: 12px auto 36px;
        background: linear-gradient(90deg, transparent, var(--sky) 20%, var(--sky) 80%, transparent); }

/* -------------------------------------------------------------- pasos --- */
.pasos { padding-top: 24px; padding-bottom: 64px; }
.lista-pasos { list-style: none; margin: 0; padding: 0; display: grid; gap: 28px;
               grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.paso { padding: 52px 22px 22px; margin-top: 26px; }
.paso h3 { font-size: 22px; margin: 0 0 8px; }
.paso p { margin: 0; font-size: 16px; }
/* Número con relleno a lápiz: rayado -35° sobre Deep Blue. */
.paso .num {
  position: absolute; top: -26px; left: 22px; width: 54px; height: 54px; z-index: 1;
  display: grid; place-items: center;
  font: 700 30px/1 "Caveat", cursive; color: #fff;
  background: repeating-linear-gradient(-35deg, var(--deep) 0 4px, var(--raya-deep) 4px 6px);
  border: 2px solid var(--ink); border-radius: 50% 46% 52% 48% / 48% 52% 46% 50%;
  box-shadow: 2px 2px 0 var(--ink);
}

/* ------------------------------------------------------------ razones --- */
.razones { padding-bottom: 64px; }
.grilla { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(290px, 1fr)); }
.tarjeta { padding: 24px 24px 22px; }
.tarjeta h3 { font-size: 19px; margin: 0 0 8px; padding-left: 30px; position: relative; }
/* El tilde de la marca como viñeta. */
.tarjeta h3::before {
  content: ""; position: absolute; left: 0; top: .1em; width: 20px; height: 16px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 16'%3E%3Cpath d='M2 8.5 L7.5 14 L18 2' fill='none' stroke='%234A90E2' stroke-width='3.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
}
.tarjeta p { margin: 0; font-size: 16px; }

/* ------------------------------------------------------------- cierre --- */
.cierre { padding-bottom: 72px; }
.tarjeta-cierre { text-align: center; padding: 38px 24px; background: var(--ice); }
.tarjeta-cierre h2 { margin-bottom: 10px; }
.tarjeta-cierre p { margin: 0 auto 24px; max-width: 560px; }

/* --------------------------------------------------------------- pie --- */
.pie { border-top: 2px solid var(--ink); padding: 26px 0 34px; text-align: center;
       font-size: 14px; color: var(--gris); }
.pie p { margin: 4px 0; }
.pie .claim { font: 700 24px/1.2 "Caveat", cursive; color: var(--deep); }
.pie .firma { margin-top: 10px; font-size: 13px; }
.pie .firma a { font-weight: 600; }

/* ------------------------------------------------------------ celular --- */
@media (max-width: 640px) {
  body { font-size: 16px; }
  .barra-in { min-height: 56px; }
  .barra-logo .barra-iso { height: 30px; }
  .barra-nombre { font-size: 20px; }
  .barra nav { gap: 12px; }
  .barra nav a:not(.boton) { display: none; }
  .portada { padding-top: 34px; }
  .boceto .hoja { transform: none; padding: 8px; }
  .grilla, .lista-pasos { gap: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .boton { transition: none; }
}

/* Enlace al manual (02/11) */
.tarjeta-cierre .manual-enlace { margin: 22px auto 0; font-size: 15px; }
