@charset "UTF-8";

:root {
  --pine: #173d35;
  --pine-deep: #102c27;
  --paper: #e8ece6;
  --paper-warm: #f1ede4;
  --signal: #ed6b36;
  --ink: #202821;
  --muted: #626a62;
  --line: #c9cec6;
  --white: #fff;
  --shadow: 0 24px 70px rgba(28, 40, 33, .13);
}

* { box-sizing: border-box; }

html {
  min-width: 320px;
  scroll-behavior: smooth;
  background: #f6f7f4;
}

body {
  margin: 0;
  overflow-x: hidden;
  background: #f6f7f4;
  color: var(--ink);
  font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
  text-rendering: optimizeLegibility;
}

body.viewer-open { overflow: hidden; }

button,
a { font: inherit; -webkit-tap-highlight-color: transparent; }

a:focus-visible,
button:focus-visible {
  outline: 3px solid #2e82db;
  outline-offset: 4px;
}

img { max-width: 100%; }

.skip-link {
  position: fixed;
  z-index: 100;
  left: 14px;
  top: 14px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
  transform: translateY(-170%);
}

.skip-link:focus { transform: translateY(0); }

.shell { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }

.page-header {
  width: min(1280px, calc(100% - 48px));
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  margin: 0 auto;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: inherit;
  font-size: 14px;
  font-weight: 820;
  letter-spacing: .025em;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: block;
  width: 29px;
  height: 29px;
  flex: 0 0 auto;
}

.page-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 18px;
}

.page-nav a {
  color: var(--pine);
  font-size: 13px;
  font-weight: 760;
  text-decoration: none;
}

.page-nav a:hover,
.page-nav a[aria-current="page"] { color: var(--signal); }

.header-meta {
  display: flex;
  align-items: center;
  gap: 21px;
  white-space: nowrap;
}

.header-meta span { color: var(--muted); font-size: 12px; }

.header-phone {
  color: var(--pine);
  font-size: 16px;
  font-weight: 850;
  text-decoration: none;
}

.nav-toggle {
  position: relative;
  z-index: 70;
  display: none;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.nav-toggle i {
  display: block;
  width: 20px;
  height: 2px;
  margin: 2.5px auto;
  border-radius: 2px;
  background: var(--pine);
  transition: transform .2s ease, opacity .2s ease;
}

.nav-toggle[aria-expanded="true"] i:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] i:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] i:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

h1,
h2,
p { margin-top: 0; }

h1 {
  max-width: 890px;
  margin: 0;
  color: #152c27;
  font-size: clamp(52px, 7vw, 94px);
  line-height: .93;
  letter-spacing: -.065em;
}

h2 {
  margin-bottom: 19px;
  color: #17332c;
  font-size: clamp(31px, 3.5vw, 53px);
  line-height: 1.04;
  letter-spacing: -.052em;
}

.keys-hero {
  padding: clamp(62px, 9vw, 132px) 0 clamp(54px, 7vw, 100px);
  background:
    radial-gradient(circle at 87% 4%, rgba(237, 107, 54, .16), transparent 25%),
    linear-gradient(118deg, #e5ebe5 0%, #f4f1e9 75%);
}

.h1-note {
  margin: 17px 0 26px;
  color: var(--signal);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(22px, 2.7vw, 36px);
  font-style: italic;
  line-height: 1.06;
}

.lead {
  max-width: 650px;
  margin-bottom: 0;
  color: #56635b;
  font-size: 18px;
  line-height: 1.56;
}

.section { padding: clamp(64px, 8vw, 112px) 0; }

.bank-section {
  background:
    linear-gradient(rgba(23, 61, 53, .045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(23, 61, 53, .045) 1px, transparent 1px),
    #f4f3ee;
  background-size: 42px 42px;
}

.bank-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-bottom: clamp(28px, 4vw, 46px);
}

.bank-tab {
  min-height: 42px;
  padding: 8px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, .73);
  color: var(--pine);
  font-size: 13px;
  font-weight: 780;
  cursor: pointer;
  transition: background .18s ease, border-color .18s ease, color .18s ease;
}

.bank-tab:hover { border-color: var(--pine); }
.bank-tab[aria-pressed="true"] { border-color: var(--pine); background: var(--pine); color: var(--white); }

.bank-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(13px, 1.8vw, 23px);
}

.bank-item {
  position: relative;
  min-width: 0;
  overflow: hidden;
  padding: 0;
  border: 1px solid rgba(23, 61, 53, .16);
  border-radius: 18px;
  background: var(--white);
  box-shadow: 0 13px 32px rgba(23, 61, 53, .08);
  cursor: zoom-in;
  text-align: left;
  transition: transform .22s ease, box-shadow .22s ease;
}

.bank-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 19px 38px rgba(23, 61, 53, .15);
}

.bank-item[hidden] { display: none; }

.bank-item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: contain;
  background: #e7ebe5;
}

.bank-badge,
.bank-sub {
  position: absolute;
  z-index: 1;
  padding: 6px 10px;
  border-radius: 8px;
  font-size: 11px;
  font-weight: 780;
  line-height: 1.2;
}

.bank-badge {
  top: 10px;
  left: 10px;
  background: rgba(16, 44, 39, .86);
  color: var(--white);
}

.bank-sub {
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  background: rgba(255, 255, 255, .94);
  color: var(--pine);
}

.bank-note {
  max-width: 760px;
  margin: clamp(25px, 3vw, 38px) 0 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
}

.final-cta {
  padding: clamp(60px, 8vw, 92px) 0;
  background: var(--signal);
  color: var(--white);
}

.final-cta-inner {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 40px;
}

.final-cta h2 {
  margin-bottom: 10px;
  color: var(--white);
}

.final-cta p {
  margin-bottom: 0;
  color: #6e321b;
  font-weight: 650;
}

.final-contact {
  display: grid;
  justify-items: start;
  gap: 7px;
}

.final-contact > a:first-child {
  color: var(--white);
  font-size: 25px;
  font-weight: 850;
  letter-spacing: -.03em;
  text-decoration: none;
}

.final-contact span {
  margin-bottom: 8px;
  color: #6e321b;
  font-size: 12px;
  font-weight: 750;
}

.button {
  display: inline-flex;
  min-height: 51px;
  align-items: center;
  justify-content: center;
  padding: 0 23px;
  border: 0;
  border-radius: 999px;
  font-weight: 820;
  text-decoration: none;
}

.button-light { background: var(--white); color: var(--pine); }

.page-footer {
  padding: 29px 0;
  color: #5c675f;
  background: #e9ede7;
  font-size: 11px;
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.viewer {
  position: fixed;
  z-index: 90;
  inset: 0;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 22px;
  background: rgba(16, 44, 39, .84);
}

.viewer.is-open { display: flex; }

.viewer-card {
  width: min(1030px, 100%);
  overflow: hidden;
  border-radius: 20px;
  background: var(--white);
  box-shadow: 0 35px 85px rgba(0, 0, 0, .38);
}

.viewer-card img {
  display: block;
  width: 100%;
  max-height: min(68vh, 760px);
  object-fit: contain;
  background: #e6ebe5;
}

.viewer-body {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  padding: 18px 22px 20px;
}

.viewer-body h2 {
  margin: 0 0 5px;
  font-size: 22px;
}

.viewer-body p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.viewer-close {
  min-height: 43px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: var(--signal);
  color: var(--white);
  font-weight: 820;
  cursor: pointer;
}

@media (max-width: 1060px) {
  .page-header { gap: 14px; }
  .page-nav { gap: 6px 12px; }
  .header-meta { gap: 12px; }
  .header-meta span { display: none; }
}

@media (max-width: 1100px) {
  .page-header { width: min(100% - 28px, 1280px); min-height: 70px; }
  .page-header .brand,
  .page-header .header-meta { position: relative; z-index: 70; }
  .nav-toggle { display: block; z-index: 70; margin-left: auto; }
  .page-nav { display: none; }
  .page-nav.is-open {
    position: fixed;
    z-index: 60;
    inset: 0;
    bottom: 0;
    height: 100dvh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 0;
    padding: 92px 28px 28px;
    background: #ffffff;
    box-shadow: 0 26px 60px rgba(13, 35, 30, .18);
  }
  .page-nav.is-open a {
    padding: 15px 2px;
    border-bottom: 1px solid var(--line);
    font-size: 18px;
  }
  .page-nav.is-open a:last-child { border-bottom: 0; }
  .header-meta { margin-left: auto; }
  .bank-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 640px) {
  .shell { width: min(100% - 32px, 1180px); }
  .brand { font-size: 13px; }
  .brand-mark { width: 26px; height: 26px; }
  .header-phone { font-size: 14px; }
  .keys-hero { padding-top: 56px; }
  .lead { font-size: 16px; }
  .section { padding: 60px 0; }
  .bank-grid { grid-template-columns: 1fr; gap: 14px; }
  .bank-item { border-radius: 16px; }
  .bank-item img { aspect-ratio: 16 / 10; }
  .final-cta-inner { display: grid; align-items: start; gap: 27px; }
  .final-contact { width: 100%; }
  .final-contact .button { width: 100%; }
  .footer-inner { display: grid; gap: 8px; }
  .viewer { padding: 12px; }
  .viewer-card { border-radius: 16px; }
  .viewer-body { padding: 16px; }
}

@media (max-width: 400px) {
  .bank-tabs { gap: 7px; }
  .bank-tab { padding: 8px 12px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bank-item,
  .nav-toggle i { transition: none; }
}
