﻿.footer-anchor { position: relative; }
.footer-anchor__dot { z-index: 20; pointer-events: none; --draw: 1; }
.site-footer {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-top: clamp(4rem, 8vw, 8.5rem);
  color: #fff;
  background: #062b69;
}
.site-footer .container { width: min(1560px, calc(100% - 80px)); }
.site-footer :focus-visible { outline-color: var(--color-accent); }
.footer-decoration { position: absolute; z-index: -1; inset: 0; overflow: hidden; pointer-events: none; container-type: size; }
.footer-decoration__art { display: block; width: 100%; height: 100%; }
.footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 22rem) minmax(0, .72fr) minmax(0, 1.05fr) minmax(0, 1.35fr);
  gap: 3.5rem clamp(1.5rem, 2.7vw, 2.8rem);
  align-items: start;
}
.footer-brand { padding: clamp(1.5rem, 2.7vw, 2.8rem); border: 1px solid #e7edf6; border-radius: 30px; color: #092579; background: #fff; box-shadow: 0 15px 40px rgb(0 13 44 / 12%); }
.footer-logo { display: flex; align-items: center; min-height: 105px; margin: 1rem 0 2.7rem; }
.footer-logo .brand, .footer-logo .custom-logo-link { width: 100%; margin: 0; justify-content: center; }
.footer-logo .brand-logo, .footer-logo .custom-logo { width: 100%; max-width: 330px; max-height: none; height: auto; }
.footer-brand p { max-width: none; margin-bottom: 1.8rem; font-size: clamp(1.05rem, 1.15vw, 1.2rem); line-height: 1.45; }
.footer-brand .small-rule { width: 62px; margin-bottom: 2.3rem; background: #ffdc26; }
.footer-values { display: flex; flex-wrap: wrap; align-items: center; gap: .55rem; list-style: none; color: #008653; font-size: clamp(.9rem, 1.05vw, 1.05rem); font-weight: 600; line-height: 1.5; }
.footer-values li + li { display: flex; align-items: center; gap: .55rem; }
.footer-values li + li::before { content: ''; width: 6px; height: 6px; flex-shrink: 0; border-radius: 50%; background: #38c29a; }
.footer-navigation, .footer-discover, .footer-contact { margin-top: 1.9rem; }
.footer-discover, .footer-contact { padding-left: clamp(1.5rem, 2.2vw, 2.25rem); border-left: 1px solid rgb(76 146 227 / 45%); }
.footer-title { margin: 0 0 1.3rem; color: #fff; font-family: var(--font-body); font-size: clamp(1.2rem, 1.8vw, 1.85rem); font-weight: 700; letter-spacing: -.02em; line-height: 1.25; text-wrap: initial; }
.footer-title::after { content: ''; display: block; width: 48px; height: 5px; margin-top: 1rem; border-radius: 3px; background: #3dcc92; }
.site-footer .menu, .social-links, .legal-links { list-style: none; }
.site-footer a:hover { color: #ffdf48; }
.site-footer .menu a, .site-footer .legal-links a { position: relative; display: inline-flex; align-items: center; width: fit-content; min-height: 44px; padding-block: .45rem; color: #fff; line-height: 1.45; text-decoration: none; transition: color var(--dur-fast) var(--ease-out), transform var(--dur-fast) var(--ease-out); }
.site-footer .menu a { font-size: clamp(1rem, 1.28vw, 1.3rem); }
.site-footer .menu a::after, .site-footer .legal-links a::after { content: ''; position: absolute; left: 0; bottom: .35rem; width: 0; height: 2px; border-radius: 999px; background: var(--color-accent); transition: width var(--dur-base) var(--ease-out); }
.site-footer .menu a:hover, .site-footer .menu a:focus-visible, .site-footer .legal-links a:hover, .site-footer .legal-links a:focus-visible, .site-footer .current-menu-item > a, .site-footer .current_page_item > a, .site-footer .current-menu-ancestor > a { color: #ffdf48; text-decoration: none; }
.site-footer .menu a:hover, .site-footer .menu a:focus-visible, .site-footer .legal-links a:hover, .site-footer .legal-links a:focus-visible { transform: translateY(-1px); }
.site-footer .menu a:hover::after, .site-footer .menu a:focus-visible::after, .site-footer .legal-links a:hover::after, .site-footer .legal-links a:focus-visible::after, .site-footer .current-menu-item > a::after, .site-footer .current_page_item > a::after, .site-footer .current-menu-ancestor > a::after { width: 100%; }
.footer-contact { grid-column: 4; grid-row: 1 / 3; }
.footer-contact .footer-title { font-size: clamp(1.35rem, 2vw, 2.1rem); }
.site-footer .contact-details { display: grid; grid-template-columns: 1fr; gap: 0; margin: 1.9rem 0 0; }
.site-footer .contact-details > div { position: relative; min-height: 96px; padding: 0 0 1.35rem 94px; }
.site-footer .contact-details > div + div { padding-top: 1.35rem; border-top: 1px solid rgb(83 156 231 / 45%); }
.site-footer .contact-details dt { display: block; color: #fff; font-size: clamp(1.05rem, 1.42vw, 1.45rem); font-weight: 700; line-height: 1.35; }
.site-footer .contact-details dt .icon { position: absolute; top: 0; left: 0; width: 72px; height: 72px; padding: 19px; border: 1px solid #65a5ef; border-radius: 50%; color: #fff; background: radial-gradient(circle at 35% 25%, #2c7bd1, #0e4e9d 65%, #2876ce); box-shadow: inset 0 0 12px rgb(164 218 255 / 25%), 0 3px 12px rgb(0 19 62 / 12%); stroke-width: 1.9; }
.site-footer .contact-details > div + div dt .icon { top: 1.35rem; }
.site-footer .contact-details dd { margin-top: .25rem; color: #fff; font-size: clamp(.95rem, 1.22vw, 1.25rem); line-height: 1.5; overflow-wrap: anywhere; }
.footer-social { grid-column: 1 / 4; display: flex; flex-wrap: wrap; align-items: center; gap: 1.5rem 2.25rem; padding-block: 1.8rem 2rem; border-top: 1px solid #8caad0; }
.footer-social .footer-title { flex-shrink: 0; margin: 0; font-size: clamp(1.2rem, 1.65vw, 1.6rem); }
.footer-social .footer-title::after { margin-top: .75rem; }
.social-links { display: flex; flex: 1; flex-wrap: wrap; gap: .75rem; }
.social-links li { flex: 1; }
.social-links a, .social-links > li > span { display: flex; align-items: center; justify-content: center; gap: .8rem; min-height: 58px; padding: .65rem 1.05rem; border: 1px solid #d2def7; border-radius: 999px; color: #fff; font-size: 1rem; line-height: 1.4; text-decoration: none; background: rgb(2 21 66 / 20%); box-shadow: inset 0 0 0 2px rgb(255 255 255 / 6%); }
.social-links .icon { flex-shrink: 0; width: 28px; height: 28px; }
.social-links a:hover { border-color: var(--color-accent); background: rgb(255 255 255 / 8%); }
.footer-bottom-band { position: relative; z-index: 1; background: rgb(2 20 58 / 25%); border-top: 1px solid rgb(141 183 227 / 65%); }
.footer-bottom { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; padding-block: 1.45rem; font-size: 1rem; color: #fff; }
.legal-links { display: flex; flex-wrap: wrap; gap: 1.4rem; }
.legal-links li + li { padding-left: 1.4rem; border-left: 1px solid #7aa3d6; }
.site-footer .legal-links a { font-size: 1rem; }

@media (max-width: 1399px) and (min-width: 1200px) {
  .footer-grid { grid-template-columns: minmax(0, 22rem) minmax(0, .7fr) minmax(0, 1fr) minmax(0, 1.25fr); column-gap: 1.5rem; }
  .footer-brand { padding: 1.75rem; }
  .footer-discover, .footer-contact { padding-left: 1.5rem; }
  .site-footer .contact-details > div { padding-left: 72px; }
  .site-footer .contact-details dt .icon { width: 56px; height: 56px; padding: 14px; }
  .footer-social { column-gap: 1.5rem; }
  .footer-social .footer-title { flex-basis: 100%; }
}
@media (max-width: 1199px) {
  .site-footer .container { width: calc(100% - 64px); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem; }
  .footer-brand { grid-column: 1; grid-row: 1 / 3; padding: 2rem; }
  .footer-brand p { font-size: 1.15rem; }
  .footer-values { font-size: 1.15rem; }
  .footer-navigation, .footer-discover { grid-column: 2; margin-top: 0; }
  .footer-navigation { grid-row: 1; }
  .footer-discover { grid-row: 2; padding-left: 0; border-left: 0; }
  .footer-contact { grid-column: 1 / -1; grid-row: 3; margin-top: 0; padding-left: 0; border-left: 0; }
  .footer-title { font-size: 1.5rem; }
  .site-footer .menu a { font-size: 1.1rem; }
  .site-footer .contact-details { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.5rem 3rem; }
  .site-footer .contact-details > div, .site-footer .contact-details > div + div { padding-top: 1.35rem; border-top: 1px solid rgb(83 156 231 / 45%); }
  .site-footer .contact-details dt .icon { top: 1.35rem; }
  .site-footer .contact-details dd { font-size: 1.05rem; }
  .footer-social { grid-column: 1 / -1; }
  .footer-social .footer-title { flex-basis: 100%; }
  .footer-bottom { flex-wrap: wrap; font-size: .9rem; }
  .footer-decoration__art { position: absolute; top: 0; left: 65%; width: calc(100cqh * 1672 / 940); height: 100%; max-width: none; translate: -65% 0; }
}
@media (max-width: 767px) {
  .site-footer { padding-top: 3rem; }
  .site-footer .container { width: calc(100% - 40px); }
  .footer-grid { gap: 2.5rem 1.5rem; }
  .footer-brand { grid-column: 1 / -1; grid-row: auto; padding: 2rem; border-radius: 24px; }
  .footer-logo { min-height: 80px; margin: .5rem 0 2rem; }
  .footer-logo .brand-logo, .footer-logo .custom-logo { max-width: 300px; }
  .footer-brand p { max-width: none; font-size: 1.15rem; }
  .footer-brand .small-rule { margin-bottom: 1.75rem; }
  .footer-values { font-size: 1.05rem; }
  .footer-navigation { grid-column: 1; grid-row: auto; }
  .footer-discover { grid-column: 2; grid-row: auto; }
  .footer-title { font-size: 1.2rem; }
  .site-footer .menu a { font-size: 1rem; }
  .footer-contact { grid-row: auto; }
  .footer-contact .footer-title { font-size: 1.5rem; }
  .site-footer .contact-details { grid-template-columns: 1fr; gap: 0; }
  .site-footer .contact-details > div { min-height: 108px; padding-left: 80px; }
  .site-footer .contact-details dt { font-size: 1.2rem; }
  .site-footer .contact-details dt .icon { width: 60px; height: 60px; padding: 16px; }
  .footer-social { gap: 1.5rem; padding-block: 1.75rem 2rem; }
  .social-links { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); width: 100%; gap: .85rem; }
  .social-links a, .social-links > li > span { gap: .65rem; padding-inline: .7rem; font-size: .95rem; }
  .footer-bottom { flex-direction: column; align-items: center; gap: .75rem; padding-block: 1.5rem; font-size: .8rem; text-align: center; }
  .footer-bottom p { width: 100%; }
  .legal-links { justify-content: center; gap: 1rem; }
  .legal-links li + li { padding-left: 1rem; }
  .footer-decoration { opacity: .65; }
  .footer-decoration__art { left: 55%; translate: -55% 0; }
}
@media (max-width: 374px) {
  .site-footer .container { width: calc(100% - 32px); }
  .footer-brand { padding: 1.5rem; }
  .footer-values { gap: .4rem; font-size: .95rem; }
  .footer-values li + li { gap: .4rem; }
  .footer-grid { grid-template-columns: minmax(0, 1fr); }
  .footer-navigation, .footer-discover { grid-column: 1; }
}
