/* ==========================================================================
   base.css — tokens de diseño, reset y utilidades
   ========================================================================== */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,400;0,500;0,600;0,700;1,500;1,600&display=swap");

:root {
  --background: #fbfcfe;
  --foreground: #17283a;
  --card: #ffffff;
  --primary: #0e2a42;
  --primary-dark: #0a1f33;
  --primary-foreground: #f5f8fb;
  --secondary: #e9eef4;
  --muted: #f1f4f8;
  --muted-foreground: #5b6b7c;
  --accent: #c7242b;
  --accent-dark: #a81c22;
  --accent-soft: #fbeaea;
  --border: #d9e0e8;
  --whatsapp: #1f8a4c;
  --whatsapp-fab: #25a85a;

  --font-sans: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 0.5rem;
  --radius-lg: 0.85rem;
  --shadow-sm: 0 1px 3px rgba(14, 42, 66, 0.08);
  --shadow-md: 0 8px 24px rgba(14, 42, 66, 0.12);
  --container: 1200px;
  --header-h: 65px;
  --topbar-h: 28px;
}

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

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

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.6;
  color: var(--foreground);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

img, svg, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; letter-spacing: -0.01em; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* Utilidades */
.container { width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: 1.25rem; }
.section { padding-block: 4rem; }
.section--muted { background: var(--muted); }
.section--dark { background: var(--primary); color: var(--primary-foreground); }
.section-title { font-size: 1.875rem; text-align: center; }
.section-subtitle { margin-top: 0.6rem; text-align: center; color: var(--muted-foreground); }
.section--dark .section-subtitle { color: rgba(245, 248, 251, 0.7); }
.text-accent { color: var(--accent); }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.hidden { display: none !important; }

@media (min-width: 640px) { .section { padding-block: 6rem; } .section-title { font-size: 2.25rem; } }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }
