/* ==========================================================================
   Base: reset, elementos y utilidades
   ========================================================================== */
*, *::before, *::after { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.55;
  color: var(--c-text);
  background: var(--c-bg);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, figure, address { margin: 0; }
address { font-style: normal; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul[class], ol[class] { list-style: none; margin: 0; padding: 0; }

[hidden] { display: none !important; }
[id] { scroll-margin-top: var(--header-offset); }

:focus-visible {
  outline: 2px solid var(--c-accent);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: clamp(16px, 4vw, 32px);
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 100;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  background: var(--c-accent);
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}
.skip-link:focus { left: 8px; }

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

.eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--c-muted);
  margin-bottom: 10px;
}

/* --- Íconos --- */
.icon {
  display: inline-block;
  width: 20px;
  height: 20px;
  flex: none;
}
.icon svg { width: 100%; height: 100%; }

/* --- Botones --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 20px;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 15px;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  transition: background-color .15s var(--ease), border-color .15s var(--ease), transform .15s var(--ease), box-shadow .15s var(--ease);
  -webkit-tap-highlight-color: transparent;
}
.btn:active { transform: translateY(1px); }

.btn--primary { background: var(--c-accent); color: var(--c-accent-contrast); }
.btn--primary:hover { background: var(--c-accent-hover); box-shadow: var(--shadow); }
.btn--primary:disabled,
.btn--primary[aria-disabled="true"] {
  background: #94A3B8;
  box-shadow: none;
  cursor: not-allowed;
  transform: none;
}

.btn--ghost { background: transparent; color: var(--c-accent); border-color: var(--c-border-strong); }
.btn--ghost:hover { background: var(--c-bg-alt); border-color: var(--c-accent); }

.btn--light { background: #fff; color: var(--c-accent); }
.btn--light:hover { background: var(--c-bg-soft); }

.btn--sm { min-height: 38px; padding: 8px 16px; font-size: 14px; }
.btn--lg { min-height: 54px; padding: 14px 24px; font-size: 16px; }
.btn--block { width: 100%; }

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