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

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: #ffffff;
  color: #084da3;
  font-family: Helvetica, Arial, sans-serif;
}

img,
svg,
iframe {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: 0;
  cursor: pointer;
  font: inherit;
}

ul {
  list-style: none;
}

/* Variables */
:root {
  --primary-blue: #084da3;
  --footer-blue: #0d3869;
  --white: #ffffff;
  --ink: #174a8f;
  --blue-gradient: linear-gradient(135deg, #084da3 0%, #064485 58%, #0d3869 100%);
  --container-width: 1180px;
  --font-main: Helvetica, Arial, sans-serif;
  --font-display: "Barlow", Arial, sans-serif;
}

.container {
  width: min(calc(100% - 48px), var(--container-width));
  margin-inline: auto;
}

/* Header */
.site-header {
  position: relative;
  z-index: 20;
  height: 82px;
  background: var(--white);
  border-bottom: 1px solid rgba(8, 77, 163, .08);
  box-shadow: 0 4px 18px rgba(13, 56, 105, .06);
}

.header-content {
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: space-between;
  padding-inline: 18px;
}

.brand {
  width: 158px;
  flex: 0 0 auto;
}

.brand img {
  width: 100%;
  height: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 22px;
  transform: translateX(34px);
}

.main-nav a {
  position: relative;
  display: inline-flex;
  padding: 12px 0;
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: .02em;
  text-transform: uppercase;
  transition: color .2s ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 4px;
  left: 0;
  height: 2px;
  background: currentColor;
  content: "";
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform .24s ease;
}

.main-nav a:hover::after,
.main-nav a:focus-visible::after,
.main-nav a.is-active::after {
  transform: scaleX(1);
}

.main-nav a.is-active {
  color: #050505;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  padding: 9px;
  background: transparent;
}

.menu-toggle span {
  display: block;
  height: 3px;
  margin: 4px 0;
  border-radius: 2px;
  background: var(--primary-blue);
  transition: transform .2s ease, opacity .2s ease;
}

/* Hero */
.hero {
  position: relative;
  height: calc(100svh - 76px);
  min-height: 560px;
  overflow: hidden;
  background: #021122;
}

.hero > img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(2, 17, 34, .84) 0%, rgba(2, 17, 34, .56) 45%, rgba(2, 17, 34, .12) 100%),
    linear-gradient(180deg, rgba(2, 17, 34, .06) 0%, rgba(2, 17, 34, .36) 100%);
}

.hero-panel {
  position: absolute;
  top: 50%;
  left: max(24px, calc((100vw - var(--container-width)) / 2));
  display: flex;
  width: min(50vw, 960px);
  min-height: auto;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  padding: 0 0 0 34px;
  border-left: 0;
  border-radius: 0;
  background: transparent;
  color: var(--white);
  transform: translateY(-50%);
}

.hero-panel::before {
  position: absolute;
  top: -2px;
  bottom: -2px;
  left: 0;
  width: 6px;
  border-radius: 999px;
  background: var(--primary-blue);
  content: "";
}

.hero-eyebrow {
  margin-bottom: 20px;
  color: rgba(255, 255, 255, .78);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .14em;
  line-height: 1.2;
  text-transform: uppercase;
  white-space: normal;
}

.hero-panel h1 {
  font-family: var(--font-display);
  font-size: clamp(48px, 4.15vw, 76px);
  font-weight: 800;
  line-height: .92;
  text-transform: uppercase;
}

.hero-panel p:not(.hero-eyebrow) {
  max-width: 680px;
  margin-top: 16px;
  color: var(--white);
  font-size: clamp(18px, 1.45vw, 22px);
  line-height: 1.38;
  white-space: nowrap;
}

/* About */
.about-section {
  padding: 78px 0 77px;
  background: var(--white);
}

.main-title {
  color: var(--primary-blue);
  font-family: var(--font-display);
  font-size: 34px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 366px;
  gap: 70px;
  align-items: start;
  margin-top: 57px;
}

.about-copy,
.history-copy {
  color: var(--primary-blue);
}

.about-copy h3,
.history-copy h3 {
  margin-bottom: 19px;
  color: var(--primary-blue);
  font-size: 24px;
  font-weight: 400;
  line-height: 1;
  text-transform: uppercase;
}

.about-copy p,
.history-copy p {
  max-width: 612px;
  margin-bottom: 14px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.36;
}

.about-copy .numbers {
  margin-top: 27px;
  color: var(--primary-blue);
  font-weight: 700;
}

.about-photo {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(13, 56, 105, .12);
}

/* History */
.history-grid {
  display: grid;
  grid-template-columns: 366px minmax(0, 1fr);
  gap: 35px;
  align-items: start;
  margin-top: 87px;
}

.history-photo {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  height: auto;
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 16px 34px rgba(13, 56, 105, .12);
}

@media (min-width: 941px) {
  .about-photo,
  .history-photo {
    display: block;
    height: 318px !important;
    aspect-ratio: auto !important;
  }
}

.history-copy {
  padding-top: 9px;
}

.history-copy p {
  max-width: 590px;
}

.section-divider {
  width: min(500px, calc(100% - 96px));
  height: 2px;
  margin: 84px auto 0;
  background: var(--primary-blue);
}

/* Video */
.video-section {
  background: #06101e;
}

.video-player {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  cursor: pointer;
}

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

.video-player img {
  object-fit: cover;
  object-position: center center;
}

.video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .48);
}

.video-caption {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 48px));
  margin: 0 auto;
  top: 49px;
  padding: 16px 28px 17px;
  border: 1.3px solid rgba(255, 255, 255, .78);
  border-radius: 8px;
  color: var(--white);
  text-align: center;
}

.video-caption h2 {
  font-family: var(--font-display);
  font-size: 32px;
  font-weight: 800;
  line-height: 1;
  text-transform: uppercase;
}

.video-caption p {
  margin-top: 7px;
  font-size: 15px;
  line-height: 1.25;
}

.play-button {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: grid;
  width: 132px;
  height: 132px;
  place-items: center;
  background: transparent;
  border: 0;
  padding: 0;
  margin: 0;
  transform: translate(-50%, -50%);
  transition: transform .2s ease;
}

.play-button:hover,
.play-button:focus-visible {
  transform: translate(-50%, -50%) scale(1.06);
}

.play-button span {
  display: block;
  width: 0;
  height: 0;
  margin-left: 16px;
  border-top: 60px solid transparent;
  border-bottom: 60px solid transparent;
  border-left: 90px solid var(--white);
  filter: drop-shadow(0 12px 18px rgba(0, 0, 0, .28));
}

.video-player.is-playing .video-overlay,
.video-player.is-playing .video-caption,
.video-player.is-playing .play-button,
.video-player.is-playing img {
  display: none;
}

/* WhatsApp */
.whatsapp {
  position: fixed;
  right: 26px;
  bottom: 28px;
  z-index: 30;
  display: grid;
  width: 76px;
  height: 76px;
  place-items: center;
  border: 5px solid var(--white);
  border-radius: 50%;
  background: #31c968;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .18);
  transition: transform .2s ease;
}

.whatsapp:hover,
.whatsapp:focus-visible {
  transform: scale(1.06);
}

.whatsapp svg {
  width: 42px;
  height: 42px;
  fill: var(--white);
}

/* Footer */
.site-footer {
  min-height: 379px;
  padding: 68px 0 45px;
  background: linear-gradient(135deg, #0d3869 0%, #082f5d 62%, #06264d 100%);
  color: rgba(255, 255, 255, .54);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.contact-column {
  max-width: 350px;
}

.footer-column h2 {
  margin-bottom: 20px;
  color: var(--white);
  font-size: 17px;
  font-weight: 700;
}

.footer-column p,
.footer-column li {
  margin-bottom: 9px;
  font-size: 13px;
  line-height: 1.35;
}

.footer-column a {
  transition: color .2s ease;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--white);
}

.social-links {
  display: flex;
  gap: 7px;
}

.social-links a {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 4px;
  background: rgba(255, 255, 255, .62);
  color: var(--footer-blue);
  font-size: 17px;
  font-weight: 700;
}

.footer-notice {
  margin-top: 73px;
}

.footer-notice p {
  font-size: 10px;
  font-style: italic;
  line-height: 1.45;
}

.footer-notice strong {
  font-style: normal;
}

/* Responsive */
@media (max-width: 1100px) {
  .main-nav {
    gap: 13px;
    transform: none;
  }

  .main-nav a {
    font-size: 11px;
  }

  .about-grid {
    grid-template-columns: 1fr 330px;
    gap: 42px;
  }

  .history-grid {
    grid-template-columns: 330px 1fr;
  }
}

@media (max-width: 820px) {
  .container {
    width: min(calc(100% - 44px), var(--container-width));
  }

  .site-header {
    height: 72px;
  }

  .brand {
    width: 140px;
  }

  .menu-toggle {
    display: block;
  }

  .menu-toggle.is-open span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .menu-toggle.is-open span:nth-child(2) {
    opacity: 0;
  }

  .menu-toggle.is-open span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-nav {
    position: absolute;
    top: 72px;
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 8px 18px 18px;
    background: var(--white);
    box-shadow: 0 8px 16px rgba(8, 77, 163, .12);
  }

  .main-nav.is-open {
    display: flex;
  }

  .main-nav a {
    justify-content: center;
    padding: 12px 0;
    border-bottom: 1px solid rgba(8, 77, 163, .12);
    font-size: 12px;
  }

  .main-nav a::after {
    right: 42%;
    bottom: 7px;
    left: 42%;
  }

  .hero {
    height: calc(100svh - 72px);
    min-height: 500px;
  }

  .hero > img {
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-panel {
    left: 24px;
    width: min(88%, 640px);
    padding-left: 30px;
  }

  .about-section {
    padding: 58px 0 62px;
  }

  .section-divider {
    margin-top: 62px !important;
  }

  .about-grid,
  .history-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .about-grid,
  .history-grid {
    gap: 28px;
    margin-top: 42px;
  }

  .history-grid {
    margin-top: 62px;
  }

  .about-photo,
  .history-photo {
    max-width: 560px;
  }

  .video-player {
    min-height: 560px;
  }

  .video-caption {
    top: 34px;
  }

  .play-button {
    width: 92px;
    height: 92px;
    top: 50%;
  }

  .play-button span {
    margin-left: 10px;
    border-top-width: 42px;
    border-bottom-width: 42px;
    border-left-width: 63px;
  }

  .site-footer {
    padding: 45px 0 35px;
  }

  .footer-grid {
    gap: 34px;
  }

  .footer-notice {
    margin-top: 38px;
  }

  .whatsapp {
    right: 16px;
    bottom: 18px;
    width: 58px;
    height: 58px;
    border-width: 4px;
  }

  .whatsapp svg {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 520px) {
  .hero {
    min-height: 430px;
  }

  .hero > img {
    height: 100%;
  }

  .hero-panel {
    left: 18px;
    width: min(calc(100% - 36px), 460px);
    padding-left: 26px;
  }

  .hero-panel h1 {
    font-size: clamp(38px, 13vw, 54px);
  }

  .hero-panel p:not(.hero-eyebrow) {
    font-size: 16px;
    white-space: normal;
  }

  .hero-eyebrow {
    margin-bottom: 14px;
    font-size: 10px;
    letter-spacing: .11em;
  }

  .main-title {
    font-size: 29px;
  }

  .about-copy h3,
  .history-copy h3 {
    font-size: 22px;
  }

  .about-copy p,
  .history-copy p {
    font-size: 14px;
  }

  .video-player {
    min-height: 440px;
  }

  .video-caption {
    width: min(calc(100% - 28px), 760px);
    padding: 13px 14px;
  }

  .video-caption h2 {
    font-size: 25px;
  }

  .video-caption p {
    font-size: 13px;
  }
}
