:root {
  --amden-navy: #063259;
  --amden-navy-deep: #002c53;
  --amden-ink: #222222;
  --amden-muted: #666666;
  --amden-line: rgba(0, 0, 0, 0.2);
  --amden-white: #ffffff;
  --amden-mist: #f5f5f5;
  --amden-cream: #fffcf2;
  --amden-hairline: rgba(255, 255, 255, 0.1);
  --amden-header: 80px;
  --amden-font: "Trirong", "Times New Roman", serif;
  --amden-ease: 0.35s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--amden-ink);
  background: var(--amden-white);
  font-family: var(--amden-font);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}

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

button,
input,
textarea {
  font-family: inherit;
}

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

p {
  margin: 0;
}

h1,
h2,
h3 {
  margin: 0;
  font-weight: 400;
}

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

.amden-skip {
  position: absolute;
  left: 16px;
  top: -40px;
  z-index: 100;
  background: var(--amden-white);
  color: var(--amden-navy);
  padding: 8px 12px;
}

.amden-skip:focus {
  top: 8px;
}

:focus-visible {
  outline: 2px solid var(--amden-navy);
  outline-offset: 3px;
}

.amden-header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  color: var(--amden-white);
}

.amden-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--amden-header);
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 60px;
}

.amden-logo img {
  width: 160px;
  height: 28px;
}

.amden-header__actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.amden-burger {
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.amden-burger__bar {
  display: block;
  width: 22px;
  height: 1.5px;
  margin: 5px auto;
  background: var(--amden-white);
  transition:
    transform var(--amden-ease),
    opacity var(--amden-ease);
}

.amden-burger[aria-expanded="true"] .amden-burger__bar:nth-child(1) {
  transform: translateY(6.5px) rotate(45deg);
}

.amden-burger[aria-expanded="true"] .amden-burger__bar:nth-child(2) {
  opacity: 0;
}

.amden-burger[aria-expanded="true"] .amden-burger__bar:nth-child(3) {
  transform: translateY(-6.5px) rotate(-45deg);
}

.amden-drawer {
  display: none;
}

.amden-drawer__nav {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 8px 24px 28px;
  background: rgba(0, 44, 83, 0.96);
}

.amden-drawer__nav a,
.amden-drawer__nav button {
  color: var(--amden-white);
  font-size: 18px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  background: none;
  border: 0;
  padding: 0;
  text-align: left;
  cursor: pointer;
  width: fit-content;
}

.amden-drawer__nav a[aria-current="page"] {
  text-decoration: underline;
  text-underline-offset: 6px;
}

.amden-btn {
  position: relative;
  z-index: 0;
  display: inline-block;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 10px 21px;
  border: 0;
  overflow: hidden;
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: 0.01em;
  text-align: center;
  transition: color var(--amden-ease);
}

.amden-btn::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 100%;
  z-index: -1;
  transition: top var(--amden-ease);
}

.amden-btn:hover::before,
.amden-btn:focus-visible::before {
  top: 0;
}

.amden-btn--light {
  background: var(--amden-white);
  color: #222;
  border: 1px solid #e0e0e0;
}

.amden-btn--light::before {
  background: var(--amden-navy);
}

.amden-btn--light:hover,
.amden-btn--light:focus-visible {
  color: var(--amden-white);
  border: 1px solid #063259;
}

.amden-btn--navy {
  background: var(--amden-navy);
  color: var(--amden-white);
}

.amden-btn--navy::before {
  background: var(--amden-white);
}

.amden-btn--navy:hover,
.amden-btn--navy:focus-visible {
  color: var(--amden-navy);
}

.amden-btn--ghost {
  background: transparent;
  color: var(--amden-white);
  border: 1px solid var(--amden-white);
}

.amden-btn--ghost::before {
  background: var(--amden-navy);
}

.amden-header__login {
  min-height: 46px;
  padding: 12px 21px;
  border: 1px solid #ebebeb;
}

.amden-dialog {
  border: 0;
  padding: 0;
  background: transparent;
  max-width: calc(100% - 32px);
}

.amden-dialog::backdrop {
  background: rgba(0, 20, 40, 0.55);
}

.amden-dialog__panel {
  width: min(420px, 100%);
  background: var(--amden-white);
  padding: 36px 32px 32px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  position: relative;
}

.amden-dialog__panel h2 {
  color: var(--amden-navy);
  font-size: 32px;
  line-height: 1.2;
  text-transform: uppercase;
}

.amden-dialog__lead {
  color: var(--amden-ink);
  font-size: 16px;
  line-height: 1.6;
}

.amden-dialog__close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: var(--amden-navy);
}

.amden-footer {
  background: var(--amden-navy);
  color: var(--amden-white);
}

.amden-footer__main {
  display: flex;
  align-items: stretch;
}

.amden-footer__brand {
  width: 425px;
  flex: 0 0 425px;
  background: var(--amden-navy-deep);
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.amden-footer__mark {
  width: 100px;
  height: 90px;
  object-fit: contain;
  background: var(--amden-white);
  border-radius: 5px;
  padding: 6px;
}

.amden-footer__brand p {
  font-size: 14px;
  line-height: 1.7;
  max-width: 800px;
}

.amden-footer__address {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.5;
}

.amden-footer__address img {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
}

.amden-footer__links {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border-left: 1px solid var(--amden-hairline);
}

.amden-footer__cols {
  display: flex;
  flex: 1;
}

.amden-footer__col {
  flex: 1;
  padding: 40px 30px 40px 30px;
}

.amden-footer__col + .amden-footer__col {
  border-left: 1px solid var(--amden-hairline);
}

.amden-footer__col h2 {
  font-size: 28px;
  font-weight: 500;
  line-height: 1.2;
  margin-bottom: 30px;
}

.amden-footer__col ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.amden-footer__col:nth-child(n + 2) ul {
  gap: 20px;
}

.amden-rise {
  display: block;
  height: 20px;
  overflow: hidden;
  color: var(--amden-white);
  font-size: 14px;
  line-height: 20px;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
  text-align: left;
}

.amden-rise span {
  display: block;
  height: 20px;
  transition: transform var(--amden-ease);
}

.amden-rise:hover span,
.amden-rise:focus-visible span {
  transform: translateY(-20px);
}

.amden-footer__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 60px;
  padding: 16px 20px;
  border-top: 1px solid var(--amden-hairline);
  font-size: 14px;
}

.page-hero {
  position: relative;
  height: 400px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  align-items: flex-start;
  color: var(--amden-white);
  overflow: hidden;
  background: #1c1c1c;
}

.page-hero picture,
.page-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.page-hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0.28),
    rgba(0, 0, 0, 0.56)
  );
  opacity: 0.56;
}

.page-hero h1 {
  position: relative;
  z-index: 1;
  margin: 0 0 8px 60px;
  font-size: 48px;
  line-height: 1.2;
  font-weight: 400;
  text-transform: uppercase;
}

.page-crumbs {
  display: block;
  position: relative;
  z-index: 1;
}

.page-hero .page-crumbs {
  margin: 0 60px 48px;
  color: var(--amden-white);
}

.page-legal .page-crumbs {
  margin: 0 0 28px;
  color: var(--amden-navy);
}

.page-crumbs ol {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.page-crumbs li {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.28px;
  line-height: 1.2;
  text-transform: uppercase;
}

.page-crumbs li + li::before {
  content: "/";
}

.amden-field {
  display: block;
  border-bottom: 1px solid var(--amden-line);
}

.amden-field input,
.amden-field textarea {
  width: 100%;
  border: 0;
  background: transparent;
  padding: 10px;
  color: var(--amden-ink);
  font-size: 16px;
  line-height: 1.5;
  resize: vertical;
}

.amden-field input::placeholder,
.amden-field textarea::placeholder {
  color: var(--amden-muted);
}

.amden-field textarea {
  min-height: 120px;
}

.amden-form-note {
  margin: 0;
  color: var(--amden-navy);
  font-size: 15px;
}

.page-legal .amden-header {
  background: var(--amden-white);
  border-bottom: 1px solid rgba(6, 50, 89, 0.08);
}

.page-legal .amden-burger__bar {
  background: var(--amden-navy);
}

.legal-page {
  padding: 140px 60px 80px;
  max-width: 980px;
  margin: 0 auto;
}

.legal-page h1 {
  color: var(--amden-navy);
  font-size: 48px;
  line-height: 1.2;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.legal-page h2 {
  color: var(--amden-navy);
  font-size: 28px;
  margin: 32px 0 12px;
}

.legal-page p + p {
  margin-top: 12px;
}
.logout-part {
  position: relative;
}
.login-mobile p {
  font-size: clamp(1rem, 1vw, 1rem);
  line-height: 1.8;
  color: #353334;
  margin-bottom: 0px;
  margin-top: 10px;
}
.login-mobile p a {
  font-weight: 700;
}
.logout {
  position: absolute;
  width: 100%;
  text-align: center;
  background: #063259;
  padding: 10px 20px;
  bottom: -40px;
  color: #ffffff;
  display: none;
  z-index: 999;
}
.logout-part:hover .logout {
  display: block;
}
.logout p {
  font-size: 16px;
  color: #ffffff;
  font-weight: 400;
  cursor: pointer;
  margin-bottom: 0px;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
