:root {
  --navy: #003b5e;
  --sky: #8ca7c9;
  --white: #ffffff;
  --divider: rgba(0, 59, 94, 0.15);

  /* Aptos is served from the Adobe Fonts kit linked in index.html. */
  --font: "aptos", "Aptos", "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-display: "aptos-display", "Aptos Display", var(--font);

  /* Fluid sizes: clamp(at 375px, …, at 1920px) */
  --gutter:            clamp(16px, 3.864px + 3.236vw, 66px);

  --hero-pad-top:      clamp(48px, 38.53px + 2.524vw, 87px);
  --hero-pad-bottom:   clamp(48px, 38.05px + 2.654vw, 89px);
  --hero-gap:          clamp(40px, 34.66px + 1.424vw, 62px);
  --hero-logo:         clamp(300px, 198.54px + 27.055vw, 718px);
  --tagline-size:      clamp(24px, 22.06px + 0.518vw, 32px);
  --tagline-lh:        clamp(36px, 29.2px + 1.812vw, 64px);

  --card-pad-top:      clamp(28px, 26.54px + 0.388vw, 34px);
  --card-pad-x:        clamp(24px, 22.3px + 0.453vw, 31px);
  --card-pad-bottom:   clamp(30px, 28.79px + 0.324vw, 35px);
  --card-title-size:   clamp(26px, 25.03px + 0.259vw, 30px);
  --card-title-lh:     clamp(30px, 29.27px + 0.194vw, 33px);
  --contact-pad-y:     clamp(22px, 21.03px + 0.259vw, 26px);
  --contact-indent:    clamp(0px, -2.913px + 0.777vw, 12px);

  --footer-pad-top:    clamp(56px, 49.93px + 1.618vw, 81px);
  --footer-pad-bottom: clamp(32px, 30.06px + 0.518vw, 40px);
  --footer-logo:       clamp(240px, 205.29px + 9.256vw, 383px);
  --footer-col-gap:    clamp(32px, 16.47px + 4.142vw, 96px);
  --footer-row-gap:    clamp(40px, 38.06px + 0.518vw, 48px);
  --footer-stack-gap:  clamp(16px, 13.82px + 0.583vw, 25px);
  --footer-rule-gap:   clamp(48px, 40.96px + 1.877vw, 77px);
  --footer-bottom-gap: clamp(32px, 30.54px + 0.388vw, 38px);
  --footer-small-size: clamp(14px, 13.51px + 0.129vw, 16px);
  --footer-small-lh:   clamp(24px, 23.27px + 0.194vw, 27px);
}

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

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font);
  color: var(--navy);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

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

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

a:hover,
a:focus-visible {
  text-decoration: unset;
  /*text-underline-offset: 3px;*/
  color: #7F9D97;
  transition: .3s ease-out;
}

h1, h2, h3, p, address, ul {
  margin: 0;
  padding: 0;
  font: inherit;
}

/* ---------- Hero ---------- */

.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  min-height: 100vh;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--hero-pad-top) 16px var(--hero-pad-bottom);
}

.hero__video,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -1;
}

.hero__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--hero-gap);
  width: 100%;
}

.hero__logo img {
  width: var(--hero-logo);
  height: auto;
}

.hero__tagline {
  font-size: var(--tagline-size);
  line-height: var(--tagline-lh);
  letter-spacing: -0.038em;
  color: var(--white);
  text-align: center;
}

/* ---------- Contact card ---------- */

.contact-card {
  width: 341px;
  max-width: 100%;
  background: var(--white);
  padding: var(--card-pad-top) var(--card-pad-x) var(--card-pad-bottom);
}

.contact-card__title {
  font-family: var(--font-display);
  font-size: var(--card-title-size);
  line-height: var(--card-title-lh);
  padding: 0 0 20px calc(var(--contact-indent) / 2);
  border-bottom: 2px solid var(--divider);
}

.contact {
  padding: var(--contact-pad-y) 0 var(--contact-pad-y) var(--contact-indent);
}

.contact + .contact {
  border-top: 2px solid var(--divider);
}

.contact:last-child {
  padding-bottom: 0;
}

.contact__name {
  font-weight: 700;
  font-size: 16px;
  line-height: 20px;
  letter-spacing: 2.28px;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.contact__name:hover {
    color: #7F9D97;
    transition: .3s ease-out;
}

.contact__line {
  display: flex;
  align-items: center;
  font-size: 18px;
  line-height: 30px;
  white-space: nowrap;
}

/* Icons sit in a 31px slot so phone and email text share a left edge. */
.contact__icon {
  flex: none;
}

.contact__icon--phone {
  margin-right: 17px;
}

.contact__icon--mail {
  margin-right: 14px;
}

/* ---------- Footer ---------- */

.footer {
  background: var(--navy);
  color: var(--white);
  padding: var(--footer-pad-top) var(--gutter) var(--footer-pad-bottom);
}

.footer__top {
  display: grid;
  grid-template-columns: 51.34% 21.36% 17.45% 1fr;
  align-items: start;
}

.footer__logo {
  width: var(--footer-logo);
  height: auto;
}

.footer__col {
  display: grid;
  grid-template-rows: auto 81px auto;
  row-gap: var(--footer-stack-gap);
  padding-top: 19px;
}

.footer__label {
  font-weight: 700;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--sky);
}

.footer__address {
  font-style: normal;
  font-weight: 300;
  font-size: 18px;
  line-height: 27px;
}

.footer__phones {
  font-weight: 300;
  font-size: 18px;
  line-height: 34px;
  white-space: nowrap;
}

.footer__phones b {
  font-weight: 700;
}

.footer__link {
  font-size: 18px;
  line-height: 32px;
  color: var(--sky);
  white-space: nowrap;
}

.footer__social {
  list-style: none;
  margin-top: 8px;
  font-weight: 300;
  font-size: 18px;
  line-height: 37px;
}

.footer__social a {
  display: flex;
  align-items: center;
  gap: clamp(14px, 1.25vw, 24px);
}

/* Icon offsets match the Figma placement within each 37px row. */
.footer__social-icon {
  flex: none;
  width: 20px;
  display: flex;
}

.footer__social-icon img {
  max-width: none;
}

.footer__social-icon--facebook {
  padding: 4px 0 0 6px;
}

.footer__social-icon--linkedin {
  padding: 8px 0 0 3px;
}

.footer__rule {
  width: 100%;
  height: 1px;
  margin-top: var(--footer-rule-gap);
}

.footer__bottom {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 24px;
  margin-top: var(--footer-bottom-gap);
  font-weight: 300;
  font-size: var(--footer-small-size);
  line-height: var(--footer-small-lh);
  letter-spacing: 0.0625em;
}

.footer__legal {
  display: flex;
  gap: 0.6em;
  justify-content: center;
  white-space: nowrap;
}

.footer__credit {
  text-align: right;
}

.footer__credit b {
  font-weight: 700;
}

/* ---------- Responsive (layout only; sizes are fluid above) ---------- */
/*
  > 1440   Desktop: Figma column grid
  ≤ 1440   Laptop: columns sized to content
  ≤ 1024   Tablet: logo on its own row, bottom row stacked
  ≤ 767    Mobile: single column
*/

@media (max-width: 1440px) {
  .footer__top {
    grid-template-columns: 1fr repeat(3, auto);
    column-gap: var(--footer-col-gap);
  }
}

@media (max-width: 1024px) {
  .footer__top {
    grid-template-columns: repeat(3, auto);
    justify-content: space-between;
    row-gap: var(--footer-row-gap);
  }

  .footer__logo {
    grid-column: 1 / -1;
  }

  .footer__col {
    padding-top: 0;
  }

  .footer__bottom {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 8px;
  }

  .footer__credit {
    text-align: center;
  }
}

@media (max-width: 767px) {
  .footer__top {
    grid-template-columns: 1fr;
    text-align: center;
    justify-content: center;
  }
  .footer__social a {
      justify-content: center;
      align-items: center;
  }
  .footer__logo {
      margin: 0 auto;
  }

  .footer__col {
    grid-template-rows: auto;
  }

  .footer__social {
    margin-top: 0;
  }

  .footer__legal {
    flex-wrap: wrap;
  }
}


/* Styles for the Privacy Policy and Disclaimer pages. Loads after styles.css. */

.legal-header {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: var(--white);
  padding: clamp(40px, 30.29px + 2.589vw, 80px) var(--gutter) clamp(48px, 36.35px + 3.107vw, 96px);
  text-align: center;
}

.legal-header__bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  z-index: -1;
}

.legal-header__logo {
  display: inline-block;
}

.legal-header__logo img {
  width: clamp(240px, 182.75px + 15.534vw, 480px);
  height: auto;
}

.legal-header__logo:hover,
.legal-header__logo:focus-visible {
  text-decoration: none;
  opacity: 0.85;
}

.legal-header__title {
  margin-top: clamp(32px, 26.17px + 1.553vw, 56px);
  font-family: var(--font-display);
  font-size: clamp(32px, 27.15px + 1.294vw, 52px);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

.legal-content {
  background: var(--white);
  color: var(--navy);
  padding: clamp(48px, 36.35px + 3.107vw, 96px) var(--gutter);
}

.legal-content__inner {
  max-width: 760px;
  margin: 0 auto;
}

.legal-content p {
  font-size: clamp(16px, 15.51px + 0.129vw, 18px);
  line-height: 1.7;
}

.legal-content p + p {
  margin-top: 1.25em;
}

.legal-content p.legal-content__back {
  margin-top: clamp(32px, 28.12px + 1.036vw, 48px);
  padding-top: 24px;
  border-top: 2px solid var(--divider);
}

.legal-content__back a {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: 2.28px;
  text-transform: uppercase;
}
