/* ==========================================================
   Mincastudio · base.css
   Variables, reinicio, tipografía, contenedor y botones.
   Los colores son provisionales hasta tener el logo.
   ========================================================== */

:root {
  --tinta: #0E1014;          /* fondo oscuro */
  --tinta-2: #171A21;
  --papel: #F5F4EF;          /* fondo suave */
  --blanco: #FFFFFF;
  --texto: #1B1E24;
  --texto-suave: #5B616E;
  --linea: #E3E1DA;
  --acento: #006DF9;         /* color de acción */
  --acento-hover: #0025DE;
  --acento-claro: #E6F2FF;
  --acento-en-oscuro: #00B9FB; /* acento legible sobre fondo oscuro */
  --acento-texto: #005BE0;     /* textos pequeños azules sobre fondo claro (contraste AA) */
  /* Colores oficiales del isotipo: cian #00B9FB → azul #006DF9 → azul profundo #0025DE */
  --degradado: linear-gradient(135deg, #00B9FB 0%, #006DF9 50%, #0025DE 100%);
  --degradado-boton: linear-gradient(120deg, #006DF9 0%, #0025DE 100%);
  --verde: #22C55E;
  --whatsapp: #25D366;

  --fuente: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --radio: 18px;
  --sombra: 0 24px 50px -24px rgba(14, 16, 20, .28);
  --margen: clamp(16px, 4vw, 56px);
  --alto-cabecera: 76px;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: var(--alto-cabecera); -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--fuente);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--texto);
  background: var(--blanco);
  -webkit-font-smoothing: antialiased;
}

body.sin-scroll { overflow: hidden; }

img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font: inherit; }

h1, h2, h3, h4 { margin: 0; line-height: 1.1; letter-spacing: -.025em; font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-weight: 700; }
p { margin: 0; }

.contenedor {
  width: 100%;
  max-width: 1440px;
  margin-inline: auto;
  padding-inline: var(--margen);
}

.oculto {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

:focus-visible { outline: 3px solid var(--acento); outline-offset: 3px; border-radius: 6px; }

/* Iconos de trazo */
.icono {
  width: 1.25em; height: 1.25em; flex: none;
  fill: none; stroke: currentColor; stroke-width: 1.8;
  stroke-linecap: round; stroke-linejoin: round;
}

/* Botones */
.boton {
  display: inline-flex; align-items: center; justify-content: center; gap: .6em;
  padding: .95em 1.6em;
  border: 1.5px solid transparent; border-radius: 999px;
  font-weight: 700; font-size: .95rem; line-height: 1.2;
  cursor: pointer;
  transition: background-color .25s, border-color .25s, color .25s, transform .25s;
}
.boton:hover { transform: translateY(-2px); }
.boton--acento { background: var(--degradado-boton); background-size: 180% 100%; background-position: 0 0; color: #fff; transition: background-position .4s, border-color .25s, color .25s, transform .25s; }
.boton--acento:hover { background-position: 100% 0; }
.boton--borde-claro { border-color: rgba(255, 255, 255, .28); color: #fff; }
.boton--borde-claro:hover { border-color: #fff; }
.boton--ancho { width: 100%; }

/* Secciones */
.seccion { padding-block: clamp(72px, 9vw, 128px); }
.seccion--papel { background: var(--papel); }
.seccion--oscura { background: var(--tinta); color: #E9EAEE; }

.antetitulo {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 16px;
  font-size: .8rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase;
  color: var(--acento-texto);
}
.antetitulo::before { content: ''; width: 24px; height: 2px; background: currentColor; }
.antetitulo--claro { color: var(--acento-en-oscuro); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
