/* ============================================================
   FORTIS — Global Styles / Design System
   PRD: Main components (Header, Footer, Buttons, Forms, Base)
   ============================================================ */

:root {
  --primary: var(--color-primary);
  --primary-dark: #000000;
  --primary-soft: rgba(35, 31, 32, 0.08);
  --secondary: var(--color-secondary);
  --dark: var(--color-primary);
  --dark-soft: #1a1718;
  --white: var(--color-bg);
  --gray: #f5f5f5;
  --border: #e6e9ef;
  --gold: var(--color-accent);
  --text: var(--color-text);
  --heading: var(--color-primary);
  --radius: 14px;
  --shadow: 0 18px 40px rgba(35, 31, 32, 0.12);
  --shadow-sm: 0 6px 18px rgba(35, 31, 32, 0.10);
  --header-h: 80px;
  --container: 1280px;
  --font-heading: 'Montserrat', 'Oswald', sans-serif;
  --font-body: 'Inter', 'Segoe UI', sans-serif;
  --font-head: var(--font-heading);
  --text-primary: #ffffff;
  --text-secondary: #e0e0e0;
  --brand-navy: #231F20;
  --brand-blue: #C2122C;
  --accent-gold: #EB193D;
  --accent-cyan: #EB193D;
  --glass-bg: rgba(255, 255, 255, 0.15);
  --glass-dark-bg: rgba(35, 31, 32, 0.85);
  --glow-blue: rgba(235, 25, 61, 0.7);
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.2;
  font-weight: 700;
}

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
input, select, textarea { font-family: inherit; font-size: 1rem; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }

/* ---------- Section spacing ---------- */
.section { padding: 96px 0; }
.section-head { max-width: 720px; margin: 0 auto 56px; text-align: center; }
.section-head .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--primary); font-weight: 700; font-size: 0.8rem;
  letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 14px;
}
.section-head .eyebrow::before,
.section-head .eyebrow::after {
  content: ""; width: 28px; height: 2px; background: var(--gold); border-radius: 2px;
}
.section-head h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); text-transform: uppercase; }
.section-head p { margin-top: 14px; font-size: 1.05rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 30px; border-radius: 8px;
  font-family: var(--font-head); font-weight: 700; font-size: 0.82rem;
  letter-spacing: 0.12em; text-transform: uppercase;
  transition: var(--transition); white-space: nowrap; border: 2px solid transparent;
}
.btn svg { width: 18px; height: 18px; }

.btn-primary { background: var(--primary); color: var(--white); border-color: var(--white); }
.btn-primary:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--primary); }

.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-gold { background: var(--gold); color: var(--dark); }
.btn-gold:hover { background: var(--white); color: var(--primary); transform: translateY(-2px); box-shadow: var(--shadow-sm); }

.btn-emergency { background: var(--white); color: var(--primary); font-size: 0.72rem; padding: 12px 22px; }
.btn-emergency:hover { background: var(--primary); color: var(--white); box-shadow: var(--shadow-sm); }

/* ============================================================
   NOTE: Header & Footer styles now live in the root style.css
   (FORTIS solid header, hide-on-scroll, mobile overlay, 4-col footer).
   ============================================================ */

/* ============================================================
   Scroll reveal helpers
   ============================================================ */
[data-reveal] { opacity: 0; transform: translateY(34px); transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.22, 1, 0.36, 1); }
[data-reveal].revealed { opacity: 1; transform: none; }
[data-reveal="left"] { transform: translateX(-46px); }
[data-reveal="right"] { transform: translateX(46px); }
[data-reveal="scale"] { transform: scale(0.92); }
[data-reveal].revealed { transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
/* ---------- Tablet (769–1024px) ---------- */
@media (min-width: 769px) and (max-width: 1024px) {
  .section { padding: 72px 0; }
}

/* ---------- Mobile (max 768px) ---------- */
@media (max-width: 768px) {
  .section { padding: 64px 0; }
}

/* ---------- Generic helper: image placeholders with gradients ---------- */
.ph-img {
  background: linear-gradient(135deg, #1d5a8a 0%, #2c7cb8 55%, #373d4a 130%);
  position: relative; overflow: hidden;
}
.ph-img::after {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 78% 20%, rgba(255,255,255,0.18), transparent 42%),
    repeating-linear-gradient(45deg, rgba(255,255,255,0.05) 0 2px, transparent 2px 14px);
}
.ph-img .ph-ic { position: relative; z-index: 1; width: 72px; height: 72px; color: rgba(255,255,255,.85); }