:root {
  --doc-navy: #102951;
  --doc-deep: #091a34;
  --doc-blue: #2875d2;
  --doc-gold: #e5b85c;
  --doc-ink: #17263d;
  --doc-muted: #66758a;
  --doc-paper: #f5f7fb;
}

* { box-sizing: border-box; }

html { min-width: 320px; min-height: 100%; }

body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  color: var(--doc-ink);
  background: var(--doc-deep);
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
}

a { -webkit-tap-highlight-color: transparent; }

.document-page {
  position: relative;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 22, 45, .94) 0%, rgba(9, 29, 59, .87) 48%, rgba(11, 37, 72, .62) 100%),
    linear-gradient(0deg, rgba(7, 22, 45, .56), transparent 48%),
    url("Pictures-Client/background/ADMIN BUILDING (2).JPG") center 48% / cover no-repeat;
}

.document-page::after {
  position: absolute;
  right: -25rem;
  bottom: -34rem;
  width: 58rem;
  height: 58rem;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 50%;
  box-shadow: 0 0 0 55px rgba(255, 255, 255, .025), 0 0 0 110px rgba(255, 255, 255, .018);
  content: "";
  pointer-events: none;
}

.document-header {
  position: relative;
  z-index: 1;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, .16);
}

.document-header-inner {
  display: flex;
  width: min(100% - 64px, 1160px);
  min-height: 84px;
  align-items: center;
  justify-content: space-between;
  margin: 0 auto;
  gap: 20px;
}

.document-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}

.document-brand-seal {
  display: grid;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .4);
  border-radius: 50%;
  background: rgba(255, 255, 255, .11);
}

.document-brand-seal img { width: 30px; height: 30px; object-fit: contain; }

.document-brand-name {
  font-size: 14px;
  font-weight: 750;
  letter-spacing: .13em;
  line-height: 1.1;
}

.document-brand-subtitle {
  display: block;
  margin-top: 5px;
  color: rgba(255, 255, 255, .72);
  font-size: 10px;
  font-weight: 550;
  letter-spacing: .13em;
  text-transform: uppercase;
}

.document-nav-actions { display: flex; align-items: center; gap: 9px; }

.document-nav-link {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 15px;
  border: 1px solid rgba(255, 255, 255, .32);
  border-radius: 999px;
  color: #fff;
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.document-nav-link:hover {
  transform: translateY(-2px);
  border-color: #fff;
  color: #fff;
  background: rgba(255, 255, 255, .12);
}

.document-nav-link.primary {
  border-color: var(--doc-gold);
  color: var(--doc-deep);
  background: var(--doc-gold);
}

.document-nav-link.primary:hover { border-color: #ffdf9a; color: var(--doc-deep); background: #ffdf9a; }
.document-nav-link svg, .document-cta svg { width: 16px; height: 16px; flex: 0 0 auto; }

.document-main {
  position: relative;
  z-index: 1;
  display: grid;
  width: min(100% - 64px, 1160px);
  flex: 1;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .82fr);
  align-items: center;
  gap: clamp(42px, 7vw, 92px);
  margin: 0 auto;
  padding: 70px 0 78px;
}

.document-intro { max-width: 640px; }

.document-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  color: #f0d18b;
  font-size: 11px;
  font-weight: 750;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.document-eyebrow::before { width: 28px; height: 1px; background: var(--doc-gold); content: ""; }

.document-title {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(2.6rem, 5vw, 4.3rem);
  font-weight: 720;
  letter-spacing: -.055em;
  line-height: 1.06;
  text-wrap: balance;
}

.document-summary {
  max-width: 600px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 15px;
  line-height: 1.85;
}

.document-assurance {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 29px;
  color: rgba(255, 255, 255, .82);
  font-size: 12px;
  font-weight: 600;
}

.document-assurance svg { width: 19px; height: 19px; color: #f0d18b; flex: 0 0 auto; }

.document-info-card {
  position: relative;
  overflow: hidden;
  padding: clamp(25px, 4vw, 38px);
  border: 1px solid rgba(255, 255, 255, .7);
  border-radius: 12px;
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 28px 75px rgba(2, 13, 30, .32);
  backdrop-filter: blur(14px);
  animation: document-rise .65s cubic-bezier(.2, .7, .2, 1) both;
}

.document-info-card::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--doc-gold), var(--doc-blue));
  content: "";
}

@keyframes document-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.document-card-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--doc-blue);
  font-size: 10px;
  font-weight: 750;
  letter-spacing: .17em;
  text-transform: uppercase;
}

.document-info-card h2 {
  margin: 0 0 17px;
  color: var(--doc-navy);
  font-size: clamp(1.4rem, 2.4vw, 1.75rem);
  font-weight: 730;
  letter-spacing: -.035em;
  line-height: 1.22;
}

.document-info-card p {
  margin: 0 0 14px;
  color: var(--doc-muted);
  font-size: 13px;
  line-height: 1.8;
}

.document-info-card p:last-of-type { margin-bottom: 0; }

.document-card-divider { height: 1px; margin: 21px 0; background: #e8edf3; }

.document-card-note {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--doc-muted);
  font-size: 11px;
  line-height: 1.65;
}

.document-card-note svg { width: 17px; height: 17px; flex: 0 0 auto; color: var(--doc-blue); }

.document-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}

.document-cta {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 19px;
  border: 1px solid var(--doc-gold);
  border-radius: 7px;
  color: var(--doc-deep);
  background: var(--doc-gold);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .16);
  font-size: 12px;
  font-weight: 750;
  text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, background .25s ease, box-shadow .25s ease;
}

.document-cta:hover {
  transform: translateY(-3px);
  border-color: #ffdf9a;
  color: var(--doc-deep);
  background: #ffdf9a;
  box-shadow: 0 15px 28px rgba(0, 0, 0, .22);
}

.document-back-link {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 7px;
  padding: 0 13px;
  border: 1px solid rgba(255, 255, 255, .3);
  border-radius: 7px;
  color: rgba(255, 255, 255, .9);
  font-size: 12px;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease;
}

.document-back-link:hover { border-color: rgba(255, 255, 255, .7); color: #fff; background: rgba(255, 255, 255, .1); }
.document-back-link svg { width: 15px; height: 15px; }

.document-footer {
  position: relative;
  z-index: 1;
  width: min(100% - 64px, 1160px);
  margin: 0 auto;
  padding: 17px 0 22px;
  border-top: 1px solid rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .56);
  font-size: 10px;
  letter-spacing: .05em;
}

.document-nav-link:focus-visible,
.document-brand:focus-visible,
.document-cta:focus-visible,
.document-back-link:focus-visible {
  outline: 3px solid #f0c967;
  outline-offset: 4px;
}

@media (max-width: 860px) {
  .document-main {
    max-width: 700px;
    grid-template-columns: 1fr;
    gap: 30px;
    padding: 56px 0;
  }
  .document-intro { max-width: 660px; }
  .document-title { max-width: 650px; }
  .document-summary { max-width: 620px; }
}

@media (max-width: 560px) {
  .document-page {
    background-position: 58% center;
    background-image:
      linear-gradient(90deg, rgba(7, 22, 45, .94), rgba(9, 29, 59, .83)),
      linear-gradient(0deg, rgba(7, 22, 45, .62), transparent 48%),
      url("Pictures-Client/background/ADMIN BUILDING (2).JPG");
  }
  .document-header-inner,
  .document-main,
  .document-footer { width: min(100% - 36px, 460px); }
  .document-header-inner { min-height: 72px; }
  .document-brand { gap: 9px; }
  .document-brand-seal { width: 39px; height: 39px; flex-basis: 39px; }
  .document-brand-seal img { width: 27px; height: 27px; }
  .document-brand-name { font-size: 12px; }
  .document-brand-subtitle { font-size: 9px; }
  .document-nav-actions { gap: 6px; }
  .document-nav-link { min-height: 36px; gap: 5px; padding: 0 9px; font-size: 9px; }
  .document-nav-link svg { width: 13px; height: 13px; }
  .document-main { gap: 25px; padding: 42px 0; }
  .document-eyebrow { margin-bottom: 14px; font-size: 10px; }
  .document-title { margin-bottom: 14px; font-size: clamp(2.3rem, 10vw, 3.2rem); }
  .document-summary { font-size: 13px; }
  .document-assurance { margin-top: 20px; font-size: 11px; }
  .document-info-card { padding: 25px 20px 21px; border-radius: 10px; }
  .document-info-card h2 { font-size: 1.4rem; }
  .document-info-card p { font-size: 12px; }
  .document-actions { align-items: stretch; flex-direction: column; }
  .document-cta, .document-back-link { width: 100%; }
  .document-footer { padding-top: 14px; font-size: 9px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    scroll-behavior: auto !important;
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}
