@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700;900&display=swap');

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }

body {
  font-family: 'Lato', Arial, sans-serif;
  color: #242323;
  background: #fff;
  line-height: 1.5;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -48px;
  z-index: 1000;
  padding: .5rem .75rem;
  background: #fff;
  color: #242323;
  border: 1px solid #242323;
  text-decoration: none;
}

.skip-link:focus,
.skip-link:focus-visible {
  top: .7rem;
}

.container {
  width: min(100% - 2rem, 1180px);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: #fff;
  border-bottom: 1px solid #ededed;
}

.nav {
  min-height: 86px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-logo {
  display: block;
  width: 46px;
  height: 46px;
}

.menu {
  display: flex;
  gap: 1.6rem;
}

.menu a {
  position: relative;
  text-decoration: none;
  color: #000;
  font-size: 18px;
  font-weight: 400;
  transition: color .25s ease;
}

.menu a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease;
}

.menu a:hover {
  color: #0b6fb3;
}

.menu a:hover::after,
.menu a:focus-visible::after {
  transform: scaleX(1);
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .95rem;
  white-space: nowrap;
}

.lang-switch a {
  color: #4c4c4c;
  text-decoration: none;
}

.lang-switch a:hover,
.lang-switch a:focus-visible {
  text-decoration: underline;
}

.lang-switch a.active {
  color: #242323;
  font-weight: 700;
  text-decoration: underline;
}

.hero {
  background: #fafafa;
}

.hero-inner {
  padding: 4.5rem 0 4.5rem;
  text-align: center;
}

.hero-logo {
  width: min(100%, 468px);
  margin-bottom: 2rem;
}

.hero h1 {
  margin: 0;
  font-size: clamp(2rem, 4.8vw, 3.75rem);
  letter-spacing: .18em;
  font-weight: 900;
  line-height: 1.1;
  text-transform: uppercase;
}

.hero p {
  max-width: 980px;
  margin: 1.2rem auto 0;
  font-size: 1.25rem;
  color: #4b4b4b;
}

.section {
  padding: 4.5rem 0;
}

.reveal-on-scroll {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .5s ease, transform .5s ease;
}

.reveal-on-scroll.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.section-light {
  background: #fff;
}

.section-title {
  margin: 0 0 1.5rem;
  text-align: center;
  font-size: clamp(2rem, 4vw, 2.5rem);
  letter-spacing: .2em;
  font-weight: 900;
  text-transform: uppercase;
}

.sub-title {
  margin: 2.2rem 0 1rem;
  text-align: center;
  font-size: clamp(1.5rem, 2.8vw, 2rem);
  letter-spacing: .08em;
  font-weight: 900;
}

.lead-text {
  margin: 0 auto;
  max-width: 1040px;
  font-size: 1.25rem;
  color: #333;
  text-align: justify;
}

.policy-wrap {
  max-width: 940px;
  margin: 0 auto;
}

.policy-meta {
  margin: 0 0 1rem;
  color: #4b4b4b;
  font-size: 1rem;
}

.policy-lang {
  margin: 0 0 1.1rem;
  display: flex;
  justify-content: center;
  gap: .7rem;
  font-size: .95rem;
}

.policy-lang a {
  color: #0071bc;
  text-decoration: none;
}

.policy-lang a:hover {
  text-decoration: underline;
}

.policy-lang .active {
  color: #222;
  font-weight: 700;
  text-decoration: underline;
}

.policy-content {
  color: #2f2f2f;
  font-size: 1.05rem;
  line-height: 1.65;
}

.policy-content p {
  margin: 0 0 .9rem;
}

.policy-content ol,
.policy-content ul {
  margin: 0 0 1rem;
  padding-left: 1.35rem;
}

.policy-content li {
  margin: 0 0 .8rem;
}

.policy-content strong {
  color: #242323;
}

.branches-logo {
  display: block;
  width: min(100%, 360px);
  margin: 0 auto 1.4rem;
}

.branches-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.1rem;
  margin: 0;
  padding-left: 0;
  list-style: none;
}

.branches-grid > li {
  margin: 0;
  padding: .9rem 1rem;
  border: 1px solid #ececec;
  background: #fafafa;
}

.branches-grid > li > strong {
  display: block;
  font-size: 1.2rem;
  line-height: 1.3;
}

.branches-grid > li > ul {
  margin-top: .9rem;
}

.offices {
  margin-top: 1rem;
  text-align: center;
  font-size: 1.05rem;
  color: #3a3a3a;
}

.leaders {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
}

.leader {
  padding: .5rem 0;
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 1rem;
  align-items: start;
}

.leader img {
  width: 100%;
  height: auto;
}

.quote {
  margin: 0;
  color: #505050;
  text-align: justify;
}

.name {
  margin: .7rem 0 0;
  color: #0071bc;
  font-weight: 700;
}

.role {
  margin: .15rem 0 0;
  color: #222;
}

.services-list {
  margin-top: 2rem;
  display: grid;
  gap: 0;
}

.service-row {
  display: grid;
  grid-template-columns: 256px 1fr;
  gap: 1.1rem;
  padding: 1.6rem 1.1rem;
  transition: transform .25s ease;
}

.service-row > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.service-row.alt {
  background: #fafafa;
}

.service-row:hover {
  transform: translateY(-2px);
}

.service-row img {
  width: 238px;
  height: 248px;
  margin-top: .35rem;
}

.service-row h3 {
  margin: 0 0 .45rem;
  font-size: clamp(1.7rem, 2.9vw, 2.5rem);
  font-weight: 900;
  color: #242323;
}

.service-row p {
  margin: 0;
  font-size: 1.1rem;
  color: #3f3f3f;
  text-align: justify;
}

.service-row p + p {
  margin-top: .8rem;
}

.service-row ul {
  margin: .8rem 0 0;
  padding-left: 1.1rem;
  color: #3f3f3f;
}

.service-row li {
  margin: .18rem 0;
  font-size: 1.05rem;
}

.js-enabled .services-list .service-row {
  opacity: 0;
  transform: translateY(10px);
}

.js-enabled .services-list.in-view .service-row {
  opacity: 0;
  transform: translateY(10px);
  animation: serviceCardIn .45s ease forwards;
}

.services-list.in-view .service-row:nth-child(2) { animation-delay: .08s; }
.services-list.in-view .service-row:nth-child(3) { animation-delay: .16s; }
.services-list.in-view .service-row:nth-child(4) { animation-delay: .24s; }
.services-list.in-view .service-row:nth-child(5) { animation-delay: .32s; }
.services-list.in-view .service-row:nth-child(6) { animation-delay: .40s; }
.services-list.in-view .service-row:nth-child(7) { animation-delay: .48s; }
.services-list.in-view .service-row:nth-child(8) { animation-delay: .56s; }

@keyframes serviceCardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section-dark {
  background: #0071bc;
}

.section-title.light,
.contact-line,
.contact-line a,
.check span {
  color: #fff;
}

.check a {
  color: #fff;
  text-decoration: underline;
}

.contact-wrap {
  max-width: 900px;
}

.contact-line {
  margin: .35rem 0;
  font-size: 1rem;
}

#contact-result {
  color: #fff;
  min-height: 1.4rem;
  padding: .55rem .7rem;
  border: 1px solid transparent;
  font-size: .95rem;
  line-height: 1.35;
}

#contact-result.is-success {
  background: #fff;
  color: #0071bc;
  border-color: #fff;
}

#contact-result.is-error {
  background: transparent;
  color: #fff;
  border-color: #fff;
}

.contact-form {
  margin-top: 1.2rem;
  display: grid;
  gap: .65rem;
}

.contact-form label {
  color: #e8e8e8;
  font-size: .95rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #969696;
  background: #fff;
  color: #202020;
  padding: .72rem .8rem;
  font: inherit;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.check {
  display: flex;
  align-items: flex-start;
  gap: .55rem;
}

.check input[type="checkbox"] {
  width: auto;
  margin: .2rem 0 0;
  padding: 0;
  border: 0;
}

.contact-form button {
  width: 130px;
  border: 1px solid #fff;
  background: transparent;
  color: #fff;
  padding: .7rem .85rem;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .2s ease, color .2s ease, transform .12s ease;
}

.contact-form button:hover {
  background: #fff;
  color: #222;
}

.contact-form button:active {
  transform: scale(.98);
}

@media (prefers-reduced-motion: reduce) {
  .reveal-on-scroll,
  .services-list.in-view .service-row,
  .contact-form button,
  .service-row,
  .menu a::after {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.site-footer {
  border-top: 1px solid #ececec;
  background: #fff;
}

.footer-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
  color: #4c4c4c;
  text-align: left;
}

.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
}

.footer-inner img {
  width: 24px;
  height: 24px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: .25rem .9rem;
}

.footer-links a {
  color: #4c4c4c;
  text-decoration: none;
  font-size: .95rem;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .leaders {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

  .leader {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 1rem;
  }

  .leader img {
    width: 100%;
    margin: 0;
  }

}

@media (min-width: 701px) and (max-width: 900px) {
  .service-row {
    grid-template-columns: 190px 1fr;
    align-items: center;
  }

  .service-row img {
    width: clamp(160px, calc(160px + (100vw - 700px) * 0.25), 210px);
    height: clamp(167px, calc(167px + (100vw - 700px) * 0.26), 219px);
    margin: 0;
    justify-self: center;
    align-self: center;
  }
}

@media (max-width: 700px) {
  .menu {
    gap: .9rem;
  }

  .menu a {
    font-size: 16px;
  }

  .lang-switch {
    font-size: .9rem;
  }

  .hero-inner {
    padding: 3.2rem 0 3.2rem;
  }

  .hero p,
  .lead-text,
  .service-row p {
    font-size: 1rem;
  }

  .service-row {
    grid-template-columns: 1fr;
    gap: .6rem;
  }

  .service-row img {
    width: 238px;
    height: 248px;
    margin: .35rem auto 0;
    display: block;
  }

  .leader {
    grid-template-columns: 1fr;
  }

  .leader img {
    width: min(100%, 220px);
    margin: 0 auto .8rem;
    display: block;
  }

  .branches-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
    padding: .7rem 0;
    gap: .5rem;
  }

  .footer-brand {
    align-self: flex-start;
  }
}

@media (max-width: 320px) {
  .container {
    width: min(100% - 1rem, 1180px);
  }

  .nav {
    min-height: auto;
    padding: .6rem 0;
    flex-wrap: wrap;
    gap: .55rem;
    justify-content: center;
  }

  .menu {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: .4rem .85rem;
  }

  .menu a {
    font-size: 14px;
  }

  .lang-switch {
    width: 100%;
    justify-content: center;
  }

  .hero h1 {
    letter-spacing: .1em;
    font-size: clamp(1.5rem, 9vw, 2rem);
  }

  .service-row {
    padding: 1.1rem .6rem;
  }

  .service-row img {
    width: min(100%, 200px);
    height: auto;
  }

  .leader img {
    width: min(100%, 180px);
  }
}