:root{
  --bg: #f7f7f8;
  --text: #111827;
  --muted: #4b5563;
  --card: #ffffff;
  --border: #e5e7eb;

  /* Brand colors */
  --brand-blue: #2E8CB8;   /* azul del logo */
  --brand-red: #D72638;    /* rojo del logo */
  --brand-dark: #1f2937;

  --shadow: 0 10px 25px rgba(0,0,0,.06);
  --radius: 14px;
}

*{ box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body{
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

.container{
  width: min(980px, calc(100% - 32px));
  margin: 0 auto;
}


.site-logo {
  max-width: 240px;
  height: auto;
  margin-bottom: 18px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

.site-header{
  padding: 42px 0 24px;
  background: linear-gradient(180deg, #ffffff 0%, rgba(255,255,255,.85) 60%, rgba(255,255,255,0) 100%);
  border-bottom: 1px solid var(--border);
}

.kicker{
  font-size: 13px;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 10px;
}

h1{
  font-size: 44px;
  line-height: 1.1;
  margin: 0 0 10px 0;
}

.subtitle{
  margin: 0 0 18px 0;
  color: var(--muted);
  font-size: 18px;
  max-width: 70ch;
}

.cta-row{
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 14px 0 18px;
}

.btn{
  display: inline-block;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  border: 1px solid var(--border);
  background: var(--accent);
  color: white;
  font-weight: 600;
  font-size: 14px;
}
.btn:hover{ opacity: .92; }

.btn-secondary{
  background: white;
  color: var(--accent);
}

.callout {
  display: inline-block;
  margin-top: 6px;
  padding: 10px 14px;
  border-radius: 12px;
  border: 1px solid var(--brand-red);
  background: rgba(215, 38, 56, 0.08);
  font-size: 14px;
}

.site-nav{
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(247,247,248,.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.site-nav .container{
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 10px 0;
}

.site-nav a{
  color: var(--accent2);
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 10px;
  border: 1px solid transparent;
  white-space: nowrap;
  font-size: 14px;
}
.site-nav a:hover{
  border-color: var(--border);
  background: white;
}

.card{
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 20px 18px;
  margin: 18px 0;
}

h2 {
  margin: 0 0 10px 0;
  font-size: 22px;
  color: var(--brand-blue);
  border-left: 4px solid var(--brand-blue);
  padding-left: 10px;
}
h3 {
  margin: 14px 0 8px;
  font-size: 16px;
  color: var(--brand-dark);
}

p{ margin: 10px 0; color: var(--text); }
ul{ margin: 10px 0 0 18px; }
li{ margin: 6px 0; }

.note{
  color: var(--muted);
  font-size: 14px;
}

.callout-inline{
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px dashed var(--border);
  color: var(--muted);
}

.two-col{
  columns: 2;
  column-gap: 24px;
}
@media (max-width: 780px){
  h1{ font-size: 34px; }
  .two-col{ columns: 1; }
}

.site-footer{
  padding: 18px 0 36px;
  color: var(--muted);
  font-size: 13px;
  text-align: center;
}
.site-footer a{ color: inherit; }

.header-flex {
  display: flex;
  align-items: center;
  gap: 28px;
}

.header-text {
  flex: 1;
}

@media (max-width: 700px) {
  .header-flex {
    flex-direction: column;
    text-align: center;
  }

  .site-logo {
    max-width: 160px;
  }
}

/* --- NAV FIX: keep it visible, no blur --- */
.site-nav {
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #ffffff;
  border-bottom: 2px solid var(--brand-blue);
}

/* Optional: add a subtle shadow so it reads well on scroll */
.site-nav {
  box-shadow: 0 6px 18px rgba(0,0,0,.06);
}

.site-nav a {
  color: var(--brand-dark);
}

.site-nav a:hover {
  color: var(--brand-blue);
  background: rgba(46, 140, 184, 0.08);
}

a {
  color: var(--brand-blue);
}

a:hover {
  text-decoration: underline;
}
