:root {
  --bg: #fbfaf7;
  --panel: #ffffff;
  --panel-soft: #f3efe6;
  --text: #151411;
  --muted: #666057;
  --line: rgba(175, 131, 45, 0.26);
  --gold: #b8862f;
  --gold-strong: #8e651c;
  --shadow: 0 24px 80px rgba(47, 38, 23, 0.13);
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
}

.hero-content,
.section,
.site-header,
.site-footer,
.mobile-menu {
  color: var(--text);
}

body.menu-open {
  overflow: hidden;
}

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

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

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100;
  transform: translateY(-160%);
  background: var(--gold);
  color: #ffffff;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 700;
}

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

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas:
    ". brand phone"
    ". nav .";
  align-items: center;
  gap: 8px 24px;
  padding: 16px clamp(18px, 4vw, 56px) 18px;
  background: rgba(251, 250, 247, 0.76);
  border-bottom: 1px solid transparent;
  backdrop-filter: blur(18px);
  transition: background 180ms ease, border-color 180ms ease, padding 180ms ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(251, 250, 247, 0.94);
  border-color: rgba(21, 20, 17, 0.08);
}

.brand {
  grid-area: brand;
  justify-self: center;
  position: relative;
  display: inline-flex;
  gap: 0.18em;
  align-items: center;
  padding: 2px 4px 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3.6rem;
  line-height: 0.86;
  letter-spacing: 0;
  color: var(--text);
  white-space: nowrap;
}

.brand-word {
  display: inline-flex;
  align-items: baseline;
}

.brand-main {
  color: #202220;
  font-weight: 700;
}

.brand-accent {
  color: #b38b40;
  font-weight: 700;
}

.nav {
  grid-area: nav;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: clamp(16px, 2vw, 30px);
  color: var(--muted);
  font-size: 0.94rem;
}

.brand-mark {
  display: block;
  flex: 0 0 auto;
  width: 1.13em;
  height: 1em;
  object-fit: contain;
}

section, #sprzedaj { scroll-margin-top: 170px; }
.sell-intro { margin-bottom: 40px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.sell-intro h2 { font-size: 2.8rem; line-height: 1.15; }
.sell-intro > p { max-width: 760px; }
.sell-benefits { display: flex; flex-wrap: wrap; gap: 14px 32px; padding-left: 20px; color: var(--gold-strong); font-weight: 700; }

@media (max-width: 620px) {
  .sell-intro h2 { font-size: 2rem; }
  section, #sprzedaj { scroll-margin-top: 100px; }
}

.nav a,
.mobile-menu a,
.site-footer a {
  transition: background 160ms ease, border-color 160ms ease, color 160ms ease;
}

.nav a:hover,
.mobile-menu a:hover,
.site-footer a:hover {
  color: var(--gold-strong);
}

.nav a,
.mobile-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 8px 13px;
  border: 1px solid transparent;
  border-radius: 999px;
}

.nav-featured {
  color: var(--gold-strong) !important;
  background: transparent;
  border-color: transparent !important;
  font-weight: 800;
}

.nav a.is-active,
.mobile-menu a.is-active,
.nav-featured.is-active {
  color: #ffffff !important;
  background: var(--gold);
  border-color: var(--gold) !important;
  font-weight: 800;
}

.nav-featured:hover,
.nav a.is-active:hover,
.mobile-menu a.is-active:hover {
  color: #ffffff !important;
  background: var(--gold-strong);
  border-color: var(--gold-strong) !important;
}

.header-phones {
  grid-area: phone;
  justify-self: end;
  display: grid;
  gap: 2px;
  text-align: right;
}

.header-phone {
  color: var(--gold-strong);
  font-weight: 700;
  white-space: nowrap;
}

.contact-name {
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 500;
}

.header-phone .contact-name {
  margin-right: 6px;
}

.contact-links .contact-name,
.contact-number {
  display: block;
}

.contact-number {
  white-space: nowrap;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(21, 20, 17, 0.14);
  background: rgba(255, 255, 255, 0.86);
  color: var(--text);
  cursor: pointer;
}

.menu-toggle span[aria-hidden="true"] {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.menu-open .menu-toggle span[aria-hidden="true"]:first-of-type {
  transform: translateY(3.5px) rotate(45deg);
}

.menu-open .menu-toggle span[aria-hidden="true"]:last-of-type {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  inset: 70px 14px auto;
  z-index: 35;
  display: none;
  padding: 18px;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid rgba(21, 20, 17, 0.1);
  box-shadow: var(--shadow);
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 180ms ease, transform 180ms ease;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu nav {
  display: grid;
  gap: 4px;
}

.mobile-menu a {
  padding: 13px 10px;
  color: var(--text);
  border-bottom: 1px solid rgba(21, 20, 17, 0.08);
}

.hero {
  position: relative;
  min-height: 92vh;
  display: grid;
  align-items: end;
  overflow: hidden;
  padding: 190px clamp(18px, 5vw, 72px) 72px;
}

.hero-image,
.hero-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(251, 250, 247, 0.95) 0%, rgba(251, 250, 247, 0.78) 36%, rgba(251, 250, 247, 0.22) 76%),
    linear-gradient(0deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.16) 46%, rgba(251, 250, 247, 0.74) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, 100%);
}

.eyebrow,
.section-kicker {
  margin: 0 0 18px;
  color: var(--gold-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  max-width: 820px;
  font-size: clamp(2.2rem, 5.4vw, 4.9rem);
  line-height: 1.04;
  letter-spacing: 0;
  overflow-wrap: normal;
  text-wrap: balance;
}

h2 {
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 5vw, 4.8rem);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin: 0 0 12px;
  font-size: 1.05rem;
  line-height: 1.3;
}

.hero-lead {
  width: min(640px, 100%);
  margin: 28px 0 0;
  color: #3d372f;
  font-size: clamp(1.05rem, 2.2vw, 1.35rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 13px 20px;
  border: 1px solid var(--gold);
  font-weight: 800;
  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: var(--gold);
  color: #ffffff;
}

.btn-secondary {
  color: var(--gold-strong);
  background: rgba(255, 255, 255, 0.7);
}

.hero-note {
  position: absolute;
  right: clamp(18px, 5vw, 72px);
  bottom: 42px;
  z-index: 3;
  display: flex;
  gap: 12px;
  color: var(--muted);
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.hero-note span {
  padding-left: 12px;
  border-left: 1px solid var(--gold);
}

.section {
  padding: clamp(76px, 10vw, 140px) clamp(18px, 5vw, 72px);
}

.split,
.section-heading,
.areas-grid,
.timeline,
.why,
.contact-panel,
.site-footer {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.split {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 7vw, 100px);
  align-items: start;
}

.copy {
  color: var(--muted);
  font-size: 1.04rem;
}

.copy p:first-child {
  margin-top: 0;
}

.intro h2 {
  max-width: 640px;
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  line-height: 1.12;
}

.band {
  background: linear-gradient(180deg, #ffffff 0%, #f4f0e8 100%);
  border-top: 1px solid rgba(21, 20, 17, 0.07);
  border-bottom: 1px solid rgba(21, 20, 17, 0.07);
}

.section-heading {
  margin-bottom: clamp(34px, 6vw, 62px);
}

.section-heading h2 {
  max-width: 780px;
}

.section-intro {
  max-width: 680px;
  margin: 18px 0 0;
  color: var(--muted);
  font-size: 1.04rem;
}

.areas-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.area-card {
  min-height: 260px;
  padding: 28px;
  background: rgba(255, 255, 255, 0.86);
  border: 1px solid rgba(21, 20, 17, 0.08);
  border-radius: 6px;
}

.intro-areas {
  margin-top: clamp(34px, 6vw, 58px);
}

.intro-areas .area-card {
  min-height: 220px;
}

.area-card p,
.timeline p,
.why-item p,
.contact-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.card-number {
  display: inline-block;
  margin-bottom: 52px;
  color: var(--gold);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.55rem;
}

.realizations {
  background: #fbfaf7;
}

.realizations-grid {
  width: min(var(--max), 100%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.apartments-group {
  width: min(var(--max), 100%);
  margin: 0 auto;
}

.apartments-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  margin-bottom: 24px;
}

.apartments-heading h3 {
  margin: 0;
  font-size: 1.55rem;
}

.apartment-contact {
  color: var(--gold-strong);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.available-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.apartment-download {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px;
  min-height: 44px;
  margin-top: 14px;
}

.apartment-download:focus-visible {
  outline: 3px solid var(--gold-strong);
  outline-offset: 4px;
}

.apartments-sold {
  margin-top: 64px;
  padding-top: 40px;
  border-top: 1px solid var(--line);
}

.realization-card h4 {
  margin: 0 0 12px;
  font-size: 1.15rem;
  line-height: 1.3;
}

.apartment-status {
  position: absolute;
  left: 12px;
  top: 12px;
  max-width: calc(100% - 24px);
  padding: 7px 10px;
  border-radius: 4px;
  font-family: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  pointer-events: none;
}

.status-available {
  color: #fff;
  background: #3d5e4e;
}

.status-sold {
  color: #fff;
  background: #343834;
}

.photo-disclaimer {
  position: absolute;
  right: 12px;
  bottom: 12px;
  max-width: calc(100% - 24px);
  padding: 6px 9px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--text);
  font-family: inherit;
  font-size: 0.75rem;
  line-height: 1.4;
  pointer-events: none;
}

.realization-card {
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(21, 20, 17, 0.08);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(47, 38, 23, 0.09);
}

.realization-photo {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
  overflow: hidden;
}

.realization-photo img {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 210px;
  object-fit: cover;
  transition: transform 260ms ease;
}

.realization-photo:hover img,
.realization-photo:focus-visible img {
  transform: scale(1.035);
}

.realization-photo:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.realization-card div {
  padding: 24px;
}

.realization-tag {
  margin: 0 0 10px;
  color: var(--gold-strong);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.realization-card p:last-child {
  margin-bottom: 0;
  color: var(--muted);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) 72px;
  align-items: center;
  gap: clamp(10px, 2vw, 22px);
  padding: clamp(18px, 4vw, 42px);
  background: rgba(8, 8, 8, 0.86);
  backdrop-filter: blur(14px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 180ms ease;
}

.gallery-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.gallery-frame {
  grid-column: 2;
  margin: 0;
  display: grid;
  justify-items: center;
  gap: 14px;
}

.gallery-frame img {
  max-width: min(1080px, 100%);
  max-height: 78vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.42);
}

.gallery-frame figcaption {
  color: #ffffff;
  font-weight: 800;
  text-align: center;
}

.gallery-close,
.gallery-arrow {
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(255, 255, 255, 0.92);
  color: #17130d;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease;
}

.gallery-close:hover,
.gallery-arrow:hover {
  transform: translateY(-1px);
  background: #ffffff;
}

.gallery-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-size: 2rem;
  line-height: 1;
}

.gallery-arrow {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  font-size: 2.7rem;
}

.gallery-prev {
  grid-column: 1;
  justify-self: end;
}

.gallery-next {
  grid-column: 3;
  justify-self: start;
}

.timeline {
  display: grid;
  gap: 18px;
  padding: 0;
  list-style: none;
  counter-reset: step;
}

.timeline li {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 22px;
  padding: 26px 0;
  border-top: 1px solid rgba(21, 20, 17, 0.1);
}

.timeline span {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: var(--gold-strong);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Georgia, "Times New Roman", serif;
}

.why {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(30px, 7vw, 96px);
}

.why h2 {
  max-width: 620px;
  font-size: clamp(1.9rem, 3.8vw, 3.4rem);
  line-height: 1.12;
}

.why-list {
  display: grid;
  gap: 0;
}

.process-reasons {
  width: min(var(--max), 100%);
  margin: clamp(28px, 5vw, 54px) auto 0;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.why-item {
  padding: 0 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid rgba(21, 20, 17, 0.1);
}

.contact {
  background:
    radial-gradient(circle at 72% 20%, rgba(184, 134, 47, 0.11), transparent 34%),
    #f7f4ed;
}

.contact-panel {
  padding: clamp(28px, 6vw, 56px);
  background: linear-gradient(135deg, #ffffff, #f4f0e8);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  max-width: 760px;
}

.contact-panel > p {
  max-width: 620px;
  font-size: 1.04rem;
}

.contact-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 34px;
}

.contact-links a,
.contact-links address {
  min-height: 92px;
  padding: 18px;
  color: var(--text);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(21, 20, 17, 0.09);
  border-radius: 6px;
  font-style: normal;
  font-weight: 750;
}

.contact-links a:hover {
  color: var(--gold-strong);
  border-color: var(--line);
}

.site-footer {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 16px;
  padding: 28px clamp(18px, 5vw, 72px) 36px;
  color: var(--muted);
  border-top: 1px solid rgba(21, 20, 17, 0.08);
}

.site-footer p {
  margin: 0;
}

.legal-links { display: flex; flex-wrap: wrap; gap: 12px 24px; width: 100%; font-size: 0.9rem; }
.legal-links button, .cookie-reset { padding: 0; border: 0; background: none; color: inherit; font: inherit; text-decoration: underline; cursor: pointer; }
.legal-links a:focus-visible, .legal-links button:focus-visible, .cookie-panel a:focus-visible, .cookie-panel button:focus-visible { outline: 3px solid var(--gold-strong); outline-offset: 4px; }

.legal-page { padding: 195px 24px 80px; max-width: 900px; margin: auto; }
.legal-page h1 { font-size: 2.8rem; line-height: 1.15; }
.legal-page h2 { font-family: inherit; font-size: 1.3rem; line-height: 1.4; margin: 36px 0 12px; }
.legal-page p, .legal-page li { overflow-wrap: anywhere; }
.legal-page li + li { margin-top: 8px; }
.legal-page a { color: var(--gold-strong); text-decoration: underline; text-underline-offset: 3px; }
.legal-date { color: var(--muted); font-size: 0.9rem; }
.legal-toc { display: flex; flex-wrap: wrap; gap: 10px 22px; margin: 30px 0; padding-block: 20px; border-block: 1px solid var(--line); }
.legal-table-wrap { overflow-x: auto; }
.legal-page table { width: 100%; border-collapse: collapse; text-align: left; font-size: 0.93rem; }
.legal-page th, .legal-page td { border-bottom: 1px solid var(--line); padding: 12px; vertical-align: top; overflow-wrap: anywhere; }
.legal-page th { background: var(--panel-soft); }
.legal-footer { max-width: 1180px; margin: auto; }

.cookie-panel[hidden], .cookie-panel [hidden], [data-cookie-settings][hidden] { display: none !important; }
.cookie-panel { position: fixed; z-index: 90; left: 20px; bottom: 20px; width: min(580px, calc(100% - 40px)); max-height: calc(100vh - 40px); max-height: calc(100dvh - 40px); overflow-y: auto; padding: 24px; background: #fff; color: var(--text); border: 1px solid var(--line); border-radius: 8px; box-shadow: 0 12px 55px rgba(0, 0, 0, 0.18); font-size: 0.94rem; }
.cookie-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.cookie-heading h2 { font-family: inherit; font-size: 1.25rem; line-height: 1.4; }
.cookie-panel p { margin: 12px 0; }
.cookie-panel a { color: var(--gold-strong); text-decoration: underline; }
.cookie-close { flex: 0 0 40px; height: 40px; border: 0; background: transparent; font-size: 1.8rem; cursor: pointer; color: inherit; }
.cookie-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 20px; }
.cookie-button { min-height: 46px; padding: 10px 14px; border: 1px solid var(--gold-strong); border-radius: 4px; color: var(--gold-strong); background: #fff; font: inherit; font-weight: 700; cursor: pointer; }
.cookie-button:hover { background: var(--panel-soft); }
.cookie-details { margin-top: 22px; padding-top: 18px; border-top: 1px solid var(--line); }
.cookie-details h3 { font-size: 1rem; margin: 12px 0 0; }
.cookie-details code { overflow-wrap: anywhere; }
.cookie-status:empty { display: none; }

@media (max-width: 620px) {
  .legal-page { padding: 125px 18px 60px; }
  .legal-page h1 { font-size: 2.1rem; }
  .cookie-panel { left: 12px; bottom: 12px; width: calc(100% - 24px); padding: 18px; max-height: calc(100dvh - 24px); }
  .cookie-actions { grid-template-columns: 1fr; }
}

.reveal {
  opacity: 1;
  transform: none;
}

.reveal.is-visible {
  animation: reveal-enter 480ms ease-out;
}

@keyframes reveal-enter {
  from { opacity: 0.85; transform: translateY(12px); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (max-width: 1100px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
    grid-template-areas: "brand . menu";
  }

  .nav,
  .header-phones {
    display: none;
  }

  .menu-toggle,
  .mobile-menu {
    display: block;
  }

  .menu-toggle {
    grid-area: menu;
  }

  .brand {
    justify-self: start;
    font-size: 2.6rem;
  }

  .hero {
    min-height: 86vh;
    padding-top: 150px;
  }

  .hero-note {
    position: relative;
    right: auto;
    bottom: auto;
    margin-top: 42px;
    flex-wrap: wrap;
  }

  .split,
  .why {
    grid-template-columns: 1fr;
  }

  .process-reasons {
    grid-template-columns: 1fr;
  }

  .areas-grid,
  .realizations-grid,
  .contact-links {
    grid-template-columns: 1fr;
  }

  .area-card {
    min-height: auto;
  }

  .card-number {
    margin-bottom: 30px;
  }
}

@media (max-width: 620px) {
  .site-header {
    padding: 12px 14px;
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand menu";
    column-gap: 12px;
  }

  .brand {
    font-size: 1.9rem;
  }

  .hero {
    min-height: 92vh;
    padding: 132px 18px 46px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(251, 250, 247, 0.97) 0%, rgba(251, 250, 247, 0.8) 100%),
      linear-gradient(0deg, rgba(251, 250, 247, 0.98) 0%, rgba(251, 250, 247, 0.14) 52%, rgba(251, 250, 247, 0.74) 100%);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .gallery-modal {
    grid-template-columns: 1fr 1fr;
    align-content: center;
    padding: 18px;
  }

  .gallery-frame {
    grid-column: 1 / -1;
    grid-row: 1;
  }

  .gallery-frame img {
    max-height: 68vh;
  }

  .gallery-prev,
  .gallery-next {
    grid-row: 2;
    margin-top: 12px;
  }

  .gallery-prev {
    grid-column: 1;
    justify-self: end;
  }

  .gallery-next {
    grid-column: 2;
    justify-self: start;
  }

  .timeline li {
    grid-template-columns: 48px 1fr;
    gap: 16px;
  }

  .timeline span {
    width: 38px;
    height: 38px;
  }

  .site-footer {
    flex-direction: column;
  }
}
