:root {
  --navy: #002061;
  --blue: #046bd2;
  --line: #4370c1;
  --ink: #1e293b;
  --body: #334155;
  --cream: #f8f8f2;
  --soft: #fcfafb;
  --card: #f8f9fc;
  --rule: #c8cee0;
  --white: #ffffff;
  --head: Arial, "Helvetica Neue", Helvetica, sans-serif;
  --text: "Segoe UI", -apple-system, BlinkMacSystemFont, Roboto, "Helvetica Neue", Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--text);
  font-size: 17px;
  line-height: 1.65;
  color: var(--body);
  background: var(--white);
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }

h1, h2, h3 {
  font-family: var(--head);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 0.6em;
  text-wrap: balance;
}
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 20px; }
.wrap.narrow { max-width: 900px; }
.center { text-align: center; }
.caps { text-transform: uppercase; font-family: var(--text); letter-spacing: 0.01em; }
.navy { color: var(--navy); }
.lead { font-size: 1.08rem; max-width: 54em; }
.center .lead { margin-left: auto; margin-right: auto; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 12px; top: 12px; background: var(--white); padding: 8px 12px; z-index: 20; }

/* Header */
.site-header { background: var(--navy); }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 28px;
  flex-wrap: wrap;
  padding-top: 10px;
  padding-bottom: 10px;
}
.brand img { height: 74px; width: auto; }
.nav { display: flex; flex-wrap: wrap; gap: 4px 28px; }
.nav a {
  color: var(--white);
  text-decoration: none;
  font-size: 1.02rem;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
.nav a:hover, .nav a[aria-current="page"] { border-bottom-color: var(--line); }
.menu-btn {
  display: none;
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 3px;
  font: inherit;
  padding: 8px 14px;
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-block;
  background: var(--navy);
  color: var(--white);
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  padding: 13px 30px;
  border-radius: 3px;
  border: 2px solid var(--navy);
}
.btn:hover { background: var(--blue); border-color: var(--blue); }
.btn.light { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn.light:hover { background: #e7eefb; border-color: #e7eefb; }
.btn.outline { background: transparent; color: var(--white); border-color: var(--white); }
.btn.outline:hover { background: var(--white); color: var(--navy); }
.actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; margin-top: 24px; }

/* Hero */
.hero { position: relative; background: #5d6470; color: var(--white); overflow: hidden; }
.hero.slider { height: clamp(420px, 62vh, 580px); }
.slide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease, visibility 0.8s;
}
.slide.is-on { opacity: 1; visibility: visible; }
.slide::before, .hero.inner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(20, 28, 48, 0.55), rgba(20, 28, 48, 0.55)), var(--hero) center 30% / cover no-repeat;
}
.hero .wrap { position: relative; padding-left: 56px; padding-right: 56px; }
.hero h1, .hero .h1 {
  color: var(--white);
  font-family: var(--head);
  text-transform: uppercase;
  font-size: clamp(1.8rem, 4.4vw, 3.1rem);
  margin-bottom: 0.35em;
  max-width: 22em;
}
.hero p { font-family: var(--head); font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 48em; margin-bottom: 1.6em; }
.hero .btn { text-transform: none; font-weight: 400; }
.hero.inner .wrap { padding-top: clamp(56px, 9vw, 104px); padding-bottom: clamp(56px, 9vw, 104px); }
.hero.inner p { margin-bottom: 0; }
.slide-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.25);
  color: var(--white);
  border: 0;
  width: 40px;
  height: 56px;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  z-index: 2;
}
.slide-arrow:hover { background: rgba(0, 0, 0, 0.5); }
.slide-arrow.prev { left: 0; }
.slide-arrow.next { right: 0; }

/* Sections */
section { padding: clamp(44px, 7vw, 80px) 0; }
.welcome { padding-bottom: clamp(32px, 5vw, 56px); }
.band-cream { background: var(--cream); }
.band-soft { background: var(--soft); }
.band-navy { background: var(--navy); color: #dbe5f7; }
.band-navy h2 { color: var(--white); }
.ruled { padding-bottom: 14px; border-bottom: 1px solid #e5e8ee; margin-bottom: 1.4em; }
.section-title { margin-bottom: 1.4em; }

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.split.top { align-items: start; }
.split > img { width: 100%; max-height: 440px; object-fit: cover; }

/* Products */
.products-grid {
  display: grid;
  grid-template-columns: 0.9fr 1fr 1fr;
  gap: 30px;
  align-items: stretch;
}
.products-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  color: var(--navy);
}
.products-title h2 { color: var(--navy); text-align: center; margin: 0; max-width: 6em; }
.big-arrow svg { width: 64px; height: 48px; display: block; }
.card {
  background: var(--card);
  border: 1px solid var(--rule);
  border-radius: 14px 14px 0 0;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(30, 41, 59, 0.12);
  display: flex;
  flex-direction: column;
  text-align: center;
}
.card img { width: 100%; height: 250px; object-fit: cover; }
.card .pad { padding: 22px 30px 30px; display: flex; flex-direction: column; align-items: center; flex: 1; }
.card h3 { color: var(--navy); font-size: 1.5rem; margin-bottom: 0.3em; }
.card p { flex: 1; }

/* Check lists */
.checks { list-style: none; margin: 0; padding: 0; }
.checks li { position: relative; padding: 0 0 16px 32px; }
.checks svg { position: absolute; left: 0; top: 5px; width: 18px; height: 18px; fill: var(--navy); }
h3.caps { font-size: 1.6rem; font-weight: 600; }

/* Vision, Mission, Culture */
.values { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.value {
  background: var(--card);
  border: 1px solid #8f9bc4;
  box-shadow: 0 18px 40px rgba(30, 41, 59, 0.1);
  padding: 34px 40px 30px;
  text-align: center;
}
.value .icon { color: var(--navy); display: inline-block; }
.value .icon svg { width: 56px; height: 42px; fill: currentColor; }
.value h3 { font-family: var(--text); font-weight: 500; font-size: 1.6rem; margin: 10px 0 2px; }
.value .sub { margin-bottom: 2px; }
.value p { margin: 0; }
.value::after { content: ""; display: block; width: 100px; height: 2px; background: var(--ink); margin: 26px auto 0; }

/* FAQ */
.faq { margin-top: 6px; }
details { padding: 14px 0; }
details summary {
  font-family: var(--head);
  font-weight: 700;
  color: var(--ink);
  font-size: 1.2rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; font-weight: 400; font-size: 1.5rem; line-height: 1; }
details[open] summary::after { content: "\2212"; }
details p { margin: 12px 0 0; }

/* Videos */
.videos { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 32px 28px; }
.videos.two { grid-template-columns: repeat(2, 1fr); margin-bottom: 36px; }
.video h3 { font-size: 1.1rem; margin: 14px 0 6px; }
.video p { font-size: 0.97rem; margin: 0; }
.video-frame {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  padding: 0;
  border: 0;
  background: var(--navy);
  cursor: pointer;
  overflow: hidden;
}
.video-frame img { width: 100%; height: 100%; object-fit: cover; }
.video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-frame .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); }
.video-frame .play svg { width: 68px; height: 48px; display: block; }
.video-frame:hover .play rect { fill: var(--blue); }

/* Footer */
.site-footer { background: var(--navy); color: var(--white); padding: 56px 0 26px; font-family: var(--head); }
.site-footer .wrap { display: grid; grid-template-columns: 1fr 2.2fr; gap: 28px 48px; }
.site-footer a { color: var(--white); text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.foot-brand { display: flex; flex-direction: column; gap: 6px; font-size: 1.05rem; }
.foot-brand img { height: 90px; width: auto; align-self: flex-start; margin-bottom: 26px; }
.foot-rule { border-top: 1px solid rgba(255, 255, 255, 0.85); margin: 34px 0 40px; }
.foot-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 24px 40px; }
.foot-cols p { font-size: 1.05rem; line-height: 2.1; margin: 0; }
.foot-nav { display: flex; flex-wrap: wrap; gap: 14px 28px; align-content: flex-start; font-weight: 700; }
.small { grid-column: 1 / -1; font-size: 0.85rem; color: #c9d6ee; border-top: 1px solid rgba(255, 255, 255, 0.18); padding-top: 16px; }

@media (max-width: 900px) {
  .products-grid { grid-template-columns: 1fr 1fr; }
  .products-title { grid-column: 1 / -1; }
  .products-title h2 { max-width: none; }
  .big-arrow { display: none; }
  .values { grid-template-columns: 1fr; }
  .site-footer .wrap, .foot-cols { grid-template-columns: 1fr; }
  .foot-rule { margin: 0 0 24px; }
}

@media (max-width: 760px) {
  .split, .videos.two, .products-grid { grid-template-columns: 1fr; }
  .brand img { height: 56px; }
  .menu-btn { display: block; }
  .nav { display: none; width: 100%; flex-direction: column; gap: 0; }
  .nav.is-open { display: flex; }
  .nav a { padding: 10px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.15); }
  .hero .wrap { padding-left: 46px; padding-right: 46px; }
  .slide-arrow { width: 32px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .slide { transition: none; }
}
