:root {
  --page-bg: #edf2f7;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --text: #000;
  --muted: #5c6b7a;
  --line: rgba(19, 32, 51, 0.12);
  --navy: #07182b;
  --navy-2: #123252;
  --violet: #261445;
  --gold: #d5a24d;
  --gold-light: #f3c96d;
  --shadow: 0 18px 45px rgba(7, 24, 43, 0.12);
  --radius-lg: 22px;
  --radius-md: 14px;
  --container: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  color: var(--text);
  background:
    radial-gradient(circle at 18% 0%, rgba(213, 162, 77, 0.1), transparent 28%),
    linear-gradient(180deg, #f6f8fb 0%, var(--page-bg) 60%, #e8eef5 100%);
  font-family: "Times New Roman", Georgia, serif;
}

main {
  flex: 1 0 auto;
}

h1,
h2,
h3,
p,
figure {
  margin: 0;
}

h1,
h2,
h3 {
  line-height: 1.12;
  color: #07182b;
}

h2 {
  font-size: clamp(0.75rem, 1.25vw, 1rem);
}

h3 {
  font-size: clamp(0.68rem, 1.1vw, 0.9rem);
}

p {
  line-height: 1.65;
}

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

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

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

.container,
.objects-inner {
  width: min(var(--container), calc(100% - 32px));
  margin-inline: auto;
}

.skip-link {
  position: fixed;
  left: 16px;
  top: 16px;
  z-index: 1000;
  padding: 10px 14px;
  border-radius: 10px;
  color: var(--navy);
  background: #fff;
  box-shadow: var(--shadow);
  transform: translateY(-150%);
  transition: transform 0.2s ease;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px max(24px, calc((100vw - var(--container)) / 2));
  overflow: visible;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 118, 155, 0.3), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(100, 42, 126, 0.33), transparent 38%),
    linear-gradient(135deg, var(--navy) 0%, #0a233b 48%, var(--violet) 100%);
  border-bottom: 1px solid rgba(243, 201, 109, 0.36);
  box-shadow: 0 15px 34px rgba(4, 13, 24, 0.25);
}

.site-header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 2px;
  pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(243, 201, 109, 0.95), transparent);
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
  color: #fff;
}

.brand-mark {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid rgba(255, 245, 207, 0.78);
  background: linear-gradient(145deg, #fff4c9, var(--gold-light) 45%, #9b7230);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.22);
}

.brand-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.brand-text {
  display: grid;
  min-width: 0;
  gap: 4px;
  line-height: 1.05;
}

.brand-text strong {
  color: #fff6db;
  font-size: clamp(1rem, 2vw, 1.22rem);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.brand-text small {
  color: rgba(243, 201, 109, 0.9);
  font-size: clamp(0.58rem, 1.4vw, 0.72rem);
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.98rem;
  font-weight: 700;
}

.nav a {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 1px solid transparent;
  border-radius: 9px;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.nav a:hover,
.nav a:focus,
.nav a[aria-current="page"] {
  color: #fff6db;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(243, 201, 109, 0.42);
  outline: none;
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(243, 201, 109, 0.5);
  border-radius: 12px;
  color: #fff6db;
  background: rgba(2, 13, 26, 0.32);
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
}

.page-screen {
  padding-top: 30px;
  padding-bottom: 30px;
}
.section-pad,
.objects-page {
  padding-top: 30px;
  padding-bottom: 30px;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(280px, 0.9fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

.hero-copy,
.hero-panel,
.page-section,
.contact-card,
.feature-card,
.object-row {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.hero-copy,
.hero-panel {
  border-radius: var(--radius-lg);
}

.hero-copy {
  padding: clamp(26px, 4vw, 44px);
}

.hero-copy h1,
.section-heading h1,
.contact-card h1,
.objects-title {
  font-size: clamp(1rem, 2vw, 1.6rem);
  letter-spacing: -0.018em;
}

.hero-lead,
.contact-card p,
.feature-card p,
.section-lead,
.object-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.hero-copy .hero-lead {
  margin-top: 18px;
  max-width: 64ch;
}

.hero-panel {
  padding: clamp(18px, 3vw, 26px);
}

.hero-image-card {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  overflow: hidden;
  border-radius: 18px;
  background: #fff;
  box-shadow: inset 0 0 0 1px rgba(213, 162, 77, 0.16);
}

.hero-image-card img {
  width: 100%;
  max-height: 430px;
  object-fit: contain;
}

.eyebrow {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 34px;
  padding: 7px 12px;
  border: 1px solid rgba(213, 162, 77, 0.22);
  border-radius: 999px;
  color: var(--navy);
  background: #fbedd0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.eyebrow-doc {
  margin-bottom: 18px;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 24px;
}

.trust-row .eyebrow {
  margin-bottom: 0;
}

.page-section {
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
}

.intro-section,
.contact-card {
  background: rgba(255, 255, 255, 0.9);
}

.section-heading {
  max-width: 880px;
  margin-bottom: 26px;
}

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

.feature-card {
  min-width: 0;
  border-radius: var(--radius-md);
  padding: 24px;
}

.feature-card .icon {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  margin-bottom: 16px;
  border-radius: 14px;
  background: rgba(213, 162, 77, 0.16);
  font-size: 1.3rem;
}

.feature-card h3 h2,
.object-copy h2 {
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: clamp(1.05rem, 1.8vw, 1.32rem);
}

.object-copy h2 {
  font-size: clamp(1.18rem, 2.2vw, 1.58rem);
}

.contact-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  border-radius: var(--radius-lg);
  padding: clamp(26px, 4vw, 42px);
}

.contact-card h1 {
  margin-top: 16px;
  margin-bottom: 12px;
}

.contact-actions,
.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.ui-button,
.btn,
.catalog-more-button {
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 700;
  line-height: 1;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.ui-button:hover,
.ui-button:focus,
.btn:hover,
.btn:focus,
.catalog-more-button:hover,
.catalog-more-button:focus {
  transform: translateY(-1px);
  outline: none;
}

.ui-button-primary,
.btn-primary,
.catalog-more-button {
  color: #fff;
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 118, 155, 0.3), transparent 34%),
    radial-gradient(circle at 82% 0%, rgba(100, 42, 126, 0.33), transparent 38%),
    linear-gradient(135deg, var(--navy) 0%, #0a233b 48%, var(--violet) 100%);
  box-shadow: 0 12px 24px rgba(7, 24, 43, 0.18);
}

.catalog-more-button {
  width: fit-content;
  height: 34px;
  min-height: 34px;
  box-sizing: border-box;
  align-self: start;
  padding: 0 12px;
  line-height: 1;
}

.ui-button-secondary,
.btn-secondary {
  color: var(--navy);
  background: #fff;
  border-color: rgba(7, 24, 43, 0.14);
}

.objects-page-main {
  background:
    radial-gradient(circle at 15% 2%, rgba(213, 162, 77, 0.12), transparent 25%),
    linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
}

.objects-page {
  min-height: calc(100vh - 82px - 78px);
}

.objects-title {
  max-width: 980px;
  margin-inline: auto;
  margin-bottom: clamp(28px, 5vw, 54px);
  text-align: center;
  text-wrap: balance;
}

.objects-list {
  display: grid;
  gap: clamp(22px, 4vw, 40px);
}

.object-row {
  display: grid;
  grid-template-columns: minmax(260px, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(20px, 4vw, 44px);
  align-items: center;
  border-radius: var(--radius-lg);
  padding: clamp(16px, 2.5vw, 26px);
  overflow: hidden;
}

.object-row-reverse {
  grid-template-columns: minmax(0, 1.05fr) minmax(260px, 0.95fr);
}

.object-row-reverse .object-media {
  order: 2;
}

.object-row-reverse .object-copy {
  order: 1;
}

.object-media {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--violet));
  box-shadow: 0 18px 36px rgba(7, 24, 43, 0.16);
}

.object-media::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(243, 201, 109, 0.24);
  border-radius: inherit;
}

.object-media img {
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
}

.object-copy {
  display: grid;
  justify-items: start;
  gap: 12px;
  padding: clamp(8px, 1.5vw, 14px);
}

.object-copy .eyebrow {
  margin-bottom: 2px;
}

.site-footer {
  flex: 0 0 auto;
  color: #fff6db;
  background:
    radial-gradient(circle at 15% 0%, rgba(0, 118, 155, 0.25), transparent 34%),
    linear-gradient(135deg, var(--navy), var(--violet));
  border-top: 2px solid rgba(243, 201, 109, 0.55);
}

.footer-grid {
  min-height: 76px;
  display: grid;
  grid-template-columns: minmax(240px, 1fr) minmax(140px, auto) minmax(220px, auto);
  align-items: start;
  justify-content: space-between;
  gap: 16px;
  padding-block: 18px;
}

.footer-grid strong {
  color: var(--gold-light);
  letter-spacing: 0.1em;
}

.footer-grid p {
  margin-top: 6px;
  color: rgba(255, 246, 219, 0.78);
}

.modal[aria-hidden="true"] {
  display: none;
}

.modal[aria-hidden="false"] {
  position: fixed;
  inset: 0;
  z-index: 500;
  display: grid;
  place-items: center;
  padding: 20px;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(4, 13, 24, 0.62);
}

.modal-panel {
  position: relative;
  z-index: 1;
  width: min(560px, 100%);
  max-height: calc(100vh - 40px);
  overflow: auto;
  border-radius: 20px;
  padding: 28px;
  background: #fff;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.32);
}

.modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 38px;
  height: 38px;
  border: 0;
  border-radius: 50%;
  color: var(--navy);
  background: rgba(7, 24, 43, 0.08);
  font-size: 1.5rem;
  cursor: pointer;
}

.modal-box {
  margin: 18px 0;
  padding: 16px;
  border-radius: 14px;
  color: var(--text);
  background: var(--surface-soft);
  white-space: pre-line;
}

.note {
  margin-top: 14px;
  color: var(--muted);
  font-size: 0.92rem;
}

.scroll-top {
  position: fixed;
  right: 16px;
  bottom: 16px;
  z-index: 80;
  display: none;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(243, 201, 109, 0.38);
  border-radius: 999px;
  color: #fff6db;
  background: linear-gradient(135deg, var(--navy), var(--violet));
  box-shadow: var(--shadow);
  cursor: pointer;
}
.scroll-top {
  color: #fff !important;
}

.scroll-top span {
  color: #fff !important;
}

.scroll-top.is-visible {
  display: inline-flex;
}

.reveal {
  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: 980px) {
  .hero-grid,
  .contact-card {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 860px) {
  .site-header {
    min-height: 74px;
    padding: 12px 16px;
  }

  .brand-mark {
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .brand-logo {
    width: 38px;
    height: 38px;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    padding: 12px;
    border: 1px solid rgba(243, 201, 109, 0.35);
    border-radius: 16px;
    background: linear-gradient(135deg, var(--navy), var(--violet));
    box-shadow: 0 20px 45px rgba(4, 13, 24, 0.3);
  }

  .site-header.is-open .nav,
  .nav.is-open {
    display: flex;
  }

  .nav a {
    width: 100%;
    min-height: 44px;
    justify-content: flex-start;
    padding-inline: 14px;
    background: rgba(255, 255, 255, 0.05);
  }

  .objects-page {
    min-height: 0;
  }

  .object-row,
  .object-row-reverse {
    grid-template-columns: 1fr;
  }

  .object-row-reverse .object-media,
  .object-row-reverse .object-copy {
    order: initial;
  }
}

@media (max-width: 640px) {
  .container,
  .objects-inner {
    width: min(100% - 24px, var(--container));
  }

  .brand {
    gap: 10px;
  }

  .brand-text small {
    max-width: 210px;
  }

  .features {
    grid-template-columns: 1fr;
  }

  .page-screen,
  .section-pad,
  .objects-page {
    padding-block: 32px;
  }

  .hero-copy,
  .page-section,
  .contact-card,
  .feature-card,
  .object-row {
    padding: 20px;
  }

  .hero-image-card {
    min-height: 200px;
  }

  .footer-grid {
    min-height: 64px;
  }

  .scroll-top span:last-child {
    display: none;
  }
}

@media (max-width: 420px) {
  .site-header {
    gap: 10px;
  }

  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    letter-spacing: 0.06em;
  }

  .brand-text small {
    max-width: 160px;
    letter-spacing: 0.06em;
  }

  .hero-copy h1,
  .section-heading h1,
  .contact-card h1,
  .objects-title {
    font-size: clamp(0.86rem, 4.5vw, 1.05rem);
  }

  .modal-panel {
    padding: 24px 18px;
  }
}

/* Multilingual navigation and RTL support */
.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  min-width: 0;
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px;
  border: 1px solid rgba(243, 201, 109, 0.35);
  border-radius: 999px;
  background: rgba(2, 13, 26, 0.22);
}

.language-switch a {
  min-width: 36px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.84);
  font-size: 0.78rem;
  font-weight: 800;
}

.language-switch a:hover,
.language-switch a:focus,
.language-switch a[aria-current="page"] {
  color: var(--navy);
  background: var(--gold-light);
  outline: none;
}

html[dir="rtl"] body {
  direction: rtl;
}

html[dir="rtl"] .brand,
html[dir="rtl"] .nav,
html[dir="rtl"] .trust-row,
html[dir="rtl"] .contact-actions,
html[dir="rtl"] .modal-actions,
html[dir="rtl"] .header-actions {
  direction: rtl;
}

html[dir="rtl"] .object-row-reverse .object-media,
html[dir="rtl"] .certificate-row-reverse .certificate-media {
  order: 1;
}

html[dir="rtl"] .object-row-reverse .object-copy,
html[dir="rtl"] .certificate-row-reverse .certificate-copy {
  order: 2;
}

@media (min-width: 981px) {
  .site-header {
    justify-content: flex-start;
    gap: 8px;
  }

  .header-actions {
    flex: 1 1 auto;
    justify-content: space-between;
    gap: 8px;
    direction: ltr;
  }

  .nav {
    flex: 0 1 auto;
    flex-wrap: nowrap;
    justify-content: flex-start;
    gap: 5px;
    min-width: 0;
    margin-left: 0;
    margin-right: auto;
    font-size: 0.92rem;
    white-space: nowrap;
  }

  .nav a {
    padding: 0 9px;
  }

  .language-switch {
    flex: 0 0 auto;
    margin-left: auto;
  }
}

@media (max-width: 980px) {
  .site-header {
    flex-wrap: wrap;
  }

  .header-actions {
    flex: 1 1 100%;
    justify-content: space-between;
  }
}

@media (max-width: 860px) {
  .site-header {
    flex-wrap: nowrap;
  }

  .header-actions {
    flex: 0 1 auto;
    justify-content: flex-end;
    order: 3;
  }

  .language-switch {
    flex: 0 0 auto;
  }
}

@media (max-width: 640px) {
  .language-switch a {
    min-width: 32px;
    min-height: 30px;
    font-size: 0.72rem;
  }
}

@media (max-width: 520px) {
  .site-header {
    flex-wrap: wrap;
    gap: 10px 12px;
    padding: 10px 12px;
  }

  .brand {
    flex: 1 1 calc(100% - 56px);
    min-width: 0;
  }

  .nav-toggle {
    order: 2;
    margin-left: auto;
    z-index: 2;
  }

  html[dir="rtl"] .nav-toggle {
    margin-left: 0;
    margin-right: auto;
  }

  .header-actions {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    justify-content: center;
  }

  .language-switch {
    width: 100%;
    justify-content: center;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .nav {
    top: calc(100% + 8px);
    left: 12px;
    right: 12px;
    z-index: 10;
  }
}

@media (max-width: 380px) {
  .brand-mark {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .brand-logo {
    width: 34px;
    height: 34px;
  }

  .brand-text strong {
    font-size: 0.95rem;
  }

  .brand-text small {
    max-width: 145px;
    font-size: 0.55rem;
    letter-spacing: 0.07em;
  }

  .language-switch a {
    min-width: 30px;
    min-height: 28px;
    font-size: 0.68rem;
  }
}


/* Contacts page */
.contacts-page-main {
  background:
    radial-gradient(circle at 16% 0%, rgba(213, 162, 77, 0.13), transparent 28%),
    linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
}

.contacts-page .contact-card {
  grid-template-columns: minmax(260px, 0.78fr) minmax(320px, 1.22fr);
  align-items: start;
}

.contact-head {
  display: grid;
  align-content: center;
  gap: 14px;
  min-width: 0;
}

.contact-head h1 {
  margin: 0;
}

.contact-methods {
  width: 100%;
  max-width: 720px;
  justify-self: end;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
  gap: 12px;
  align-content: start;
}

.contact-method {
  width: 100%;
  max-width: 354px;
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 72px;
  padding: 12px;
  border: 1px solid rgba(7, 24, 43, 0.12);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.94);
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-method:hover,
.contact-method:focus {
  transform: translateY(-1px);
  border-color: rgba(213, 162, 77, 0.48);
  box-shadow: 0 12px 24px rgba(7, 24, 43, 0.1);
  outline: none;
}

.contact-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 13px;
  color: #fff6db;
  background: linear-gradient(135deg, #fbedd0, #b0a691);
}

.contact-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

html[dir="rtl"] .contact-copy {
  align-items: flex-end;
  text-align: right;
}

.contact-label {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-copy strong {
  max-width: 100%;
  overflow-wrap: anywhere;
  color: var(--navy);
  font-size: 1rem;
  line-height: 1.25;
}

.contact-copy strong[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
  text-align: left;
}

.contact-social .contact-icon {
  background: linear-gradient(135deg, #fbedd0, #b0a691);
}

.contact-official {
  grid-column: 1 / -1;
  display: grid;
  gap: 16px;
  padding-top: 18px;
  border-top: 1px solid rgba(7, 24, 43, 0.1);
}

.contact-official h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(1.15rem, 2.2vw, 1.55rem);
}

.contact-official-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.contact-official-item {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(7, 24, 43, 0.12);
  border-radius: 14px;
  background: rgba(248, 250, 252, 0.94);
}

.contact-official-item dt {
  margin: 0 0 6px;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.contact-official-item dd {
  margin: 0;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

@media (max-width: 980px) {
  .contacts-page .contact-card,
  .contact-methods,
  .contact-official-grid {
    grid-template-columns: 1fr;
  }

  .contact-methods {
    max-width: none;
    justify-self: stretch;
  }

  .contact-method {
    max-width: none;
  }
}

/* Not found page */
.not-found-page {
  display: grid;
  justify-items: start;
  gap: 14px;
  max-width: 760px;
}

.not-found-page h1 {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
}

.not-found-page p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1.05rem;
}

.object-row-no-image {
  grid-template-columns: 1fr;
}

.object-row-no-image .object-copy {
  max-width: 76ch;
}

/* Structured catalogs: news/events and communities */
.catalog-page-main,
.catalog-detail-main {
  background:
    radial-gradient(circle at 16% 0%, rgba(213, 162, 77, 0.12), transparent 28%),
    linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
}

.catalog-heading {
  margin-inline: auto;
  text-align: center;
}

.catalog-heading .eyebrow {
  margin-inline: auto;
}

.catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: clamp(22px, 4vw, 34px);
}

.catalog-card {
  min-width: 0;
  min-height: 100%;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
}

.catalog-media {
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--violet));
}

.catalog-media img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.catalog-copy {
  display: grid;
  gap: 12px;
  padding: 22px;
  flex: 1;
}

.catalog-copy h2 {
  margin: 0;
  font-size: clamp(1rem, 1.6vw, 1.22rem);
}

.catalog-copy h2 a:hover,
.catalog-copy h2 a:focus {
  color: var(--violet);
  outline: none;
}

.catalog-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 1rem;
}

.empty-state {
  margin-top: 24px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  color: var(--muted);
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow);
  text-align: center;
}

.catalog-detail-card {
  display: grid;
  gap: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 42px);
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.detail-back {
  width: fit-content;
  color: var(--muted);
  font-weight: 700;
}

.detail-back:hover,
.detail-back:focus {
  color: var(--navy);
  outline: none;
}

.catalog-detail-card h1 {
  font-size: clamp(1.15rem, 2.6vw, 2rem);
  text-wrap: balance;
}

.catalog-detail-lead {
  max-width: 78ch;
  color: var(--muted);
  font-size: 1.08rem;
}

.catalog-detail-media {
  overflow: hidden;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--navy), var(--violet));
  box-shadow: 0 18px 36px rgba(7, 24, 43, 0.16);
}

.catalog-detail-media img {
  width: 100%;
  max-height: 560px;
  object-fit: cover;
}

.catalog-detail-body {
  display: grid;
  gap: 14px;
  max-width: 82ch;
  color: var(--muted);
  font-size: 1.05rem;
}

.catalog-detail-body h2,
.catalog-detail-body h3 {
  margin-top: 12px;
  color: var(--navy);
}

.catalog-detail-body ul,
.catalog-detail-body ol {
  margin-block: 0;
  padding-inline-start: 1.4em;
}

.footer-brand {
  min-width: 0;
}

.footer-nav,
.footer-contacts {
  display: grid;
  justify-items: start;
  gap: 8px;
}

.footer-nav a,
.footer-contacts a {
  min-width: 0;
  color: rgba(255, 246, 219, 0.86);
  font-weight: 700;
  line-height: 1.25;
  overflow-wrap: anywhere;
  transition: color 0.2s ease;
}

.footer-contacts {
  margin: 0;
  font-style: normal;
}

.footer-contacts a[dir="ltr"] {
  direction: ltr;
  unicode-bidi: isolate;
}

.footer-nav a:hover,
.footer-nav a:focus,
.footer-contacts a:hover,
.footer-contacts a:focus {
  color: #fff6db;
  outline: none;
}

@media (max-width: 980px) {
  .catalog-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .catalog-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.object-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 360px));
  gap: 14px;
  align-items: start;
  max-width: 760px;
}

.object-detail-gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--violet));
  box-shadow: 0 14px 28px rgba(7, 24, 43, 0.14);
  aspect-ratio: 4 / 3;
}

.object-detail-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-photo-trigger {
  position: relative;
  width: 100%;
  height: 100%;
  display: block;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  cursor: pointer;
}

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

.gallery-more-overlay {
  position: absolute;
  inset: 0;
  display: grid;
  place-content: center;
  gap: 4px;
  background: rgba(7, 24, 43, 0.58);
  color: #fff;
  text-align: center;
  font-weight: 800;
}

.gallery-more-overlay span {
  font-size: clamp(2rem, 8vw, 3.2rem);
  line-height: 1;
}

.gallery-more-overlay small {
  font-size: 0.92rem;
  letter-spacing: 0;
}

.object-gallery-more-button {
  grid-column: 1 / -1;
  width: fit-content;
  min-width: 190px;
  justify-self: start;
  margin-top: 8px;
  padding-inline: 22px;
  border: 1px solid var(--navy);
  background: var(--navy);
  color: #fff !important;
}

.object-gallery-more-button:hover,
.object-gallery-more-button:focus {
  background: var(--violet);
  border-color: var(--violet);
  color: #fff !important;
}

@media (max-width: 860px) {
  .object-gallery-more-button {
    width: 100%;
  }
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  grid-template-rows: auto minmax(0, 1fr) auto;
  gap: 12px;
  padding: max(14px, env(safe-area-inset-top)) max(14px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(14px, env(safe-area-inset-left));
  background: rgba(3, 10, 18, 0.94);
  color: #fff;
}

.gallery-lightbox.is-open {
  display: grid;
}

body.gallery-open {
  overflow: hidden;
}

.gallery-lightbox-top {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.gallery-lightbox-counter {
  font-weight: 800;
}

.gallery-lightbox-close,
.gallery-lightbox-nav {
  min-width: 42px;
  min-height: 42px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  font: inherit;
  font-size: 1.35rem;
  line-height: 1;
  cursor: pointer;
}

.gallery-lightbox-close:focus-visible,
.gallery-lightbox-nav:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 3px;
}

.gallery-lightbox-stage {
  min-width: 0;
  min-height: 0;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  overflow: hidden;
}

.gallery-lightbox-figure {
  min-width: 0;
  min-height: 0;
  width: 100%;
  height: 100%;
  max-height: calc(100vh - 118px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  margin: 0;
  display: grid;
  grid-template-rows: minmax(0, 1fr) auto;
  place-items: center;
  gap: 10px;
  overflow: hidden;
}

.gallery-lightbox-image {
  display: block;
  max-width: calc(100vw - 128px - env(safe-area-inset-left) - env(safe-area-inset-right));
  max-height: calc(100vh - 150px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  width: auto;
  height: auto;
  border-radius: 10px;
  object-fit: contain;
}

.gallery-lightbox-caption {
  min-height: 1.3em;
  max-width: min(72ch, calc(100vw - 32px));
  color: rgba(255, 255, 255, 0.78);
  text-align: center;
  overflow-wrap: anywhere;
}

@media (max-width: 640px) {
  .gallery-lightbox-stage {
    grid-template-columns: minmax(0, 1fr);
  }

  .gallery-lightbox-image {
    max-width: calc(100vw - 28px - env(safe-area-inset-left) - env(safe-area-inset-right));
    max-height: calc(100vh - 150px - env(safe-area-inset-top) - env(safe-area-inset-bottom));
  }

  .gallery-lightbox-nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(3, 10, 18, 0.52);
  }

  .gallery-lightbox-prev {
    left: 10px;
  }

  .gallery-lightbox-next {
    right: 10px;
  }
}

.object-detail-gallery-count-1 {
  grid-template-columns: minmax(220px, 420px);
}

@media (max-width: 860px) {
  .object-detail-gallery,
  .object-detail-gallery-count-1 {
    grid-template-columns: minmax(0, 1fr);
    max-width: 520px;
  }
}
/* vertical content detail blocks */
.catalog-detail-main .catalog-detail-lead {
  max-width: none;
}

.catalog-detail-main .object-detail-gallery {
  width: 100%;
}

.catalog-detail-main .catalog-detail-body {
  max-width: 100%;
}


@media (min-width: 861px) {
  .catalog-detail-main .catalog-detail-card {
    grid-template-columns: 1fr;
  }

  .catalog-detail-main .detail-back,
  .catalog-detail-main .eyebrow,
  .catalog-detail-main h1,
  .catalog-detail-main .catalog-detail-lead,
  .catalog-detail-main .object-detail-gallery,
  .catalog-detail-main .catalog-detail-body {
    grid-column: 1 / -1;
  }

  .catalog-detail-main .object-detail-gallery,
  .catalog-detail-main .object-detail-gallery:not(.object-detail-gallery-count-1) {
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    max-width: 920px;
  }

  .catalog-detail-main .object-detail-gallery-count-1 {
    grid-template-columns: minmax(220px, 420px);
  }

  .catalog-detail-main .catalog-detail-body,
  .catalog-detail-main .object-detail-gallery:not(.object-detail-gallery-count-1) + .catalog-detail-body {
    max-width: 100%;
  }
}
/* Force public page text to black outside the header and footer. */
body :where(:not(.site-header, .site-header *, .site-footer, .site-footer *)) {
  color: #000 !important;
}

body .gallery-lightbox,
body .gallery-lightbox * {
  color: #fff !important;
}

.ui-button-primary,
.btn-primary,
.catalog-more-button,
.donate-button,
.scroll-top {
  color: #fff !important;
}

.ui-button-primary *,
.btn-primary *,
.catalog-more-button *,
.donate-button *,
.scroll-top * {
  color: #fff !important;
}

.catalog-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 28px;
}

.catalog-filters a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(7, 24, 43, 0.18);
  border-radius: 8px;
  color: #132033;
  text-decoration: none;
  font-weight: 800;
  background: #fff;
}

.catalog-filters a:hover,
.catalog-filters a.active {
  background: #07182b;
  border-color: #07182b;
  color: #fff;
}

.catalog-filters a:hover,
.catalog-filters a.active {
  color: #fff !important;
}

/* Donate page */
.donate-page-main {
  background: linear-gradient(180deg, #f7fafc 0%, #edf2f7 100%);
}

.donate-page {
  display: grid;
  gap: clamp(22px, 4vw, 34px);
}

.donate-head {
  max-width: 840px;
}

.donate-head h1 {
  margin-top: 12px;
  font-size: clamp(1rem, 2vw, 1.6rem);
}

.donate-head p:not(.eyebrow) {
  margin-top: 12px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.65;
}

.donate-methods {
  display: grid;
  gap: 18px;
}

.donate-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 280px);
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.donate-card-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

.donate-card-copy h2 {
  margin: 0;
  font-size: clamp(1.18rem, 2vw, 1.55rem);
}

.donate-card-copy p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.donate-button {
  width: fit-content;
  margin-top: 4px;
  color: #fff !important;
  text-decoration: none;
}

.donate-details {
  margin-top: 4px;
}

.donate-details summary {
  cursor: pointer;
  color: var(--navy);
  font-weight: 800;
}

.donate-details pre {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
  margin: 10px 0 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #f8fafc;
  color: var(--ink);
  font: 0.95rem/1.55 ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.donate-qr {
  display: grid;
  gap: 10px;
  justify-items: center;
  text-align: center;
  color: var(--muted);
  font-size: 0.92rem;
}

.donate-qr-box {
  width: min(100%, 300px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  padding: 12px;
  border: 1px solid rgba(7, 24, 43, 0.12);
  border-radius: 14px;
  background: #fff;
}

.donate-qr-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

.donate-empty {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  background: #fff;
  color: var(--muted);
}

@media (max-width: 720px) {
  .donate-card {
    grid-template-columns: 1fr;
  }

  .donate-button {
    width: 100%;
  }
}
