/* ==========================================================================
   base.css — reset, variables globales y tipografía base
   ========================================================================== */

*,
:before,
:after {
  box-sizing: border-box;
  border-width: 0;
  border-style: solid;
  border-color: #e5e7eb;
}
:before,
:after {
  --tw-content: "";
}
html,
:host {
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  -moz-tab-size: 4;
  -o-tab-size: 4;
  tab-size: 4;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
  font-feature-settings: normal;
  font-variation-settings: normal;
  -webkit-tap-highlight-color: transparent;
}
body {
  margin: 0;
  line-height: inherit;
}
hr {
  height: 0;
  color: inherit;
  border-top-width: 1px;
}
abbr:where([title]) {
  -webkit-text-decoration: underline dotted;
  text-decoration: underline dotted;
}
h1, h2, h3, h4, h5, h6 {
  font-size: inherit;
  font-weight: inherit;
}
a {
  color: inherit;
  text-decoration: inherit;
}
b, strong {
  font-weight: bolder;
}
code, kbd, samp, pre {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace;
  font-feature-settings: normal;
  font-variation-settings: normal;
  font-size: 1em;
}
small {
  font-size: 80%;
}
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline;
}
sub { bottom: -0.25em; }
sup { top: -0.5em; }
table {
  text-indent: 0;
  border-color: inherit;
  border-collapse: collapse;
}
button, input, optgroup, select, textarea {
  font-family: inherit;
  font-feature-settings: inherit;
  font-variation-settings: inherit;
  font-size: 100%;
  font-weight: inherit;
  line-height: inherit;
  letter-spacing: inherit;
  color: inherit;
  margin: 0;
  padding: 0;
}
button, select {
  text-transform: none;
}
button, input:where([type="button"]), input:where([type="reset"]), input:where([type="submit"]) {
  -webkit-appearance: button;
  background-color: transparent;
  background-image: none;
}
:-moz-focusring {
  outline: auto;
}
:-moz-ui-invalid {
  box-shadow: none;
}
progress {
  vertical-align: baseline;
}
::-webkit-inner-spin-button,
::-webkit-outer-spin-button {
  height: auto;
}
[type="search"] {
  -webkit-appearance: textfield;
  outline-offset: -2px;
}
::-webkit-search-decoration {
  -webkit-appearance: none;
}
::-webkit-file-upload-button {
  -webkit-appearance: button;
  font: inherit;
}
summary {
  display: list-item;
}
blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre {
  margin: 0;
}
fieldset {
  margin: 0;
  padding: 0;
}
legend {
  padding: 0;
}
ol, ul, menu {
  list-style: none;
  margin: 0;
  padding: 0;
}
dialog {
  padding: 0;
}
textarea {
  resize: vertical;
}
input::-moz-placeholder,
textarea::-moz-placeholder {
  opacity: 1;
  color: #9ca3af;
}
input::placeholder,
textarea::placeholder {
  opacity: 1;
  color: #9ca3af;
}
button, [role="button"] {
  cursor: pointer;
}
:disabled {
  cursor: default;
}
img, svg, video, canvas, audio, iframe, embed, object {
  display: block;
  vertical-align: middle;
}
img, video {
  max-width: 100%;
  height: auto;
}
[hidden]:where(:not([hidden="until-found"])) {
  display: none;
}

/* -- Variables de diseño -------------------------------------------------- */
:root {
  --c-black: #0b0b0c;
  --c-black-soft: #16161a;
  --c-black-900: #1c1c21;
  --c-red: #c8102e;
  --c-red-deep: #8c0f1f;
  --c-red-bright: #e21b3c;
  --c-white: #ffffff;
  --c-grey-50: #f6f6f7;
  --c-grey-100: #eceef0;
  --c-grey-300: #cfd2d6;
  --c-grey-400: #9a9ca3;
  --c-grey-600: #5b5d63;

  --f-display: "Poppins", "Liberation Sans", system-ui, sans-serif;
  --f-body: "Poppins", "Liberation Sans", system-ui, -apple-system, sans-serif;

  --container: 1240px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 22px;

  --shadow-card: 0 10px 30px -12px rgba(11, 11, 12, .35);
  --shadow-pop: 0 20px 45px -15px rgba(11, 11, 12, .5);

  --ease: cubic-bezier(.22, 1, .36, 1);
}

/* -- Elementos base -------------------------------------------------------- */
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family: var(--f-body);
  color: var(--c-black);
  background: var(--c-white);
  -webkit-font-smoothing: antialiased;
  line-height: 1.6;
}
img {
  max-width: 100%;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul {
  margin: 0;
  padding: 0;
  list-style: none;
}
h1, h2, h3, h4, p {
  margin: 0;
}
button {
  font-family: inherit;
  cursor: pointer;
}
input, textarea, select {
  font-family: inherit;
}

/* -- Layout container ------------------------------------------------------ */
.container {
  width: 100%;
}
@media (min-width: 640px) {
  .container { max-width: 640px; }
}
@media (min-width: 768px) {
  .container { max-width: 768px; }
}
@media (min-width: 1024px) {
  .container { max-width: 1024px; }
}
@media (min-width: 1280px) {
  .container { max-width: 1280px; }
}
@media (min-width: 1536px) {
  .container { max-width: 1536px; }
}
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
@media (min-width: 768px) {
  .container { padding: 0 40px; }
}

/* -- Tipografía global ------------------------------------------------------ */
.eyebrow {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--c-red);
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.eyebrow:before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--c-red);
  display: inline-block;
}
h1, .h1 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.04;
  font-size: clamp(2.4rem, 5.4vw, 4.6rem);
  text-transform: uppercase;
}
h2, .h2 {
  font-family: var(--f-display);
  font-weight: 800;
  letter-spacing: -.01em;
  line-height: 1.08;
  font-size: clamp(1.9rem, 3.4vw, 2.9rem);
  text-transform: uppercase;
}
h3, .h3 {
  font-family: var(--f-display);
  font-weight: 700;
  line-height: 1.2;
  font-size: clamp(1.2rem, 1.8vw, 1.5rem);
}
.lead {
  font-size: clamp(1.05rem, 1.4vw, 1.25rem);
  color: var(--c-grey-600);
  max-width: 60ch;
}
.text-muted {
  color: var(--c-grey-600);
}

/* -- Botones ----------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  font-weight: 700;
  font-size: 14px;
  letter-spacing: .04em;
  text-transform: uppercase;
  border-radius: 999px;
  border: 2px solid transparent;
  transition: transform .25s var(--ease), background .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease);
  white-space: nowrap;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn-primary {
  background: var(--c-red);
  color: var(--c-white);
}
.btn-primary:hover {
  background: var(--c-red-bright);
}
.btn-dark {
  background: var(--c-black);
  color: var(--c-white);
}
.btn-dark:hover {
  background: var(--c-black-soft);
}
.btn-outline {
  background: transparent;
  color: var(--c-white);
  border-color: #ffffff80;
}
.btn-outline:hover {
  border-color: var(--c-white);
  background: #ffffff14;
}
.btn-outline-dark {
  background: transparent;
  color: var(--c-black);
  border-color: var(--c-black);
}
.btn-outline-dark:hover {
  background: var(--c-black);
  color: var(--c-white);
}
.btn-sm {
  padding: 11px 22px;
  font-size: 12.5px;
}

/* -- Utilidades compartidas de sección --------------------------------------- */
section {
  position: relative;
}
.section {
  padding: 96px 0;
}
.section-sm {
  padding: 64px 0;
}
.section-dark {
  background: var(--c-black);
  color: var(--c-white);
}
.section-grey {
  background: var(--c-grey-50);
}
.section-head {
  max-width: 720px;
  margin-bottom: 52px;
}
.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.section-head h2 {
  margin-top: 14px;
}
.section-foot {
  margin-top: 44px;
  display: flex;
  justify-content: center;
}
.grid {
  display: grid;
  gap: 28px;
}
.grid > * {
  min-width: 0;
}
.grid-2, .grid-3, .grid-4 {
  grid-template-columns: 1fr;
}
@media (min-width: 640px) {
  .grid-2, .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .grid-6 { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 960px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}
.divider {
  width: 100%;
  height: 1px;
  background: var(--c-grey-100);
  margin: 64px 0;
}
.badge-line {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

/* -- Accesibilidad y animaciones globales ------------------------------------ */
.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--c-red);
  color: #fff;
  padding: 12px 18px;
  z-index: 999;
}
.skip-link:focus {
  left: 12px;
  top: 12px;
}
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .7s var(--ease), transform .7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}

@keyframes scrollcue {
  0% { transform: scaleY(0); transform-origin: top; }
  50% { transform: scaleY(1); transform-origin: top; }
  51% { transform-origin: bottom; }
  to { transform: scaleY(0); transform-origin: bottom; }
}
@keyframes marquee {
  0% { transform: translate(0); }
  to { transform: translate(-50%); }
}
