/* Tokens y reset. Mantiene los nombres del CMS (--brand-*) para que los
   ports de header/footer sean copia literal, y agrega los de esta landing. */

:root {
  /* Marca — mismos valores que assets/global.css del HubSpot CMS.
     Fuente de verdad única: si allá cambian, se cambian acá. */
  --brand-blue: #004a8f;
  --brand-red: #e70033;
  --brand-white: #ffffff;
  --surface-light: #f8faff;
  --text-default: #272833;

  --container-max: 1200px;
  --container-padding: 1.25rem;
  --section-spacing: 2.5rem;
  --radius: 12px;
}

@media (min-width: 768px) {
  :root {
    --container-padding: 2rem;
    --section-spacing: 4rem;
  }
}

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

html {
  scroll-behavior: smooth;
}

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

body {
  margin: 0;
  font-family: 'Roboto', system-ui, -apple-system, 'Segoe UI', Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-default);
  background-color: var(--brand-white);
  -webkit-font-smoothing: antialiased;
}

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

a:hover,
a:focus-visible {
  text-decoration: underline;
}

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

h1, h2, h3 {
  line-height: 1.2;
  margin: 0 0 0.5em;
}

:focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: var(--container-padding);
}

.section-title {
  font-size: 1.75rem;
  color: var(--brand-blue);
  margin-bottom: 0.25rem;
}

.section-subtitle {
  margin: 0 0 1.75rem;
  color: #55607a;
}

@media (min-width: 768px) {
  .section-title { font-size: 2.25rem; }
}

/* Botones */
.btn {
  display: inline-block;
  padding: 0.85rem 1.75rem;
  border: 2px solid transparent;
  border-radius: 50rem;
  font-weight: 700;
  font-size: 1rem;
  text-align: center;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.15s ease;
}

.btn:hover,
.btn:focus-visible {
  text-decoration: none;
  transform: translateY(-1px);
}

.btn--primary {
  background-color: var(--brand-red);
  color: var(--brand-white);
}

.btn--primary:hover,
.btn--primary:focus-visible {
  background-color: #b80029;
}

.btn--outline {
  background-color: transparent;
  color: var(--brand-blue);
  border-color: var(--brand-blue);
}

.btn--outline:hover,
.btn--outline:focus-visible {
  background-color: var(--brand-blue);
  color: var(--brand-white);
}

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