/* ============================================================
   reset.css — normalize, box-sizing y variables globales (:root)
   Agenc'IAs Panamá
   ============================================================ */

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

:root {
  /* --- Paleta: azul marino / crema / dorado (logo Agenc'IAs Panamá) --- */
  --bg: #071025;            /* azul marino profundo (fondo del logo) */
  --bg-2: #0b1733;          /* fondo alterno sutil */
  --cream: #f5f2e9;         /* texto principal */
  --cream-soft: #c3c9d6;    /* texto secundario */
  --green: #cea44c;         /* acento dorado (logo) */
  --green-light: #e6c473;   /* variante clara para hovers */
  --green-deep: #a8842f;    /* dorado profundo */
  --teal: #6f8fd0;          /* azul secundario (tech) */

  /* superficies translúcidas para tarjetas */
  --surface: rgba(13, 26, 54, 0.55);
  --surface-2: rgba(18, 33, 64, 0.72);
  --surface-line: rgba(206, 164, 76, 0.16);
  --surface-line-strong: rgba(206, 164, 76, 0.34);

  /* tipografía */
  --font-display: 'Playfair Display', Georgia, 'Times New Roman', serif;
  --font-body: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', monospace;

  /* sombras / glow */
  --glow: 0 0 32px rgba(206, 164, 76, 0.28);
  --glow-soft: 0 0 18px rgba(206, 164, 76, 0.16);
  --shadow-card: 0 18px 48px rgba(0, 0, 0, 0.45);

  /* radios y transiciones */
  --radius: 3px;
  --radius-lg: 4px;
  --ease: cubic-bezier(0.2, 0.9, 0.3, 1);
  --t-fast: 0.22s var(--ease);
  --t-med: 0.4s var(--ease);

  /* layout */
  --container: 1180px;
  --container-narrow: 760px;
  --nav-h: 72px;
}

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

body {
  font-family: var(--font-body);
  background-color: var(--bg);
  color: var(--cream);
  line-height: 1.6;
  font-size: 16px;
  min-height: 100vh;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

img,
picture,
svg,
canvas {
  display: block;
  max-width: 100%;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
  background: none;
  border: none;
}

ul {
  list-style: none;
}

h1, h2, h3, h4 {
  font-weight: 600;
  line-height: 1.12;
}

em {
  font-style: italic;
}

.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;
}

::selection {
  background: rgba(206, 164, 76, 0.3);
  color: var(--cream);
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
