@import url(foundation.min.css);
@import url(jquery.fancybox.css);
@import url(slick.css);

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Medium.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Light.ttf") format("truetype");
  font-weight: 300;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-SemiBold.ttf") format("truetype");
  font-weight: 600;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/Manrope-Bold.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --primary-color: #636466;
  --nav-fs: 2.6rem;
  --nav-fs-mobile: 2.2rem;
  --lang-fs: 2rem;
  --slideshow-underline: 5.6rem;
  --about-us-title: 6.4rem;
  --about-us-txt: 2.8rem;
  --upper-distance: 120px;
  --service-fs: 2.4rem;
}

html {
  font-size: 62.5%;
  font-weight: 400;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary,
h1,
h2,
h3,
h4,
h5,
h6,
html,
body,
audio,
canvas,
video,
a,
small,
label,
legend,
button,
input,
textarea,
time {
  font-family: "Manrope", sans-serif;
  font-weight: 300;
}

.error > label > small {
  text-transform: none;
}

.button,
button {
  background-color: #257696;
}

.button:hover,
button:hover {
  background-color: #113644;
}

.st_fblike_hcount {
  margin-right: 25px;
}

.st_pinterest_hcount {
  margin-left: 20px;
}

.slider,
.slider img {
  width: 100%;
}

.row {
  max-width: 1200px;
}

[data-magellan-expedition="fixed"] {
  width: 1200px;
  max-width: 1200px;
  min-width: 1200px;
  margin: 0 auto;
}

.breadcrumbs {
  border: none;
  background: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.breadcrumbs a:not(.current):hover,
.breadcrumbs a:hover i {
  color: #a69c00;
}

div.breadcrumb {
  max-width: 1200px;
  margin: 0 auto 25px;
}

.breadcrumbs * {
  color: #333333;
}

.breadcrumbs *,
.breadcrumbs > .current {
  line-height: 28px;
  text-transform: capitalize;
  font-size: 1rem;
}

.captcha input {
  margin-top: 8px;
}

body {
  opacity: 1;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
  margin-bottom: 40px;
}

p {
  margin-bottom: 20px;
}

.row--padding,
.columns,
.column {
  padding-left: 12px;
  padding-right: 12px;
}

.row--lg {
  max-width: 1744px;
}

.form-validation input {
  margin-top: 8px;
}

#submitform {
  margin-top: 10px;
  font-family: "Manrope", sans-serif;
  font-weight: 600 !important;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#001e41),
    to(#007476)
  );
  background: -o-linear-gradient(#001e41, #007476);
  background: linear-gradient(#001e41, #007476);
  border-radius: 3px;
  font-size: 20px;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto;
}

.submit-button-class {
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.static-page__content {
  max-width: 1200px;
  margin: 0 auto 4rem;
}

.slideshow {
  max-width: 173.5rem;
  margin: 0 auto;
  padding: 0 1rem;
  position: relative;
}

.espa-banner-link {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 10;
  display: block;
  line-height: 0;
}

.espa-banner {
  width: clamp(180px, 22vw, 400px);
  height: auto;
  display: block;
}

/* ------- HERO ------- */
#slider_1 .slick-slide img {
  border-radius: 2.8rem;
}

.slick-slider {
  margin-bottom: 0;
}

#slider_1 .slick-dots {
  position: absolute;
  bottom: -55px;
  right: 0;
  margin: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
  gap: 1rem;
}

#slider_1 .slick-dots li {
  margin: 0;
  -webkit-filter: opacity(0.5);
  filter: opacity(0.5);
}

#slider_1 .slick-dots li.slick-active {
  -webkit-filter: opacity(1);
  filter: opacity(1);
}

#slider_1 .slick-dots button {
  margin: 0;
  background-color: transparent;
  background-image: url("../img/astor-icon.png");
  background-repeat: no-repeat;
  width: 30px;
  height: 30px;
  font-size: 0;
  padding: 0;
}

/* ------- ABOUT ------- */

/* ------- STATIC PAGE ------- */

.static-page__title {
  text-align: center;
  font-size: 32px;
}

.static-page__content p {
  line-height: 28px;
}

.homepage section {
  overflow-x: clip;
}

.slideshow-undertext {
  font-size: clamp(5rem, 3.13vw, var(--slideshow-underline));
  max-width: 101rem;
  line-height: 1;
  color: var(--primary-color);
  margin-top: 3.5rem;
  letter-spacing: -1px;
  font-weight: 300;

  a span {
    color: #000000;
    text-decoration: underline;
    text-underline-offset: 14px;
  }
}

.about-us-outer-container {
  margin: var(--upper-distance) auto 0;
}

.about-us-outer-container .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: 166rem;
  margin-left: auto;
  padding-left: 1rem;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1.5rem;
}

.about-us-txt-container .moduleTitle {
  font-size: var(--about-us-title);
  color: var(--primary-color);
  margin-bottom: 3rem;
  font-weight: 300;
  letter-spacing: -1px;

  span {
    position: relative;
    color: black;
  }

  span::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #000000;
    color: #ffffff;
  }
}

.about-us-txt-container {
  max-width: 635px;
  margin-right: auto;
  font-size: var(--about-us-txt);
  color: var(--primary-color);
  font-weight: 300;
  line-height: 1.4;
}

.more {
  max-width: -webkit-fit-content;
  max-width: -moz-fit-content;
  max-width: fit-content;
  margin-left: auto;
  margin-top: 3rem;

  a {
    color: var(--primary-color);
    position: relative;
  }

  a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
  }
}

body {
  position: relative;
}

body::before {
  content: "";
  width: 1126px;
  height: 1200px;
  position: fixed;
  left: 0;
  top: 50%;
  -webkit-animation: rotateAstor 165s linear infinite forwards;
  animation: rotateAstor 165s linear infinite forwards;
  -webkit-transform-origin: top center;
  -ms-transform-origin: top center;
  transform-origin: top center;
  /* The image used */
  background-image: url("../img/icon-bg.png");
  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
  z-index: -1;
}

@-webkit-keyframes rotateAstor {
  0% {
    -webkit-transform: rotate(0) translateY(-50%);
    transform: rotate(0) translateY(-50%);
  }

  25% {
    -webkit-transform: rotate(90deg) translateY(-50%);
    transform: rotate(90deg) translateY(-50%);
  }

  50% {
    -webkit-transform: rotate(180deg) translateY(-50%);
    transform: rotate(180deg) translateY(-50%);
  }

  75% {
    -webkit-transform: rotate(270deg) translateY(-50%);
    transform: rotate(270deg) translateY(-50%);
  }

  100% {
    -webkit-transform: rotate(360deg) translateY(-50%);
    transform: rotate(360deg) translateY(-50%);
  }
}

@keyframes rotateAstor {
  0% {
    -webkit-transform: rotate(0) translateY(-50%);
    transform: rotate(0) translateY(-50%);
  }

  25% {
    -webkit-transform: rotate(90deg) translateY(-50%);
    transform: rotate(90deg) translateY(-50%);
  }

  50% {
    -webkit-transform: rotate(180deg) translateY(-50%);
    transform: rotate(180deg) translateY(-50%);
  }

  75% {
    -webkit-transform: rotate(270deg) translateY(-50%);
    transform: rotate(270deg) translateY(-50%);
  }

  100% {
    -webkit-transform: rotate(360deg) translateY(-50%);
    transform: rotate(360deg) translateY(-50%);
  }
}

.about-us-image img {
  border-top-left-radius: 3rem;
  border-bottom-left-radius: 3rem;
}

/* Add this to your existing styles */

.parallax-section {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: auto;

  height: 300px;
  /* adjust as needed */
  position: relative;
}

#gr .parallax-section {
  background-image: url("../img/services-bg.png");
}

#en .parallax-section {
  background-image: url("../img/services-bg-en.png");
}

.services-title {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 0 auto -4rem;
  font-size: 15.3rem;
  color: #767676;
  line-height: 1;

  /* Parallax effect */
  -webkit-transform: translateY(0);
  -ms-transform: translateY(0);
  transform: translateY(0);
  will-change: transform;
  -webkit-transition: -webkit-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition:
    transform 0.3s ease-out,
    -webkit-transform 0.3s ease-out;
}

/* ==========================================================================
   SERVICES - wide rows ("option B" from the services mockup)
   Row markup lives in application/views/newsmodules/module2.php
   ========================================================================== */

.services-container {
  position: relative;
  max-width: 173.5rem;
  margin: 0 auto;
  padding: 0 1rem;
  border-top: 1px solid var(--hdr-line);
  /* feeds the 01 / 02 / 03 counters - no CMS field needed */
  counter-reset: svc;
}

.homepage-service {
  position: relative;
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: auto 1fr auto;
  grid-template-columns: auto 1fr auto;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: clamp(1.8rem, 3vw, 4.4rem);
  padding: clamp(2.4rem, 3.2vw, 4rem) clamp(1.4rem, 1.6vw, 2.4rem);
  border-bottom: 1px solid var(--hdr-line);
  counter-increment: svc;
  -webkit-transition:
    background-color 0.4s,
    padding-left 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  -o-transition:
    background-color 0.4s,
    padding-left 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition:
    background-color 0.4s,
    padding-left 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* gradient bar that wipes down the left edge on hover */
.homepage-service::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14%;
  bottom: 14%;
  width: 3px;
  border-radius: 3px;
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(var(--navy)),
    to(var(--teal))
  );
  background: -o-linear-gradient(var(--navy), var(--teal));
  background: linear-gradient(180deg, var(--navy), var(--teal));
  -webkit-transform: scaleY(0);
  -ms-transform: scaleY(0);
  transform: scaleY(0);
  -webkit-transform-origin: top;
  -ms-transform-origin: top;
  transform-origin: top;
  -webkit-transition: -webkit-transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  -o-transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.homepage-service__num {
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #6b7c8c;
  -webkit-transition: color 0.35s;
  -o-transition: color 0.35s;
  transition: color 0.35s;
}

.homepage-service__num::before {
  content: counter(svc, decimal-leading-zero);
}

.homepage-service h3 {
  margin: 0 0 6px;
  font-size: clamp(2rem, 2.1vw, 3rem);
  font-weight: 700;
  letter-spacing: -0.015em;
  line-height: 1.2;
  color: var(--navy);
  -webkit-transition: color 0.35s;
  -o-transition: color 0.35s;
  transition: color 0.35s;
}

.homepage-service__intro,
.homepage-service__intro p {
  margin: 0;
  font-size: 1.5rem;
  line-height: 1.5;
  color: #6b7c8c;
}

.homepage-service__end {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: clamp(1.4rem, 2vw, 2.8rem);
}

/* thumbnail slides in from the right on hover */
.homepage-service__media {
  display: block;
  width: clamp(120px, 15vw, 200px);
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  border-radius: 14px;
  overflow: hidden;
  line-height: 0;
  opacity: 0;
  -webkit-transform: translateX(24px);
  -ms-transform: translateX(24px);
  transform: translateX(24px);
  -webkit-transition:
    opacity 0.45s ease,
    -webkit-transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  -o-transition:
    opacity 0.45s ease,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition:
    opacity 0.45s ease,
    transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.homepage-service__media img {
  width: 100%;
  height: auto;
  aspect-ratio: 3 / 2;
  -o-object-fit: cover;
  object-fit: cover;
  display: block;
}

.homepage-service__go {
  display: -ms-grid;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  border: 1px solid var(--hdr-line);
  border-radius: 50%;
  color: var(--teal);
  -webkit-transition:
    background-color 0.35s,
    color 0.35s,
    border-color 0.35s,
    -webkit-transform 0.35s;
  -o-transition:
    background-color 0.35s,
    color 0.35s,
    border-color 0.35s,
    transform 0.35s;
  transition:
    background-color 0.35s,
    color 0.35s,
    border-color 0.35s,
    transform 0.35s;
}

.homepage-service__go svg {
  width: 17px;
  height: 17px;
  display: block;
}

.homepage-service:hover {
  background-color: var(--hdr-tint);
  padding-left: clamp(2.6rem, 2.6vw, 4rem);
}

.homepage-service:hover::before {
  -webkit-transform: scaleY(1);
  -ms-transform: scaleY(1);
  transform: scaleY(1);
}

.homepage-service:hover .homepage-service__num,
.homepage-service:hover h3 {
  color: var(--teal);
}

.homepage-service:hover .homepage-service__media {
  opacity: 1;
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.homepage-service:hover .homepage-service__go {
  background-color: var(--navy);
  border-color: var(--navy);
  color: #ffffff;
  -webkit-transform: translateX(4px);
  -ms-transform: translateX(4px);
  transform: translateX(4px);
}

@media screen and (max-width: 900px) {
  .homepage-service {
    -ms-grid-columns: auto 1fr;
    grid-template-columns: auto 1fr;
    gap: 1.4rem;
  }

  .homepage-service__media {
    display: none;
  }

  .homepage-service:hover {
    padding-left: clamp(1.4rem, 1.6vw, 2.4rem);
  }
}

.video-outer-container > .container {
  max-width: 173.5rem;
  padding: 0 1rem;
  margin: 0 auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;
}

.video-outer-container {
  margin-bottom: 100px;
}

.video-outer-container > .container > div:first-of-type img {
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.video-outer-container iframe {
  border-bottom-left-radius: 2rem;
  border-bottom-right-radius: 2rem;
}

.video-text {
  max-width: 415px;
  margin: 0 auto;
}

.video-text h4 {
  font-size: var(--about-us-title);
  letter-spacing: -1px;

  img {
    position: relative;
    top: -6px;
  }
}

.video-text p {
  font-size: var(--about-us-txt);
  line-height: 1.2;
  color: var(--primary-color);
  font-weight: 300;
}

.customers-outer-container {
  max-width: 182.8rem;
  margin-left: auto;
  padding-left: 1rem;
}

.customers-outer-container > .container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 1rem;

  img {
    border-top-left-radius: 3rem;
    border-bottom-left-radius: 3rem;
  }
}

.customers-txt {
  max-width: 69rem;
  margin: 0 auto;
  color: var(--primary-color);
}

.customers-title {
  font-size: var(--about-us-title);
  color: var(--primary-color);
  letter-spacing: -1px;
  margin-bottom: 2rem;
}

.customers-txt p {
  line-height: 1.2;
  font-size: var(--about-us-txt);
  margin: 0;
  font-weight: 300;
}

.blog-txt {
  max-width: 84.5rem;
  padding: 0 1rem;
  margin: 0 auto;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin-top: calc(2rem + var(--upper-distance));
  margin-bottom: 5rem;

  h5 {
    font-size: var(--about-us-title);
    color: var(--primary-color);
    text-align: center;
    margin-top: 0;
    line-height: 1;
  }

  p {
    font-weight: 300;
    margin: 0;
    font-size: var(--about-us-txt);
    color: var(--primary-color);
    line-height: 1.2;
    text-align: justify;
  }
}

.blog-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin: 0 auto;
  gap: 5rem;
  max-width: 147rem;
  padding: 0 1rem;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.innerpage .blog-container {
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.blog {
  max-width: 415px;
  width: 100%;
}

.blog h5 {
  margin-top: 1rem;
  font-size: var(--about-us-txt);
  letter-spacing: -1px;
  line-height: 1.2;
  padding: 0 15px;
  margin-bottom: 5px;
}

.time-container {
  font-size: var(--lang-fs);
  padding: 0 15px;
  text-align: right;
  color: #000000;
  margin-top: auto;
}

.time-container span {
  position: relative;
}

.time-container span::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000000;
  color: #ffffff;
  z-index: 1;
}

.blog figure {
  margin: 0;

  img {
    border-radius: 3rem;
  }
}

.blog a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  height: 100%;
}

.blog a span {
  color: #000;
  display: block;
  margin: 1rem 0 1rem 1rem;
  font-size: var(--lang-fs);
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
}

.blog a span:before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000000;
  color: #ffffff;
}

.career-container-innerpage a {
  font-weight: 700;
  text-decoration: underline;
}

/* ------- CATEGORY PAGE ------- */

/* ------- FOOTER ------- */

.site-footer {
  margin-top: 10rem;
  padding-bottom: 26rem;
  position: relative;
}

.site-footer::before {
  content: "";
  background-image: url("../img/footer-bg.png");
  background-repeat: no-repeat;
  background-size: contain;
  width: clamp(20rem, 32.92vw, 632px);
  height: clamp(20.1rem, 32.86vw, 631px);
  position: absolute;
  left: 0;
  bottom: 0;
}

.footer-details {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 3.5rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  max-width: 173.1rem;
  padding: 0 1rem;
  margin: 0 auto;
  font-size: var(--service-fs);
  color: #000;
  position: relative;
  z-index: 1;
}

.footer-details a {
  font-size: var(--service-fs);
  color: #000;
}

.footer-details span {
  font-weight: 700;
}

.footer-logo {
  margin-bottom: 4rem;
}

.site-logo-container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -webkit-box-align: end;
  -ms-flex-align: end;
  align-items: flex-end;
  width: 100%;
  margin-top: -3rem;
}

.site-logo-container > * {
  -ms-flex-preferred-size: 33.3%;
  flex-basis: 33.3%;
}

.site-footer__copyrights {
  text-align: center;
  white-space: nowrap;
}

.site-footer__logo {
  text-align: right;
}

.foter-email a,
.footer-number a {
  font-weight: 700;
}

.footer-terms a,
.footer-social a {
  position: relative;
}

.footer-terms a::before,
.footer-social a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}

.innerpage .static-page__title {
  font-size: calc(0.6rem + var(--about-us-txt));
  margin-top: 3rem;
  margin-bottom: 2rem;
}

.static-page__content *,
.static-page__content p,
.static-page__content li,
.static-page__content a {
  color: var(--primary-color);
  font-size: var(--lang-fs);
}

.announcements-innerpage-container,
.services-innerpage-container,
.blog-innerpage-container {
  max-width: 154rem;
  margin: 0 auto;
  padding: 0 1rem;
}

#articlebody {
  padding: 0 1rem;
}

.services-innerpage-container * {
  font-size: var(--lang-fs);
  color: var(--primary-color);
}

.services-innerpage-container .blog-container {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.services-innerpage-container .blog h5 {
  text-align: center;
  color: var(--primary-color);
}

.innerpage .blog h5 {
  color: var(--primary-color);
  margin-top: 1rem;
}

.breadcrumbs {
  border: none;
  background: none;
  -webkit-box-shadow: none;
  box-shadow: none;
}

.breadcrumbs a:not(.current):hover,
.breadcrumbs a:hover i {
  color: var(--primary-color);
}

div.breadcrumb {
  max-width: 1200px;
  margin: 0 auto 25px;
}

.breadcrumbs *,
.breadcrumbs > .current {
  line-height: 28px;
  text-transform: capitalize;
  color: #333333;
  font-size: 1rem;
}

.captcha input {
  margin-top: 8px;
}

.pagination {
  margin: 2rem 0 0 !important;
  display: -webkit-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

ul.pagination li.current a,
ul.pagination li.current a:hover,
ul.pagination li.current a:focus {
  background: black;
}

ul.pagination li a {
  padding: 0.5rem 1rem;
  font-size: 1.4rem;
}

ul.pagination li:hover a,
ul.pagination li a:focus {
  background: var(--primary-color);
  color: white;
}

#contact form {
  background-color: transparent;
  margin: 0 auto;
  padding: 5rem 0;

  label {
    line-height: 2.1;
    font-size: 21px;
    white-space: nowrap;
    margin-right: 7px;
    font-weight: 400;
  }
}

.message-container,
#contact form {
  max-width: 1054px;
  width: 100%;
}

.message-container #message {
  width: 1054px;
}

#contact form .row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  max-width: unset;
}

#contact form .row > .columns {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: relative;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 5px;
  padding-bottom: 40px;
}

#contact form .row select:focus-visible,
#contact form .row select {
  font-size: var(--nav-fs);
  height: 4.2rem;
  width: 37.5rem;
  border: unset;
  background-color: unset;
  color: var(--primary-color);
  border-bottom: 2px solid;
  font-family: "Manrope", sans-serif;
  font-size: 21px;
  outline: unset;
  font-family: "Manrope";
}

#contact form .row input {
  width: 35rem;
  background-color: transparent;
  -webkit-box-shadow: unset;
  box-shadow: unset;
  border: unset;
  border-bottom: 2px solid black;
}

#contact form .row input,
#contact form .row textarea {
  padding: 2rem 1rem;
  font-size: 20px;
  margin: 0;
  font-weight: 400;
}

#contact form .row textarea {
  padding: 0.5rem 1rem;
}

[data-abide] .error small.error,
[data-abide] span.error,
[data-abide] small.error {
  font-size: 1.6rem;
  position: absolute;
  right: 0;
  bottom: 0;
}

.message-container > .columns {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;

  #message {
    height: 200px;
  }
}

.breadcrumbs {
  margin-top: 2rem;
  padding: 0;
}

.breadcrumbs a:not(.current):hover {
  color: var(--primary-color) !important;
}

.breadcrumb *,
.breadcrumbs > .current {
  font-size: 16px;
}

.breadcrumb .fa-home {
  color: var(--primary-color);
}

.alert-box.warning,
.alert-box.success {
  font-size: 1.8rem;
}

.close {
  opacity: 1 !important;
  right: 0rem !important;
  cursor: pointer;
}

#contact .alert-box.success {
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  margin: 2rem auto 0;
  padding-left: 3rem;
  padding-right: 3rem;
}

#contact .alert-box .close {
  font-size: 1.6rem;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  padding: 8px 6px 8px;
  line-height: 0;
  position: absolute;
  top: 50%;
  right: 0.25rem;
  opacity: 1;
  margin: 0;
  transform: translateY(-50%);
}

.main__image,
.main__image img {
  max-width: 1715px;
  width: 100%;
  height: auto;
  border-radius: 2.8rem;
  margin: 0 auto;
}

.main__image img {
  max-height: 600px;
  display: block;
  margin: 0 auto;
  -o-object-fit: cover;
  object-fit: cover;
}

.locations {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 24px;
  margin: 32px 0;
  max-width: 1080px;
  margin-left: auto;
  margin-right: auto;
}

.locations h3 {
  color: white;
  font-size: var(--service-fs);
  font-weight: 600;
  margin: 0 0 12px 0;
  text-align: center;
}

.location p {
  font-size: 20px;
  line-height: 1.6;
  margin: 0;
  color: white;
  text-align: center;
}

.location a {
  color: white;
  text-decoration: none;
}

.location {
  background: -webkit-gradient(
    linear,
    left top,
    left bottom,
    from(#001e41),
    to(#007476)
  );
  background: -o-linear-gradient(#001e41, #007476);
  background: linear-gradient(#001e41, #007476);
  border: 1px solid #63646669;
  border-radius: 12px;
  padding: 20px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  width: 33.33%;
}

.location-footer {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.location-footer > div {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  font-size: var(--nav-fs);
  gap: 5px;
}

.partners-logos > ul {
  list-style-type: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  gap: 5rem;
  margin-left: 0;
}

.partners-title {
  text-align: center;
  margin-bottom: 2rem;
  font-size: var(--nav-fs);
}

.carreers-footer a {
  position: relative;
}

.carreers-footer a::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #000;
}

@media screen and (min-width: 2300px) {
  :root {
    --about-us-txt: 3.5rem;
  }
}

@media screen and (min-width: 2000px) {
  .customers-outer-container,
  .about-us-outer-container .container {
    margin-left: auto;
    margin-right: auto;
  }
}

@media screen and (max-width: 1500px) {
  :root {
    --about-us-title: 5rem;
    --about-us-txt: 2.4rem;
    --upper-distance: 100px;
    --service-fs: 2.2rem;
    --nav-fs: 2.4rem;
    --nav-fs-mobile: 2rem;
  }

  .video-outer-container iframe {
    width: 630px;
    height: 510px;
  }

  .video-text h4 img {
    position: relative;
    top: -5px;
    width: 38px;
  }

  .about-us-txt-container {
    max-width: 505px;
  }

  .blog-container {
    gap: 2rem;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .blog {
    max-width: unset;
    width: clamp(20rem, 33.2vw, 415px);
  }

  .customers-txt {
    max-width: 49rem;
  }

  .customers-outer-container > .container img {
    width: 59rem;
  }

  li.has-dropdown.not-click:not(:last-of-type)::after {
    display: none;
  }

  [data-abide] .error small.error,
  [data-abide] span.error,
  [data-abide] small.error {
    bottom: 25px;
    -webkit-transform: translateY(100%);
    -ms-transform: translateY(100%);
    transform: translateY(100%);
  }

  #contact form .row select:focus-visible,
  #contact form .row select,
  #contact form .row input {
    width: 36rem;
    margin: 0;
  }

  #contact form {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
  }

  #contact form .row input {
    font-size: var(--lang-fs);
  }

  #contact form {
    label {
      -ms-flex-line-pack: end;
      align-content: flex-end;
    }
  }
}

@media screen and (max-width: 1200px) {
  #contact form .row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    width: 580px;
  }

  .message-container #message {
    width: 580px;
  }

  #contact form .row > .columns {
    width: 100%;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .locations {
    gap: 15px;
    padding: 0 1rem;
  }
}

@media screen and (max-width: 1024px) {
  :root {
    --upper-distance: 70px;
  }

  .static-page__content img {
    float: unset !important;
    margin: auto auto 2rem !important;
  }

  #slider_1 .slick-slide img {
    border-radius: 0.8rem;
  }

  [class*="block-grid-"] {
    max-width: 660px;
    /* αλλαγή ανάλογα με το μέγεθος του thumb */
    margin: auto;
  }

  .partners-logos > ul {
    display: -ms-grid;
    display: grid;
    -ms-grid-columns: 1fr 3rem 1fr;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
  }

  .about-us-outer-container .container {
    padding-left: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .about-us-txt-container {
    margin: 0 auto;
  }

  .about-us-image {
    margin-left: auto;
  }

  .slideshow-undertext {
    font-size: clamp(2.8rem, 4.88vw, 5rem);
    max-width: clamp(10rem, 97.66vw, 83rem);
    letter-spacing: -2px;
  }

  .services-title {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto -3rem;
    font-size: 11.3rem;
    color: #767676;
    line-height: 1;
  }

  .locations {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .location {
    width: auto;
    min-width: 31rem;
  }

  .video-outer-container > .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
    -ms-flex-direction: column-reverse;
    flex-direction: column-reverse;
  }

  .blog-txt,
  .video-outer-container > .container > div:first-of-type img,
  .video-outer-container iframe,
  .customers-outer-container > .container img,
  .customers-txt,
  .about-us-image img,
  .about-us-txt-container {
    max-width: 50rem;
  }
  .video-outer-container > .container > div:first-of-type img,
  .video-outer-container iframe,
  .customers-outer-container > .container img,
  .about-us-image img {
    border-radius: 3rem;
  }

  .video-outer-container iframe {
    height: 28rem;
  }

  .customers-outer-container > .container img,
  .about-us-image {
    margin: 0 auto;
  }

  .customers-outer-container {
    margin-top: 2rem;
    padding: 0;
  }

  .video-text h4 {
    margin-bottom: 2rem;
    font-size: 5.5rem;
  }

  .customers-outer-container > .container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    gap: 2rem;
    padding: 0 1rem;
  }

  .video-text {
    max-width: 50rem;
  }

  .blog-container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .blog {
    width: 415px;
  }

  .site-footer {
    padding-bottom: 21rem;
  }

  .site-logo-container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    width: 100%;
    margin-top: -3rem;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    gap: 2rem;
  }
}

@media screen and (max-width: 640px) {
  :root {
    --nav-fs: 1.8rem;
    --slideshow-underline: 4rem;
    --about-us-title: 3.6rem;
    --about-us-txt: 1.8rem;
    --service-fs: 1.8rem;
    --upper-distance: 50px;
  }

  .blog a span {
    margin: 1rem 0 1rem 1.5rem;
  }

  .time-container {
    font-size: 16px;
    margin-top: 5px;
  }

  .site-footer {
    margin-top: 4rem;
  }

  .site-footer__logo img {
    max-width: 12rem;
  }

  .parallax-title {
    height: 150px !important;
  }

  .st_linkedin_hcount {
    display: none;
  }

  [class*="block-grid-"] {
    max-width: 330px;
    /* αλλαγή ανάλογα με το μέγεθος του thumb */
    margin: auto;
  }

  #contact form {
    padding: 1.5rem 0;
  }

  #contact form .row {
    width: auto;
  }

  #contact form .row > .columns {
    padding-bottom: 20px;
  }

  #contact form label,
  #contact form .row select:focus-visible,
  #contact form .row select,
  #contact form .row input {
    font-size: 18px;
    text-align: center;
  }

  #submitform {
    font-size: 16px;
  }

  .breadcrumbs *,
  .breadcrumbs > .current {
    font-size: 15px;
  }

  .services-title {
    margin: 0px auto -1.2rem;
    font-size: 6rem;
  }

  .slideshow-undertext {
    width: 100%;
    letter-spacing: 0;
    line-height: 1.4;

    span {
      text-underline-offset: 7px;
    }
  }

  .video-text h4 {
    font-size: 3.5rem;
  }

  .video-text h4 img {
    width: 28px;
  }

  .blog-txt img {
    width: 24px;
  }

  .slideshow-undertext,
  .about-us-txt-container,
  .video-text,
  .customers-txt,
  .blog-txt p {
    text-align: center;
  }

  .more {
    margin: 3rem auto 0;
  }

  #slider_1 .slick-dots {
    position: static;
    margin: 2rem auto 0;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }

  .customers-outer-container > .container img,
  .customers-txt,
  .about-us-image img,
  .about-us-txt-container {
    width: 100%;
    max-width: 50rem;
  }

  .video-outer-container iframe {
    max-width: 50rem;
    width: 95vw;
  }

  .about-us-outer-container {
    padding: 0 1rem;
  }

  .blog-outer-container {
    padding: 0 1rem;
  }

  .blog {
    max-width: 415px;
    width: 100%;
  }

  .site-footer {
    padding-bottom: 5rem;
  }

  .site-footer::before {
    display: none;
  }

  .footer-logo + div {
    text-wrap: balance;
    text-align: center;
  }

  .footer-terms,
  .footer-social {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    text-align: center;
    gap: 2rem;

    span {
      display: none;
    }
  }

  .footer-terms a,
  .footer-social a {
    width: -webkit-fit-content;
    width: -moz-fit-content;
    width: fit-content;
    margin: 0 auto;
  }

  .footer-logo {
    margin-bottom: 0;
  }

  #slider_1 .slick-slide img {
    min-height: 26rem;
    -o-object-fit: cover;
    object-fit: cover;
  }

  .video-outer-container > .container > div:first-of-type img {
    width: 100%;
  }
  .message-container > .columns {
    #message {
      max-width: 500px;
      width: 95vw;
    }
  }

  #contact form .row > .columns {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  #contact form .row {
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  #contact form {
    label {
      text-align: center;
      margin: 0;
    }
  }

  [data-abide] .error small.error,
  [data-abide] span.error,
  [data-abide] small.error {
    position: static;
    -webkit-transform: unset;
    -ms-transform: unset;
    transform: unset;
  }

  #contact form .row:not(.message-container) > .columns,
  #contact form .row select:focus-visible,
  #contact form .row select,
  #contact form .row input {
    width: 31rem;
  }

  .parallax-section {
    background-size: 82vw;
    height: 15rem;
  }

  .parallax-section {
    background-attachment: scroll;
  }
}

@media screen and (max-width: 640px) {
  .espa-banner {
    width: clamp(120px, 42vw, 200px);
  }
}
/* ==========================================================================
   HEADER - option A ("clean & centered") + floating quote button
   Markup lives in application/views/templates/page.php
   ========================================================================== */

:root {
  /* same container as .slideshow so the logo lines up with the hero edge */
  --hdr-max: 173.5rem;
  --hdr-pad: 1rem;
  --hdr-h: 108px;
  --hdr-h-scrolled: 76px;
  --hdr-logo: 64px;
  --hdr-logo-scrolled: 46px;
  --hdr-nav-fs: 2rem;
  --hdr-sub-fs: 1.7rem;
  --hdr-lang-fs: 1.5rem;
  --hdr-mark: 22px;

  --navy: #001e42;
  --mid: #004456;
  --teal: #017477;
  --hdr-text: #1c3250;
  --hdr-line: #e6ecef;
  --hdr-tint: #eef5f5;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background-color: #ffffff;
  border-bottom: 1px solid transparent;
  -webkit-transition:
    border-color 0.35s ease,
    -webkit-box-shadow 0.35s ease;
  transition:
    border-color 0.35s ease,
    box-shadow 0.35s ease;
}

.site-header.scrolled {
  border-bottom-color: var(--hdr-line);
  -webkit-box-shadow: 0 1px 2px rgba(0, 30, 66, 0.06);
  box-shadow: 0 1px 2px rgba(0, 30, 66, 0.06);
}

.site-header__row {
  max-width: var(--hdr-max);
  margin: 0 auto;
  padding: 0 var(--hdr-pad);
  height: var(--hdr-h);
  display: -ms-grid;
  display: grid;
  -ms-grid-columns: 1fr auto 1fr;
  grid-template-columns: 1fr auto 1fr;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-transition: height 0.35s ease;
  -o-transition: height 0.35s ease;
  transition: height 0.35s ease;
}

.site-header.scrolled .site-header__row {
  height: var(--hdr-h-scrolled);
}

/* ---- logo -------------------------------------------------------------- */

.site-header__logo {
  -ms-grid-column: 1;
  grid-column: 1;
  justify-self: start;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  line-height: 0;
}

.site-header__logo img {
  display: block;
  height: var(--hdr-logo);
  width: auto;
  -webkit-transition: height 0.35s ease;
  -o-transition: height 0.35s ease;
  transition: height 0.35s ease;
}

.site-header.scrolled .site-header__logo img {
  height: var(--hdr-logo-scrolled);
}

/* ---- main nav (CMS position 2) ----------------------------------------- */

.main-nav {
  -ms-grid-column: 2;
  grid-column: 2;
}

.main-nav ul.center {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: clamp(1.6rem, 2.4vw, 4rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.main-nav li {
  position: relative;
  margin: 0;
}

.main-nav a {
  white-space: nowrap;
}

.main-nav > ul > li > a {
  position: relative;
  display: block;
  padding: 10px 0;
  font-size: var(--hdr-nav-fs);
  font-weight: 600;
  line-height: 1;
  color: var(--hdr-text);
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

/* The astor mark floats above the item and is the hover cue - it replaces the
   underline entirely. It stays lit on the current page. */
.main-nav > ul > li > a::after {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: var(--hdr-mark);
  height: var(--hdr-mark);
  background-image: url("../img/astor-loader.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  pointer-events: none;
  opacity: 0;
  -webkit-transform: translate(-50%, -62%);
  -ms-transform: translate(-50%, -62%);
  transform: translate(-50%, -62%);
  -webkit-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.main-nav > ul > li > a:hover {
  color: var(--teal);
}

.main-nav > ul > li:hover > a::after,
.main-nav > ul > li.active > a::after {
  opacity: 1;
}

.main-nav > ul > li.active > a {
  color: var(--navy);
  font-weight: 700;
}

/* chevron on the items that open a submenu */
.main-nav > ul > li.has-sub > a {
  padding-right: 17px;
  background-image: url("../img/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 12px 12px;
}

/* ---- desktop dropdown (CMS submenu) ------------------------------------ */

.main-nav ul.dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  z-index: 10;
  min-width: 24rem;
  margin: 0;
  padding: 8px;
  list-style: none;
  background-color: #ffffff;
  border: 1px solid var(--hdr-line);
  border-radius: 14px;
  -webkit-box-shadow: 0 18px 40px rgba(0, 30, 66, 0.12);
  box-shadow: 0 18px 40px rgba(0, 30, 66, 0.12);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  -webkit-transform: translateX(-50%) translateY(8px);
  -ms-transform: translateX(-50%) translateY(8px);
  transform: translateX(-50%) translateY(8px);
  -webkit-transition:
    opacity 0.25s ease,
    -webkit-transform 0.25s ease;
  -o-transition:
    opacity 0.25s ease,
    transform 0.25s ease;
  transition:
    opacity 0.25s ease,
    transform 0.25s ease,
    visibility 0s 0.25s;
}

.main-nav li.has-sub:hover > ul.dropdown,
.main-nav li.has-sub:focus-within > ul.dropdown {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  -webkit-transform: translateX(-50%) translateY(0);
  -ms-transform: translateX(-50%) translateY(0);
  transform: translateX(-50%) translateY(0);
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

.main-nav ul.dropdown a {
  display: block;
  padding: 10px 14px;
  border-radius: 10px;
  font-size: var(--hdr-sub-fs);
  font-weight: 500;
  line-height: 1.3;
  color: var(--hdr-text);
  white-space: normal;
  -webkit-transition:
    background-color 0.2s,
    color 0.2s;
  -o-transition:
    background-color 0.2s,
    color 0.2s;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.main-nav ul.dropdown a:hover,
.main-nav ul.dropdown li.active > a {
  background-color: var(--hdr-tint);
  color: var(--teal);
}

/* ---- language switch (CMS position 3) ---------------------------------- */

.site-header__end {
  -ms-grid-column: 3;
  grid-column: 3;
  justify-self: end;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 12px;
}

.lang-switch ul.inline-list {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  overflow: visible;
  float: none !important;
}

.lang-switch ul.inline-list > li {
  display: block;
  float: none;
  margin: 0;
}

.lang-switch a {
  display: block;
  padding: 0;
  font-size: var(--hdr-lang-fs);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
  color: #8795a3;
  -webkit-transition: color 0.2s;
  -o-transition: color 0.2s;
  transition: color 0.2s;
}

.lang-switch a:hover {
  color: var(--teal);
}

#gr .lang-switch ul.inline-list > li:first-of-type > a,
#en .lang-switch ul.inline-list > li:last-of-type > a {
  color: var(--navy);
}

/* ---- burger ------------------------------------------------------------ */

.burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background-color: transparent;
  color: var(--navy);
  cursor: pointer;
  place-items: center;
  -webkit-transition:
    background-color 0.2s,
    color 0.2s;
  -o-transition:
    background-color 0.2s,
    color 0.2s;
  transition:
    background-color 0.2s,
    color 0.2s;
}

/* The old tint (#eef5f5) was invisible against the white drawer, so the hover
   fills the tile instead - same treatment as the social icons below it.
   Kept in its OWN rule: a selector list is thrown away wholesale if any part of
   it is unsupported, so pairing this with :focus-visible below would kill the
   hover on every browser that lacks :focus-visible. */
/* !important is belt-and-braces while this is being confirmed in a real
   browser - drop both once the hover is seen working. */
.burger:hover {
  background-color: var(--navy) !important;
  color: #ffffff !important;
}

/* :focus-visible rather than :focus, or the tile stays filled after a click. */
.burger:focus-visible {
  background-color: var(--navy);
  color: #ffffff;
}

.burger svg {
  width: 24px;
  height: 24px;
}

.site-header a:focus-visible,
.drawer a:focus-visible,
.burger:focus-visible,
.offer:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 8px;
}

/* ---- mobile drawer ----------------------------------------------------- */

.drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 300;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  /* same gutter as .site-header__row, so nothing shifts when the drawer opens */
  padding: env(safe-area-inset-top, 0px) var(--hdr-pad)
    calc(env(safe-area-inset-bottom, 0px) + 28px);
  background-color: #ffffff;
  overflow-y: auto;
  /* The panel itself only fades - it must never move, or the logo and the
     close button drift away from the header underneath. */
  opacity: 0;
  visibility: hidden;
  -webkit-transition: opacity 0.3s ease;
  -o-transition: opacity 0.3s ease;
  transition:
    opacity 0.3s ease,
    visibility 0s 0.3s;
}

body.nav-open {
  overflow: hidden;
}

body.nav-open .drawer {
  opacity: 1;
  visibility: visible;
  -webkit-transition-delay: 0s;
  -o-transition-delay: 0s;
  transition-delay: 0s;
}

/* Only the menu body gets the entrance slide; .drawer__top is left out of it
   so the logo sits perfectly still over the header logo it replaces. */
.drawer__nav,
.drawer__foot {
  -webkit-transform: translateY(-10px);
  -ms-transform: translateY(-10px);
  transform: translateY(-10px);
  -webkit-transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
}

body.nav-open .drawer__nav,
body.nav-open .drawer__foot {
  -webkit-transform: none;
  -ms-transform: none;
  transform: none;
}

.drawer__top {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  /* mirrors the header row exactly so the logo and the burger stay put */
  height: var(--hdr-h);
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  margin-bottom: 20px;
}

.drawer__logo {
  display: block;
  height: var(--hdr-logo);
  width: auto;
  -webkit-transition: height 0.35s ease;
  -o-transition: height 0.35s ease;
  transition: height 0.35s ease;
}

/* when the page is scrolled the header is in its compact state - match it */
body.scrolled .drawer__top {
  height: var(--hdr-h-scrolled);
}

body.scrolled .drawer__logo {
  height: var(--hdr-logo-scrolled);
}

.drawer .burger {
  display: -ms-grid;
  display: grid;
}

.drawer__nav ul.center,
.drawer__nav ul.dropdown {
  display: block;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer__nav li {
  margin: 0;
}

.drawer__nav ul.center > li > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  padding: 16px 0;
  border-bottom: 1px solid var(--hdr-line);
  font-size: 2.2rem;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

.drawer__nav ul.center > li:not(.has-sub) > a {
  background-image: url("../img/arrow-right.svg");
  background-repeat: no-repeat;
  background-position: right center;
  background-size: 18px 18px;
}

/* submenu is an accordion on mobile - collapsed until its parent is tapped.
   The rail on the left ties the children back to their parent. */
.drawer__nav ul.dropdown {
  margin-left: 4px;
  padding-left: 18px;
  border-left: 2px solid rgba(1, 116, 119, 0.25);
  max-height: 0;
  overflow: hidden;
  -webkit-transition: max-height 0.35s ease;
  -o-transition: max-height 0.35s ease;
  transition: max-height 0.35s ease;
}

.drawer__nav ul.center > li.has-sub.is-open > ul.dropdown {
  max-height: 60rem;
}

.drawer__nav ul.center > li.has-sub > a::after {
  content: "";
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  width: 18px;
  height: 18px;
  background-image: url("../img/chevron-down.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  -webkit-transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
}

.drawer__nav ul.center > li.has-sub.is-open > a::after {
  -webkit-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  transform: rotate(180deg);
}

.drawer__nav ul.dropdown a {
  display: block;
  padding: 13px 0;
  border-bottom: 1px solid var(--hdr-line);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.3;
  color: var(--hdr-text);
}

.drawer__nav ul.center > li.active > a,
.drawer__nav ul.dropdown li.active > a {
  color: var(--teal);
}

.drawer__foot {
  margin-top: auto;
  padding-top: 32px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  gap: 16px;
}

.drawer__foot .social-media {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.drawer__foot .social-media li {
  margin: 0;
}

.drawer__foot .social-media a {
  width: 42px;
  height: 42px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  border-radius: 12px;
  background-color: var(--hdr-tint);
  color: var(--navy);
  -webkit-transition:
    background-color 0.2s,
    color 0.2s;
  -o-transition:
    background-color 0.2s,
    color 0.2s;
  transition:
    background-color 0.2s,
    color 0.2s;
}

.drawer__foot .social-media a:hover {
  background-color: var(--navy);
  color: #ffffff;
}

.drawer__foot .social-media svg {
  display: block;
  width: 19px;
  height: 19px;
}

.drawer__foot .lang-switch a {
  font-size: 1.6rem;
}

/* ---- floating "request a quote" button --------------------------------- */

.offer {
  position: fixed;
  z-index: 90;
  right: max(24px, env(safe-area-inset-right, 0px) + 16px);
  bottom: max(24px, env(safe-area-inset-bottom, 0px) + 16px);
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  gap: 14px;
  height: 60px;
  padding: 0 26px 0 8px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1;
  white-space: nowrap;
  background: -webkit-gradient(
    linear,
    left top,
    right top,
    from(var(--navy)),
    color-stop(45%, var(--mid)),
    to(var(--teal))
  );
  background: -o-linear-gradient(
    120deg,
    var(--navy) 0%,
    var(--mid) 45%,
    var(--teal) 100%
  );
  background: linear-gradient(
    120deg,
    var(--navy) 0%,
    var(--mid) 45%,
    var(--teal) 100%
  );
  background-size: 180% 100%;
  background-position: 0% 50%;
  isolation: isolate;
  overflow: hidden;
  opacity: 0;
  -webkit-transform: translateY(140%);
  -ms-transform: translateY(140%);
  transform: translateY(140%);
  -webkit-animation: offer-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
  animation: offer-in 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.8s forwards;
  -webkit-transition:
    background-position 0.6s ease,
    -webkit-transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  -o-transition:
    background-position 0.6s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
  transition:
    background-position 0.6s ease,
    transform 0.35s cubic-bezier(0.2, 0.8, 0.2, 1);
}

/* soft light that sweeps across every few seconds */
.offer::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
  border-radius: inherit;
  background: -o-linear-gradient(
    345deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  background: linear-gradient(
    105deg,
    transparent 35%,
    rgba(255, 255, 255, 0.22) 50%,
    transparent 65%
  );
  -webkit-transform: translateX(-120%);
  -ms-transform: translateX(-120%);
  transform: translateX(-120%);
  -webkit-animation: offer-sheen 5s ease-in-out 2.2s infinite;
  animation: offer-sheen 5s ease-in-out 2.2s infinite;
}

/* thin bright rim */
.offer::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.18);
  pointer-events: none;
}

.offer__mark {
  -webkit-box-flex: 0;
  -ms-flex: none;
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background-color: #ffffff;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.offer__mark img {
  display: block;
  width: 26px;
  height: 26px;
  -webkit-transition: -webkit-transform 0.8s cubic-bezier(0.7, 0, 0.25, 1);
  -o-transition: transform 0.8s cubic-bezier(0.7, 0, 0.25, 1);
  transition: transform 0.8s cubic-bezier(0.7, 0, 0.25, 1);
}

.offer__arrow {
  width: 18px;
  height: 18px;
  -webkit-transition: -webkit-transform 0.3s ease;
  -o-transition: transform 0.3s ease;
  transition: transform 0.3s ease;
}

.offer:hover {
  color: #ffffff;
  background-position: 100% 50%;
  -webkit-transform: translateY(-3px);
  -ms-transform: translateY(-3px);
  transform: translateY(-3px);
}

.offer:hover .offer__mark img {
  -webkit-transform: rotate(360deg);
  -ms-transform: rotate(360deg);
  transform: rotate(360deg);
}

.offer:hover .offer__arrow {
  -webkit-transform: translateX(4px);
  -ms-transform: translateX(4px);
  transform: translateX(4px);
}

.offer:active {
  -webkit-transform: translateY(0) scale(0.98);
  -ms-transform: translateY(0) scale(0.98);
  transform: translateY(0) scale(0.98);
}

body.nav-open .offer {
  opacity: 0 !important;
  pointer-events: none;
}

/* hold the CTA's entrance until the loading curtain has lifted */
body.is-loading .offer {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
}

@-webkit-keyframes offer-in {
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@keyframes offer-in {
  to {
    opacity: 1;
    -webkit-transform: none;
    transform: none;
  }
}

@-webkit-keyframes offer-sheen {
  0% {
    -webkit-transform: translateX(-120%);
    transform: translateX(-120%);
  }

  40%,
  100% {
    -webkit-transform: translateX(120%);
    transform: translateX(120%);
  }
}

@keyframes offer-sheen {
  0% {
    -webkit-transform: translateX(-120%);
    transform: translateX(-120%);
  }

  40%,
  100% {
    -webkit-transform: translateX(120%);
    transform: translateX(120%);
  }
}

/* ---- page offset for the fixed header ---------------------------------- */

.homepage main,
.innerpage main {
  padding-top: var(--hdr-h);
}

/* ---- breakpoints ------------------------------------------------------- */

@media screen and (max-width: 1500px) {
  :root {
    --hdr-nav-fs: 1.8rem;
    --hdr-h: 96px;
    --hdr-logo: 58px;
  }
}

@media screen and (max-width: 1180px) {
  :root {
    --hdr-h: 80px;
    --hdr-h-scrolled: 72px;
    --hdr-logo: 48px;
    --hdr-logo-scrolled: 42px;
    --hdr-pad: 20px;
  }

  .burger {
    display: -ms-grid;
    display: grid;
  }

  .site-header__row {
    -ms-grid-columns: 1fr auto;
    grid-template-columns: 1fr auto;
  }

  .main-nav,
  .site-header__end .lang-switch {
    display: none;
  }
}

@media screen and (max-width: 600px) {
  .offer {
    height: 54px;
    gap: 10px;
    padding: 0 20px 0 6px;
    font-size: 1.3rem;
    letter-spacing: 0.04em;
  }

  .offer__mark {
    width: 42px;
    height: 42px;
  }

  .offer__mark img {
    width: 24px;
    height: 24px;
  }

  .drawer__foot {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
    gap: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .offer {
    opacity: 1;
    -webkit-transform: none;
    -ms-transform: none;
    transform: none;
    -webkit-animation: none;
    animation: none;
  }

  .offer::before {
    display: none;
    -webkit-animation: none;
    animation: none;
  }
}

/* ==========================================================================
   HOMEPAGE LOADING SCREEN
   Markup + timing script live in application/views/templates/page.php
   (rendered only under isHome(); <noscript> there disables it outright)
   ========================================================================== */

body.is-loading {
  overflow: hidden;
}

.page-loader {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  background-color: #ffffff;
  -webkit-transition: opacity 0.5s ease;
  -o-transition: opacity 0.5s ease;
  transition:
    opacity 0.5s ease,
    visibility 0s 0.5s;
}

.page-loader img {
  display: block;
  width: clamp(90px, 14vw, 160px);
  height: auto;
}

.page-loader.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
