/* shell.css — tokens, reset, base typography (Aclaria Servicios) */

@font-face {
  font-family: "Aclaria Display";
  font-style: normal;
  font-weight: 600 700;
  font-display: swap;
  src: local("Source Serif 4"), local("Source Serif Pro Semibold");
}

@font-face {
  font-family: "Aclaria Sans";
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: local("Inter"), local("Segoe UI"), local("Helvetica Neue");
}

:root {
  --teal: #339999;
  --teal-deep: #0F7A7A;
  --sky: #99CCFF;
  --sky-soft: #DCEBFA;
  --ink: #1A2A2E;
  --ink-2: #3B5358;
  --ink-3: #6B838A;
  --paper: #FFFFFF;
  --surface: #F2F8F9;
  --surface-2: #E8F1F3;
  --line: #D9E6E8;
  --ok: #2E8E5C;
  --shadow-1: 0 1px 2px rgba(26,42,46,.06), 0 6px 14px rgba(26,42,46,.05);
  --shadow-2: 0 4px 20px rgba(15,122,122,.12);
  --radius-s: 6px;
  --radius-m: 12px;
  --radius-l: 18px;
  --display: "Aclaria Display", Georgia, "Times New Roman", serif;
  --sans: "Aclaria Sans", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

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

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img, picture, svg { display: block; max-width: 100%; height: auto; }

a {
  color: var(--teal-deep);
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
a:hover { color: var(--ink); }

button { font: inherit; cursor: pointer; }

.container {
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 20px;
}

.jump-to-main {
  position: absolute;
  left: 16px;
  top: -120px;
  background: var(--ink);
  color: var(--paper);
  padding: 10px 16px;
  border-radius: var(--radius-s);
  z-index: 9999;
  transition: top .2s ease;
}
.jump-to-main:focus { top: 16px; outline: 2px solid var(--teal); }

.sr-only {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: var(--radius-s);
  border: 1px solid transparent;
  font-weight: 600;
  font-size: 15px;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
}
.btn-primary { background: var(--teal-deep); color: #fff; }
.btn-primary:hover { background: #0a5f5f; color: #fff; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--teal); color: var(--teal-deep); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}

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