/* Design tokens, reset and typography.
   Palette and fonts recovered from the original WordPress/Elementor theme. */

:root {
  /* Brand */
  --ico-red: #990000;
  --ico-red-dark: #730000;
  --ico-red-tint: rgba(153, 0, 0, 0.08);

  /* Neutrals */
  --ink: #1f1f1f;
  --body: #4a4a4a;
  --muted: #7d7d7d;
  --line: #d8d8d8;
  --line-soft: #ededed;
  --surface: #ffffff;
  --surface-grey: #f3f3f3;
  --surface-blue: #eff3f7;
  --bar-dark: #191919;
  --footer-dark: #393939;

  /* Type */
  --font-body: "Roboto", "Helvetica Neue", Arial, sans-serif;
  --font-display: "Roboto Slab", Georgia, serif;

  /* Rhythm */
  --container: 1180px;
  --gutter: 24px;
  --section-y: 72px;

  --radius: 2px;
  --shadow-card: 0 1px 3px rgba(0, 0, 0, 0.08), 0 8px 24px rgba(0, 0, 0, 0.06);
  --transition: 180ms ease;
}

@media (max-width: 720px) {
  :root {
    --section-y: 48px;
    --gutter: 18px;
  }
}

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

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

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

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

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

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

a {
  color: var(--ico-red);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--ico-red-dark);
  text-decoration: underline;
}

h1,
h2,
h3,
h4 {
  font-family: var(--font-display);
  color: var(--ink);
  line-height: 1.25;
  margin: 0 0 0.6em;
  font-weight: 600;
}

h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
}

h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
}

h3 {
  font-size: 1.25rem;
}

h4 {
  font-size: 1.05rem;
}

p {
  margin: 0 0 1.15em;
}

p:last-child {
  margin-bottom: 0;
}

ul,
ol {
  margin: 0 0 1.15em;
  padding-left: 1.25em;
}

sup {
  font-size: 0.6em;
  vertical-align: super;
}

hr {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 2rem 0;
}

/* Focus: always visible, never removed. */
:focus-visible {
  outline: 3px solid var(--ico-red);
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 200;
  background: var(--ico-red);
  color: #fff;
  padding: 12px 20px;
  font-weight: 500;
}

.skip-link:focus {
  left: 0;
}

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