/* ==================================================
   VARIABLES
================================================== */

:root {

  /* COLORS */
  --navy: #071426;
  --navy-dark: #020814;
  --red: #c61d1d;
  --red-bright: #d71919;
  --amber: #d89b10;

  --white: #ffffff;
  --off-white: #f5f5f3;

  --text-dark: #111111;
  --text-light: #d9dde5;

  --steel: #1a1f29;
  --border: rgba(255,255,255,.08);

  /* TYPOGRAPHY */
  --heading-font: 'Bebas Neue', sans-serif;
  --body-font: 'Inter', sans-serif;

  /* SPACING */
  --container-width: 1280px;
  --section-padding: 110px;

  /* EFFECTS */
  --shadow-lg: 0 25px 60px rgba(0,0,0,.35);
  --shadow-md: 0 10px 30px rgba(0,0,0,.18);

  --radius-lg: 22px;
  --radius-md: 14px;

  /* TRANSITIONS */
  --transition: all .3s ease;
}


/* ==================================================
   RESET
================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: var(--off-white);
  color: var(--text-dark);
  font-family: var(--body-font);
  line-height: 1.6;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
}


/* ==================================================
   GLOBAL LAYOUT
================================================== */

.container {
  width: min(100% - 40px, var(--container-width));
  margin-inline: auto;
}

.section {
  padding: var(--section-padding) 0;
}


/* ==================================================
   TYPOGRAPHY
================================================== */

h1,
h2,
h3,
h4 {
  font-family: var(--heading-font);
  line-height: .95;
  letter-spacing: .5px;
}

h1 {
  font-size: clamp(4rem, 8vw, 8rem);
}

h2 {
  font-size: clamp(2.8rem, 5vw, 5rem);
}

h3 {
  font-size: 2rem;
}

p {
  font-size: 1.05rem;
  line-height: 1.8;
}

.eyebrow {
  display: inline-block;
  margin-bottom: 16px;
  color: var(--red);
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-size: .85rem;
}


/* ==================================================
   BUTTONS
================================================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 58px;
  padding: 0 28px;

  border-radius: 999px;

  font-weight: 700;
  transition: var(--transition);
}

.btn-red {
  background: var(--red);
  color: var(--white);
}

.btn-red:hover {
  background: var(--red-bright);
  transform: translateY(-2px);
}

.btn-dark {
  background: var(--navy);
  color: var(--white);
}

.btn-dark:hover {
  background: #0d2039;
}

.btn-light {
  background: var(--white);
  color: var(--text-dark);
}

.btn-light:hover {
  transform: translateY(-2px);
}

/* ==================================================
   SITE HEADER
================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 50;

  padding: 22px 0;

  background: linear-gradient(
    to bottom,
    rgba(2, 8, 20, .88),
    rgba(2, 8, 20, .35),
    transparent
  );

  color: var(--white);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-logo {
  display: inline-flex;
  align-items: center;
  max-width: 190px;
}

.site-logo img {
  width: 100%;
  height: auto;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 28px;

  font-size: .9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .8px;
}

.site-nav a {
  color: rgba(255,255,255,.86);
  transition: var(--transition);
}

.site-nav a:hover {
  color: var(--white);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-link {
  font-weight: 700;
  text-transform: uppercase;
  font-size: .85rem;
  letter-spacing: .8px;
  color: rgba(255,255,255,.9);
}

.btn-small {
  min-height: 46px;
  padding: 0 22px;
  font-size: .88rem;
}

.btn-amber {
  background: var(--amber);
  color: var(--white);
}

.btn-amber:hover {
  filter: brightness(1.08);
  transform: translateY(-2px);
}

/* ==================================================
   SITE FOOTER
================================================== */

.site-footer {
  padding: 40px 0;
  background: var(--navy-dark);
  color: rgba(255,255,255,.75);
  text-align: center;
}


/* ==================================================
   SECTION HEADINGS
================================================== */

.section-heading {
  max-width: 760px;
  margin-bottom: 60px;
}

.section-heading h2 {
  margin-bottom: 18px;
}


/* ==================================================
   CARD SYSTEM
================================================== */

.card-grid {
  display: grid;
  gap: 24px;
}

.card-grid.four {
  grid-template-columns: repeat(4, 1fr);
}

.feature-card {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}

.feature-card:hover {
  transform: translateY(-8px);
}

.feature-card h3 {
  margin-bottom: 18px;
}


/* ==================================================
   HERO SECTION
================================================== */

.home-hero {
  position: relative;
  min-height: 92vh;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      to right,
      rgba(2,8,20,.92) 15%,
      rgba(2,8,20,.72) 40%,
      rgba(2,8,20,.35) 70%,
      rgba(2,8,20,.15) 100%
    ),
    url('/assets/img/hero/normal/home-hero.jpg')
    center center / cover no-repeat;

  color: var(--white);

  overflow: hidden;
}

.home-hero__overlay {
  position: absolute;
  inset: 0;

  background:
    radial-gradient(circle at top right,
      rgba(198,29,29,.25),
      transparent 35%);
}

.home-hero::before {
  content: '';

  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top right,
      rgba(198,29,29,.18),
      transparent 32%
    );

  pointer-events: none;
}

.home-hero::after {
  content: '';

  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      to top,
      rgba(2,8,20,.85),
      transparent 30%
    );

  pointer-events: none;
}

.home-hero__content {
  position: relative;
  z-index: 2;
}

.home-hero__text {
  max-width: 760px;
}

.home-hero h1 {
  margin-bottom: 24px;

  text-transform: uppercase;
  text-shadow:
    0 10px 40px rgba(0,0,0,.45);

  max-width: 820px;
}

.home-hero p {
  max-width: 620px;
  margin-bottom: 34px;

  font-size: 1.15rem;
  color: rgba(255,255,255,.92);
}

.home-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==================================================
   HERO STATUS
================================================== */

.hero-status {
  display: inline-flex;
  align-items: center;
  gap: 10px;

  margin-bottom: 22px;
  padding: 10px 18px;

  border-radius: 999px;

  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);

  backdrop-filter: blur(10px);

  font-size: .82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.hero-status__dot {
  width: 10px;
  height: 10px;

  border-radius: 50%;

  background: #4ade80;

  box-shadow:
    0 0 12px rgba(74,222,128,.8);
}

/* ==================================================
   RESPONSE BAR
================================================== */

.response-bar {
  position: relative;
  z-index: 5;

  margin-top: -50px;
}

.response-bar__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);

  background: var(--white);
  border-radius: var(--radius-lg);

  box-shadow: var(--shadow-lg);

  overflow: hidden;
}

.response-bar__grid > div {
  padding: 28px;
  border-right: 1px solid rgba(0,0,0,.06);
}

.response-bar__grid > div:last-child {
  border-right: none;
}

.response-bar span {
  display: block;
  margin-bottom: 10px;

  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;

  color: #666;
}

.response-bar strong {
  font-size: 1.1rem;
}

/* ==================================================
   WHAT WE DO
================================================== */

.what-we-do {
  position: relative;
  background:
    radial-gradient(circle at top left, rgba(198,29,29,.06), transparent 32%),
    linear-gradient(180deg, #f7f7f4, #ffffff);
}

.what-we-do .section-heading {
  text-align: left;
}

.feature-card {
  position: relative;
  overflow: hidden;

  background:
    linear-gradient(180deg, #ffffff, #f8f8f6);

  border: 1px solid rgba(7,20,38,.08);
}

.feature-card::before {
  content: '';

  position: absolute;
  top: 0;
  left: 0;

  width: 100%;
  height: 5px;

  background: var(--red);

  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card__icon {
  width: 68px;
  height: 68px;

  display: flex;
  align-items: center;
  justify-content: center;

  margin-bottom: 26px;

  border-radius: 50%;

  background: var(--navy);
  color: var(--white);

  font-size: 2rem;
  box-shadow: 0 14px 30px rgba(7,20,38,.22);
}

.feature-card h3 {
  margin-bottom: 14px;
  color: var(--navy);
}

.feature-card p {
  margin-bottom: 22px;
  color: #4a4f58;
}

.feature-card__link {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  color: var(--red);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .8px;
  font-size: .82rem;
}

.feature-card__link:hover {
  gap: 12px;
}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 1100px) {

  .card-grid.four {
    grid-template-columns: repeat(2, 1fr);
  }

  .response-bar__grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {

  :root {
    --section-padding: 80px;
  }

  h1 {
    font-size: 4.2rem;
  }

  h2 {
    font-size: 3rem;
  }

  .card-grid.four,
  .response-bar__grid {
    grid-template-columns: 1fr;
  }

  .home-hero {
    min-height: 84vh;
  }

  .home-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }
}

/* ==================================================
   HEADER MOBILE
================================================== */

@media (max-width: 920px) {

  .site-nav,
  .site-header__actions {
    display: none;
  }

  .site-header {
    padding: 18px 0;
  }

  .site-logo {
    max-width: 160px;
  }
}