@font-face {
  font-family: "Inter";
  src: url("/assets/fonts/InterVariable.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}

:root {
  color-scheme: light;
  font-size: 15px;
  font-weight: 400;
  color: #2a2a2a;
  background: #fff;
  line-height: 1.65;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

a {
  color: #0874a5;
}

a:hover {
  color: #064f73;
}

.site-header {
  position: relative;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1rem max(1.25rem, calc((100% - 1200px) / 2));
  border-bottom: 1px solid #e5eaf0;
}

.brand {
  display: block;
  flex: 0 1 200px;
}

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

.main-navigation {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.mobile-menu-toggle {
  display: none;
}

.main-navigation a,
.main-navigation summary,
.site-footer a {
  color: #2a2a2a;
  text-decoration: none;
}

.main-navigation details {
  position: relative;
}

.main-navigation summary {
  cursor: pointer;
  list-style: none;
}

.main-navigation summary::-webkit-details-marker {
  display: none;
}

.navigation-dropdown {
  position: absolute;
  z-index: 2;
  top: 100%;
  left: 0;
  display: none;
  min-width: 250px;
  padding: 0.5rem;
  background: #fff;
  border: 1px solid #e5eaf0;
  box-shadow: 0 0.5rem 1rem #172b4d1a;
}

.main-navigation details:hover .navigation-dropdown,
.main-navigation details:focus-within .navigation-dropdown,
.main-navigation details[open] .navigation-dropdown {
  display: grid;
}

.navigation-dropdown a {
  padding: 0.5rem;
}

h1 {
  font-size: 51px;
  font-weight: 500;
  line-height: 1.15;
}

h2 {
  font-size: 40px;
  font-weight: 400;
  line-height: 1.2;
}

h3 {
  font-size: 21px;
  font-weight: 300;
  line-height: 1.3;
}

main {
  width: min(100% - 2.5rem, 1100px);
  min-height: 55vh;
  margin: 3rem auto;
}

main > h1:first-child,
article > h1:first-child {
  margin-top: 0;
}

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

.image-gallery-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 150px), 1fr));
  align-items: center;
  gap: 1.5rem;
  margin: 2rem auto;
}

.image-gallery-wrapper img {
  display: block;
  width: 100%;
  object-fit: contain;
}

.feature-card {
  display: inline-block;
  max-width: 31%;
  margin: 1%;
  vertical-align: top;
}

.feature-card img {
  width: 100%;
  height: auto;
}

.feature-highlights {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
}

.feature-highlights img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: 2.5rem;
  align-items: start;
}

.contact-form {
  display: grid;
  gap: 1rem;
  max-width: none;
  margin: 0;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 0.5rem;
}

.footer-form {
  display: grid;
  gap: 1rem;
  max-width: 680px;
  margin: 2rem auto;
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 0.5rem;
}

.content-cta {
  max-width: 760px;
  margin: 2.5rem auto;
  padding: 1.75rem;
  border: 1px solid #d9dfe6;
  border-radius: 0.4rem;
  text-align: center;
}

.content-cta h3 {
  margin-top: 0;
}

.content-cta a {
  display: inline-block;
  padding: 0.7rem 1.4rem;
  color: #fff;
  background: #000;
  border-radius: 0.25rem;
  font-weight: 600;
  text-decoration: none;
}

.footer-contact-form {
  display: grid;
  gap: 1rem;
}

form label {
  display: grid;
  gap: 0.35rem;
}

form input:not([type="radio"]),
form textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.6rem;
  border: 1px solid #aebbc8;
  border-radius: 0.25rem;
  font: inherit;
}

form textarea {
  min-height: 7rem;
}

form fieldset label {
  display: block;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.form-feedback {
  min-height: 1.65em;
  margin: 0;
}

.form-feedback.is-success {
  color: #176b3a;
}

form button,
.quote-pill {
  display: inline-block;
  width: fit-content;
  padding: 0.7rem 1.25rem;
  color: #fff;
  background: #000;
  border: 0;
  border-radius: 2rem;
  font: inherit;
  text-decoration: none;
  cursor: pointer;
}

form button:hover,
.quote-pill:hover,
.content-cta a:hover {
  color: #fff;
  background: #222;
}

.kb-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.kb-entry {
  padding: 1.5rem;
  background: #f8f8f8;
  border-radius: 0.5rem;
}

.kb-entry time {
  color: #526176;
  font-size: 0.9rem;
}

.kb-entry-title {
  margin: 0.35rem 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.3;
}

.kb-entry-title a {
  color: #172b4d;
  text-decoration: none;
}

.kb-entry-title a:hover {
  text-decoration: underline;
}

form button:focus-visible,
.quote-pill:focus-visible,
.content-cta a:focus-visible,
.mobile-menu-toggle:focus-visible,
.main-navigation a:focus-visible,
.main-navigation summary:focus-visible {
  outline: 3px solid #0874a5;
  outline-offset: 3px;
}

.site-footer {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
  padding: 2rem max(1.25rem, calc((100% - 1200px) / 2));
  background: #f8f8f8;
}

.site-footer .footer-heading {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-size: 1.2rem;
  font-weight: 700;
}

.site-footer address {
  font-style: normal;
}

.footer-contact,
.site-footer nav {
  display: grid;
  align-content: start;
  gap: 0.35rem;
}

.quote-pill,
.whatsapp-pill {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
}

.quote-pill {
  bottom: 4.5rem;
}

.whatsapp-pill {
  color: #fff;
  background: #25D366;
  border-radius: 2rem;
  padding: 0.7rem 1.25rem;
  text-decoration: none;
}

@media (max-width: 900px) {
  .site-header {
    flex-wrap: wrap;
  }

  .contact-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .kb-list,
  .site-footer {
    grid-template-columns: 1fr;
  }

  .site-footer {
    gap: 1rem;
  }
}

@media (max-width: 600px) {
  .site-header {
    justify-content: center;
  }

  .brand {
    flex-basis: 170px;
  }

  .main-navigation {
    width: 100%;
    justify-content: space-between;
    gap: 0.5rem;
  }

  .main-navigation a,
  .main-navigation summary {
    font-size: 0.9rem;
  }

  main {
    width: min(100% - 2rem, 1100px);
    margin: 2rem auto;
  }

  .feature-card {
    display: block;
    max-width: 100%;
    margin: 1.5rem 0;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .footer-form {
    margin: 1.5rem auto;
    padding: 1.25rem;
  }
}

@media (max-width: 767px) {
  body.menu-open {
    overflow: hidden;
  }

  .site-header {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 1rem;
  }

  .brand {
    flex: 0 1 200px;
  }

  .brand img {
    width: auto;
    max-width: 100%;
    max-height: 36px;
  }

  .mobile-menu-toggle {
    display: none;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    align-content: center;
    justify-items: center;
    gap: 5px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  body.menu-ready .mobile-menu-toggle {
    display: grid;
  }

  .mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: currentColor;
    transition: transform 150ms ease, opacity 150ms ease;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:first-child {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu-toggle[aria-expanded="true"] span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu-toggle[aria-expanded="true"] span:last-child {
    transform: translateY(-7px) rotate(-45deg);
  }

  .main-navigation {
    position: absolute;
    top: 100%;
    right: 0;
    left: 0;
    z-index: 2;
    display: grid;
    width: auto;
    justify-content: stretch;
    gap: 0;
    padding: 0.5rem 1.25rem 1rem;
    background: #fff;
    border-bottom: 1px solid #e5eaf0;
    box-shadow: 0 0.5rem 1rem #172b4d1a;
  }

  body.menu-ready .main-navigation {
    display: none;
  }

  body.menu-ready .main-navigation.is-open {
    display: grid;
  }

  .main-navigation > a,
  .main-navigation summary {
    display: block;
    padding: 0.7rem 0;
    font-size: 1rem;
  }

  .navigation-dropdown {
    position: static;
    min-width: 0;
    padding: 0 0 0.5rem 1rem;
    border: 0;
    box-shadow: none;
  }

  .main-navigation details:hover .navigation-dropdown,
  .main-navigation details:focus-within .navigation-dropdown {
    display: none;
  }

  .main-navigation details[open] .navigation-dropdown {
    display: grid;
  }

  .navigation-dropdown a {
    padding: 0.5rem 0;
  }

  body {
    padding-bottom: 3.5rem;
  }

  .quote-pill,
  .whatsapp-pill {
    right: auto;
    bottom: 0;
    width: 50%;
    min-height: 3.5rem;
    padding: 0.7rem 0.5rem;
    border-radius: 0;
    text-align: center;
    z-index: 4;
  }

  .quote-pill {
    left: 0;
  }

  .whatsapp-pill {
    left: 50%;
  }
}
