@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Variable.ttf") format("truetype");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  --bg: #ffffff;
  --surface: #fff;
  --surface-2: #f5f8fa;
  --text: #0e315f;
  --muted: #516988;
  --border: #dbe4ec;
  --primary: #073568;
  --primary-2: #164a7e;
  --accent: #409f80;
  --shadow: 0 4px 14px rgba(20, 56, 91, .055);
  --radius: 10px;
  --header: rgba(255, 255, 255, .94);
}

html[data-theme="dark"] {
  --bg: #0e141a;
  --surface: #151c23;
  --surface-2: #1a232c;
  --text: #edf1f5;
  --muted: #a9b3bd;
  --border: #303a44;
  --primary: #315b91;
  --primary-2: #4574aa;
  --accent: #69b197;
  --shadow: 0 8px 24px rgba(0, 0, 0, .22);
  --header: rgba(14, 20, 26, .88);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Montserrat", "Avenir Next", Avenir, "Helvetica Neue", Arial, sans-serif;
  font-size: 15px;
  line-height: 1.5;
}

button,
input,
select,
textarea {
  font: inherit;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  display: block;
  max-width: 100%;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(2.75rem, 4vw, 3.75rem);
  font-weight: 650;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  font-size: clamp(1.75rem, 2.6vw, 2.55rem);
  line-height: 1.16;
  letter-spacing: 0;
}

:focus-visible {
  outline: 3px solid color-mix(in srgb, var(--accent) 65%, transparent);
  outline-offset: 3px;
}

.section-shell {
  width: min(1552px, calc(100% - 72px));
  margin-inline: auto;
}

.section-block {
  padding-block: 68px;
}

.section-heading {
  max-width: 820px;
  margin-bottom: 30px;
}

.eyebrow {
  color: var(--accent);
  font-size: .76rem;
  font-weight: 800;
  letter-spacing: .12em;
}

.lead {
  max-width: 680px;
  color: var(--muted);
  font-size: 1.04rem;
  line-height: 1.55;
}

.muted {
  color: var(--muted);
}

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--text);
  color: var(--bg);
  transform: translateY(-150%);
}

.skip-link:focus {
  transform: translateY(0);
}

.fragment-error::before {
  content: "No fue posible cargar los componentes compartidos. Abra el proyecto mediante un servidor local.";
  display: block;
  padding: 16px 24px;
  background: var(--surface);
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
