/* ==========================================================================
   Base: design tokens, reset, typography and shared utilities.
   Loaded first on every page.
   ========================================================================== */

:root {
  /* Brand colours */
  --navy: #1E2B7A;
  --navy-dark: #0D1226;
  --red: #C0272D;
  --red-dark: #A8202A;
  --red-light: #FF9A9D;
  --success: #6EE7B7;
  --white: #FFFFFF;

  /* Neutrals */
  --light-bg: #F4F6FB;
  --text-dark: #111827;
  --text-muted: #6B7280;
  --border: #E5E7EB;

  /* Typography */
  --font-body: 'Inter', sans-serif;
  --font-display: 'Playfair Display', serif;

  /* Layout */
  --header-height: 110px;
  --content-width: 1100px;
  --gutter: 48px;
  --transition: 0.2s;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
}

img { max-width: 100%; }

/* --------------------------------------------------------------------------
   Sections
   -------------------------------------------------------------------------- */

.section { padding: 96px var(--gutter); }
.section--light { background: var(--light-bg); }
.section--dark { background: var(--navy); }

.section__inner {
  max-width: var(--content-width);
  margin: 0 auto;
}

.section__eyebrow {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 12px;
}

.section__title {
  font-family: var(--font-display);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
  margin-bottom: 24px;
}

.section--dark .section__eyebrow { color: rgba(255, 255, 255, 0.45); }
.section--dark .section__title { color: var(--white); }

/* --------------------------------------------------------------------------
   Buttons and links
   -------------------------------------------------------------------------- */

.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 15px;
  font-weight: 700;
  padding: 14px 32px;
  border-radius: 8px;
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition);
}

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

.btn--outline {
  background: transparent;
  color: var(--white);
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.35);
}
.btn--outline:hover {
  border-color: var(--white);
  background: rgba(255, 255, 255, 0.08);
}

.btn--block { width: 100%; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 2px solid var(--red);
  padding-bottom: 2px;
  transition: color var(--transition);
}
.text-link:hover { color: var(--red); }

.text-link--small { font-size: 13px; gap: 6px; }

.text-link--disabled,
.text-link--disabled:hover {
  color: var(--text-muted);
  border-bottom-color: var(--border);
  cursor: default;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 900px) {
  :root { --gutter: 24px; }
  .section { padding: 64px var(--gutter); }
}
