/* Design tokens - Torrealday Abogados */

@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url('../fonts/inter-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url('../fonts/playfair-display-600-latin.woff2') format('woff2');
}
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: 500;
  font-display: swap;
  src: url('../fonts/playfair-display-500-italic-latin.woff2') format('woff2');
}

:root {
  /* Colores */
  --brand: #0075aa;
  --brand-dark: #004f73;
  --brand-deep: #0b2536;
  --brand-deep-rgb: 11, 37, 54;
  --accent: #efbf04;
  --accent-dark: #8a6d00; /* dorado con contraste sobre fondo claro (bordes, íconos) */
  --google-star: #fbbc04; /* solo estrellas del encabezado de reseñas de Google */
  --on-dark: #e6f2f8;     /* texto claro sobre fondos oscuros */
  --ink: #0e1c26; /* negro azulado, sale de --brand-deep */
  --muted: #4b5563;
  --surface: #ffffff;
  --surface-alt: #f4f7f9;
  --line: #d5dee5;
  --wa: #0f7a40;
  --wa-dark: #0b6334;
  --error: #b42318;

  /* Espaciado */
  --space-1: 8px;
  --space-2: 16px;
  --space-3: 24px;
  --space-4: 32px;
  --space-5: 48px;
  --space-6: 64px;
  --space-7: 96px;
  --space-8: 128px;

  /* Radios */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-pill: 999px;

  /* Sombras */
  --shadow-sm: 0 8px 30px rgba(15, 26, 43, .08);
  --shadow-md: 0 14px 40px rgba(15, 26, 43, .16);

  /* Tipografía */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-sans: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;

  /* Escala (mobile primero) */
  --fs-display: 40px;  --lh-display: 46px;
  --fs-h2: 30px;       --lh-h2: 38px;
  --fs-h3: 22px;       --lh-h3: 30px;
  --fs-lead: 18px;     --lh-lead: 28px;
  --fs-num: 40px;      --lh-num: 44px;
  --fs-body: 16px;     --lh-body: 26px;
  --fs-btn: 15px;      --lh-btn: 20px;
  --fs-label: 14px;    --lh-label: 20px;

  /* Layout */
  --container-pad: 20px;
  --section-pad: 56px;
  --header-h: 92px;

  /* Movimiento */
  --ease-out: cubic-bezier(.22, .61, .36, 1);
}

@media (min-width: 768px) {
  :root {
    --fs-display: 56px;  --lh-display: 64px;
    --fs-h2: 38px;       --lh-h2: 46px;
    --fs-h3: 26px;       --lh-h3: 34px;
    --fs-lead: 20px;     --lh-lead: 32px;
    --fs-num: 48px;      --lh-num: 54px;
    --container-pad: 40px;
    --section-pad: var(--space-7);
  }
}

@media (min-width: 1200px) {
  :root {
    --fs-display: 72px;  --lh-display: 80px;
    --fs-h2: 44px;       --lh-h2: 52px;
    --fs-h3: 28px;       --lh-h3: 36px;
    --fs-num: 56px;      --lh-num: 60px;
  }
}
