/* =========================
   QLC Static Website Styles
   ========================= */

:root {
  --dark: #1f252b;
  --charcoal: #2d3339;
  --gray: #f4f5f6;
  --mid-gray: #d8dde2;
  --text: #1f252b;
  --muted: #5f6973;
  --accent: #1f5f8b;
  --accent-dark: #174968;
  --white: #ffffff;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--text);
  line-height: 1.6;
  background: var(--white);
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

/* Header */

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--mid-gray);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.logo {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
  font-weight: 500;
}

.logo span {
  display: block;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.75rem;
  letter-spacing: 0;
  margin-left: 45px;
  margin-top: -6px;
}

.header-contact {
  font-size: 0.85rem;
  color: var(--muted);
  display: flex;
  flex-direction: column;
  gap: 2px;
  text-align: center;
  line-height: 1.3;
}

.header-contact a {
  text-decoration: none;
  color: var(--muted);
}

.header-contact a:hover {
  color: var(--accent);
}

.main-nav {
  display: flex;
  gap: 26px;
  font-size: 0.95rem;
}

.main-nav a {
  text-decoration: none;
  color: var(--dark);
}

.main-nav a:hover {
  color: var(--accent);
}

/* Hero */

.hero {
  min-height: 680px;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.56)),
    url("../images/hero.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero-overlay {
  min-height: 680px;
  display: flex;
  align-items: center;
}

.hero-content {
  max-width: 920px;
  text-align: center;
  color: var(--white);
}

.hero h1 {
  font-size: clamp(2.25rem, 4vw, 4.25rem);
  line-height: 1.08;
  margin: 0 0 24px;
  font-weight: 700;
}

.hero p {
  font-size: clamp(1rem, 1.35vw, 1.2rem);
  max-width: 900px;
  margin: 0 auto 18px;
}

.hero-note {
  font-weight: 600;
}

.button {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--white);
  text-decoration: none;
  font-weight: 700;
  transition: background 0.2s ease, transform 0.2s ease;
}

.button:hover {
  background: var(--accent-dark);
  transform: translateY(-1px);
}

/* Sections */

.section {
  padding: 84px 0;
}

.section:nth-of-type(even) {
  background: var(--gray);
}

.section h2,
.statement h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  line-height: 1.15;
  margin: 0 0 22px;
  text-align: center;
}

.section-intro {
  max-width: 780px;
  margin: 0 auto 44px;
  text-align: center;
  font-size: 1.1rem;
  color: var(--muted);
}

/* Metrics */

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 42px;
}

.metric {
  text-align: center;
  padding: 28px 22px;
  border: 1px solid var(--mid-gray);
  background: var(--white);
  border-radius: 14px;
}

.metric strong {
  display: block;
  font-size: clamp(2rem, 3vw, 3.25rem);
  line-height: 1;
  margin-bottom: 14px;
  color: var(--dark);
}

.metric span {
  color: var(--muted);
}

/* Cards */

.card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.card {
  background: var(--white);
  border: 1px solid var(--mid-gray);
  border-radius: 14px;
  padding: 30px 26px;
  min-height: 230px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

.card h3 {
  margin: 0 0 14px;
  font-size: 1.3rem;
  line-height: 1.2;
}

.card p {
  margin: 0;
  color: var(--muted);
}

/* Statement Parallax Section */

.statement {
  min-height: 420px;
  background-image:
    linear-gradient(rgba(31, 37, 43, 0.74), rgba(31, 37, 43, 0.74)),
    url("../images/statement.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: var(--white);
}

.statement-overlay {
  min-height: 420px;
  display: flex;
  align-items: center;
  text-align: center;
}

.statement p {
  font-size: 1.3rem;
  margin: 0;
}

/* About */

.about {
  background: var(--white);
}

.about-inner {
  max-width: 850px;
}

.subtitle {
  color: var(--accent);
  font-weight: 700;
  margin-top: -10px;
}

.about p {
  font-size: 1.08rem;
  color: var(--muted);
}

/* Final CTA */

.final-cta {
  background: var(--dark);
  color: var(--white);
  text-align: center;
}

.final-cta p {
  max-width: 760px;
  margin-left: auto;
  margin-right: auto;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.1rem;
}

.final-cta .button {
  margin-top: 24px;
}

/* Footer */

.site-footer {
  background: #15191d;
  color: rgba(255, 255, 255, 0.78);
  padding: 28px 0;
  font-size: 0.95rem;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.9);
}

/* Responsive */

@media (max-width: 980px) {
  .metrics,
  .card-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero,
  .hero-overlay {
    min-height: 600px;
  }
}

@media (max-width: 720px) {
  .header-inner {
    flex-direction: column;
    justify-content: center;
    padding: 18px 0;
  }

  .header-contact {
    order: 2;
  }

  .main-nav {
    order: 3;
  }
  
  .main-nav {
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px 18px;
  }

  .hero,
  .hero-overlay {
    min-height: 560px;
    background-attachment: scroll;
  }

  .section {
    padding: 64px 0;
  }

  .metrics,
  .card-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}