@import url("components/header.css");

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-Light.ttf") format("truetype");
  font-weight: 300;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-Italic.ttf") format("truetype");
  font-weight: 400;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: "Work Sans";
  src: url("../fonts/WorkSans-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

:root {
  --color-bg: #F2F2F2;
  --color-text: #0b0b0b;
  --color-accent: #0477BF;
  --color-accent-dark: #035e97;
  --color-muted: #3a3a3a;
  --color-surface: #F2F2F2;
  --color-surface-alt: #84BF2C;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Work Sans", "Segoe UI", "Tahoma", "Arial", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.6;
}

h1,
h2,
h3 {
  line-height: 1.15;
  letter-spacing: 0.2px;
}

h1 {
  font-size: clamp(2rem, 3.4vw, 3.6rem);
}

h2 {
  font-size: clamp(1.6rem, 2.4vw, 2.6rem);
}

h3 {
  font-size: clamp(1.2rem, 1.8vw, 2rem);
}

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

a {
  color: inherit;
}

.container {
  width: min(1300px, 90%);
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  color: #F2F2F2;
  background: url("../img/hero.jpg") center/cover no-repeat;
}

.hero--inner {
  min-height: 45vh;
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(4, 119, 191, 0.40);
}

.hero__content {
  position: relative;
  z-index: 1;
  padding: 3rem 0;
  text-align: center;
}

.divider--bottom {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 100px;
  overflow: hidden;
  pointer-events: none;
}

.row--divider {
  position: absolute;
  left: 0;
  right: 0;
  height: 100px;
  background-repeat: no-repeat;
  background-position: center;
}

.divider--bottom .row--divider {
  bottom: -2px;
  transform: rotate(180deg);
}

.row--divider-cross-light {
  background-size: 100% 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 710 100' preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M354.5 50L-4.37114e-06 6.20702e-05L710 3.43323e-05L354.5 50Z' fill='%23F2F2F2'/%3E%3Cpath d='M354.5 50L710 1.55394e-05L710 100L354.5 50Z' fill='%23F2F2F2' fill-opacity='0.25'/%3E%3Cpath d='M354.5 50L-4.37114e-06 1.54957e-05L0 100L354.5 50Z' fill='%23F2F2F2' fill-opacity='0.25'/%3E%3C/svg%3E");
}

.hero h1 {
    margin: 0 0 1rem;
    font-size: clamp(2.1rem, 4vw, 3.6rem);
    line-height: 1.1;
    font-weight: 400;
}

.hero p {
  max-width: 52ch;
  font-size: 1.05rem;
}

.section {
  padding: 4rem 0;
}

.section--light {
  background: var(--color-surface);
}

.section--accent {
  background: var(--color-surface-alt);
  color: var(--color-text);
}

.split {
  display: grid;
  gap: 2.5rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  align-items: center;
}

.video {
  position: relative;
  padding-top: 56.25%;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.2);
}

.video iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.media img {
  border-radius: 18px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.18);
}

.btn {
  display: inline-block;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  background: var(--color-accent);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn:hover,
.btn:focus {
  background: var(--color-accent-dark);
}

.muted {
  color: var(--color-muted);
}

.company {
  margin-top: 1.6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(4, 119, 191, 0.2);
  font-size: 0.95rem;
}

.map iframe {
  width: 100%;
  height: 460px;
  border: 0;
  display: block;
}

.site-footer {
  background: var(--color-accent);
  color: #F2F2F2;
  padding: 1.8rem 0;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.footer-links {
  display: flex;
  gap: 1rem;
  font-size: 0.9rem;
  opacity: 0.85;
}

@media (max-width: 720px) {
  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }
}
.video-section {
  text-align: center;
}

.section-title {
  margin: 0;
  font-weight: 400;
}

.section-title--accent {
  color: var(--color-accent);
}

.video--narrow {
  max-width: 1300px;
  margin: 1.6rem auto 0;
}
