:root {
  --blue: #395993;
  --light-blue: #5e8dbd;
  --text: #777;
  --heading: rgba(57, 89, 147, 0.79);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #fff;
  color: var(--text);
  font-family: "Roboto", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  overflow-x: hidden;
}

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

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

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

.topbar {
  background: var(--blue);
  color: #fff;
  font-size: 18px;
}

.topbar-inner {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 42px;
  padding: 0 32px;
}

.topbar img {
  width: 20px;
  height: 20px;
  object-fit: contain;
}

.topbar p {
  margin: 0;
  font-weight: 600;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  min-height: 100px;
  padding: 0 32px;
  background: #fff;
}

.brand {
  flex: 0 0 345px;
}

.brand img {
  width: 285px;
}

.main-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  white-space: nowrap;
}

.main-nav a,
.footer-main nav a {
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
  padding: 37px 18px;
  transition: color .2s ease, background-color .2s ease;
}

.main-nav a:hover,
.main-nav a.active {
  background: var(--blue);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: var(--blue);
  padding: 10px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: #fff;
}

.hero-slider {
  position: relative;
  height: 710px;
  overflow: hidden;
  background: #111;
}

.slide {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background-position: center;
  background-size: cover;
  opacity: 0;
  transform: translateX(7%);
  transition: opacity .5s ease, transform .5s ease;
  pointer-events: none;
}

.slide::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, .5);
}

.slide.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  z-index: 2;
}

.slide-content {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: min(100%, 980px);
  padding: 0 24px;
  color: #fff;
  text-align: center;
}

.slide-content strong,
.slide-content span,
.slide-content em {
  animation: fadeUp .65s ease both;
}

.slide-content strong {
  font-size: 50px;
  line-height: 1.15;
  font-weight: 700;
}

.slide-content span {
  margin-top: 14px;
  font-family: "Roboto Slab", serif;
  font-size: 32px;
  animation-delay: .06s;
}

.slide-content em {
  margin-top: 25px;
  border: 2px solid #fff;
  padding: 10px 21px;
  color: #fff;
  font-size: 14px;
  font-style: normal;
  font-weight: 700;
  animation-delay: .12s;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  z-index: 4;
  display: grid;
  place-items: center;
  width: 44px;
  height: 70px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .8);
  font-family: Georgia, serif;
  font-size: 54px;
  line-height: 1;
  cursor: pointer;
}

.slider-arrow:hover {
  color: #fff;
}

.slider-arrow.prev {
  left: 8px;
}

.slider-arrow.next {
  right: 8px;
}

.slider-dots {
  position: absolute;
  bottom: 18px;
  left: 0;
  right: 0;
  z-index: 4;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.slider-dots button {
  width: 8px;
  height: 8px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .45);
  padding: 0;
}

.slider-dots button.active {
  background: #fff;
}

.quick-links {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.quick-card {
  display: grid;
  grid-template-columns: 82px 1fr;
  align-items: center;
  min-height: 108px;
  padding: 16px 20px;
  background: rgba(94, 141, 189, .78);
  color: #fff;
  transition: opacity .3s ease;
}

.quick-card.dark {
  background: rgba(57, 89, 147, .79);
}

.quick-card:hover {
  opacity: .72;
}

.quick-card img {
  width: 64px;
  max-height: 64px;
  object-fit: contain;
}

.quick-card span {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.35;
}

.intro-block {
  margin: 32px 0;
  padding: 68px 0;
  background: rgba(231, 231, 231, .52);
}

.two-cols {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 58px;
}

h2 {
  margin: 0 0 18px;
  color: var(--heading);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
}

p {
  margin: 0 0 18px;
}

.intro-block p,
.details p {
  text-align: justify;
  font-size: 18px;
}

.check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 18px;
}

.check-list li {
  position: relative;
  padding-left: 24px;
}

.check-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(57, 89, 147, .79);
  font-weight: 800;
}

.compact li + li {
  margin-top: 8px;
}

.spaced li + li {
  margin-top: 21px;
}

.more-link {
  display: inline-block;
  margin-top: 18px;
  color: rgba(94, 141, 189, .35);
  font-size: 15px;
  font-weight: 800;
}

.image-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
  gap: 28px;
  margin-block: 46px;
}

.image-row img {
  width: 100%;
}

.details {
  margin-block: 46px 92px;
}

.notes {
  margin-bottom: 64px;
}

.notes h2 {
  margin-bottom: 48px;
  color: var(--light-blue);
  font-size: 28px;
  font-weight: 600;
  text-align: center;
}

.post-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 42px;
}

.post-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
}

.post-card h3 {
  margin: 18px 0;
  color: var(--blue);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.25;
}

.post-card p {
  color: #777;
  font-size: 18px;
}

.footer-cta {
  position: relative;
  min-height: 306px;
  display: grid;
  place-items: end center;
  padding: 135px 0 48px;
  background-color: #111;
  background-image: url("../img/footernews.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  text-align: center;
}

.footer-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(18, 97, 130, .22);
}

.footer-cta-inner {
  position: relative;
  z-index: 1;
  width: min(860px, calc(100% - 40px));
}

.footer-cta b {
  display: block;
  padding: 12px;
  background: rgba(57, 89, 147, .67);
  font-size: 26px;
}

.footer-cta h2 {
  margin: 24px 0 18px;
  color: #fff;
  font-size: 26px;
  font-weight: 600;
}

.footer-cta a {
  display: inline-block;
  border-radius: 25px;
  background: var(--blue);
  padding: 9px 22px;
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.footer-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--blue);
  color: #fff;
  padding: 36px 40px 28px;
}

.footer-main img {
  width: 285px;
  margin-bottom: 22px;
}

.footer-main nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 34px;
}

.footer-main nav a {
  color: #fff;
  padding: 13px 18px;
}

.footer-main nav a:hover,
.footer-main nav a.active {
  background: #fff;
  color: var(--blue);
}

.footer-main p {
  align-self: flex-start;
  margin: 0;
  font-size: 15px;
}

.whatsapp {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 20;
}

.whatsapp a {
  position: relative;
  display: block;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #25d366;
  box-shadow: 0 6px 8px 2px rgba(0, 0, 0, .15);
  transition: transform .2s ease;
}

.whatsapp a::before {
  content: "";
  position: absolute;
  inset: 13px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-23 -21 682 683' fill='%23fff'%3E%3Cpath d='M544.4 93C484.5 33.1 404.9 0 320.1 0 145.2 0 3 142.3 2.9 317.1c0 55.9 14.6 110.5 42.3 158.6L.3 640l168.1-44.1c46.3 25.3 98.5 38.6 151.6 38.6h.1c174.8 0 317.1-142.3 317.1-317.1C637.2 232.6 604.3 152.9 544.4 93zM320.1 580.9h-.1c-47.3 0-93.7-12.7-134.2-36.7l-9.6-5.7-99.8 26.2 26.6-97.3-6.3-10c-26.4-42-40.3-90.5-40.3-140.3.1-145.3 118.3-263.6 263.7-263.6 70.4 0 136.6 27.5 186.4 77.3s77.2 116.1 77.1 186.5c0 145.3-118.3 263.6-263.5 263.6zm144.6-197.4c-7.9-4-46.9-23.1-54.1-25.8-7.3-2.6-12.5-4-17.8 4-5.3 7.9-20.5 25.8-25.1 31.1-4.6 5.3-9.2 6-17.2 2-7.9-4-33.5-12.3-63.7-39.3-23.6-21-39.5-47-44.1-54.9-4.6-7.9-.5-12.2 3.5-16.2 3.6-3.5 7.9-9.2 11.9-13.9 4-4.6 5.3-7.9 7.9-13.2 2.6-5.3 1.3-9.9-.7-13.9-2-4-17.8-43-24.4-58.8-6.4-15.4-13-13.4-17.8-13.6-4.6-.2-9.9-.3-15.2-.3s-13.9 2-21.1 9.9c-7.3 7.9-27.7 27.1-27.7 66.1s28.4 76.7 32.4 82c4 5.3 55.9 85.3 135.4 119.6 18.9 8.2 33.7 13 45.2 16.7 19 6 36.3 5.2 49.9 3.1 15.2-2.3 46.9-19.2 53.5-37.7 6.6-18.5 6.6-34.4 4.6-37.7-2-3.3-7.3-5.3-15.2-9.3z'/%3E%3C/svg%3E") center/contain no-repeat;
}

.whatsapp a::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  animation: shockwave 2s 5.3s ease-out infinite;
  z-index: -1;
}

.whatsapp a:hover {
  transform: scale(1.06);
}

.whatsapp span {
  position: absolute;
  right: 70px;
  bottom: 15px;
  width: max-content;
  border-radius: 5px;
  background: #fff;
  box-shadow: 0 6px 8px 2px rgba(0, 0, 0, .15);
  color: #000;
  padding: 5px 10px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(36px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes shockwave {
  0% {
    transform: scale(1);
    box-shadow: 0 0 2px rgba(0, 100, 0, .5), inset 0 0 1px rgba(0, 100, 0, .5);
  }
  95% {
    box-shadow: 0 0 50px transparent, inset 0 0 30px transparent;
  }
  100% {
    transform: scale(1.2);
  }
}

@media (max-width: 1024px) {
  .nav-wrap {
    align-items: flex-start;
    flex-wrap: wrap;
    padding-block: 15px;
  }

  .menu-toggle {
    display: block;
  }

  .main-nav {
    display: none;
    flex-basis: 100%;
    flex-direction: column;
    align-items: stretch;
    margin-top: 12px;
  }

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

  .main-nav a {
    padding: 14px;
  }

  .quick-links {
    grid-template-columns: repeat(2, 1fr);
  }

  .two-cols,
  .image-row {
    gap: 28px;
  }
}

@media (max-width: 1250px) and (min-width: 1025px) {
  .brand {
    flex-basis: 325px;
  }

  .main-nav a {
    padding-left: 10px;
    padding-right: 10px;
  }
}

@media (max-width: 1024px) and (min-width: 768px) {
  .nav-wrap {
    align-items: center;
    flex-wrap: nowrap;
    min-height: 100px;
    padding: 0 32px;
  }

  .brand {
    flex: 0 0 285px;
  }

  .brand img {
    width: 285px;
  }

  .menu-toggle {
    display: none;
  }

  .main-nav {
    display: flex;
    flex-basis: auto;
    flex-direction: row;
    align-items: center;
    margin-top: 0;
  }

  .main-nav a {
    padding: 37px 8px;
    font-size: 15px;
  }
}

@media (max-width: 767px) {
  body {
    font-size: 15px;
  }

  .topbar-inner {
    padding: 0 12px;
    justify-content: center;
    gap: 10px;
    min-height: 32px;
  }

  .topbar {
    font-size: 14px;
  }

  .topbar img {
    width: 17px;
    height: 17px;
  }

  .topbar p {
    line-height: 1.15;
  }

  .nav-wrap {
    padding: 18px 20px;
  }

  .brand img {
    width: 220px;
  }

  .hero-slider {
    height: 600px;
  }

  .slide-content strong {
    font-size: 36px;
  }

  .slide-content span {
    font-size: 26px;
  }

  .quick-links,
  .two-cols,
  .image-row,
  .post-grid {
    grid-template-columns: 1fr;
  }

  .quick-card {
    min-height: 110px;
  }

  .intro-block {
    margin: 0;
    padding: 26px 0;
  }

  .details {
    margin-block: 28px 48px;
  }

  .notes h2 {
    margin-bottom: 28px;
    font-size: 24px;
  }

  .footer-cta b {
    font-size: 22px;
  }

  .footer-main p {
    align-self: center;
    text-align: center;
  }

  .whatsapp span {
    display: none;
  }
}
