/* Absolute Azerbaijan — Modern Property Management Site */

:root {
  --color-navy: #0c1b33;
  --color-navy-light: #152a4a;
  --color-navy-muted: #1e3a5f;
  --color-gold: #c9a962;
  --color-gold-light: #dfc07a;
  --color-gold-dark: #a8893f;
  --color-white: #ffffff;
  --color-off-white: #f7f8fa;
  --color-gray-100: #eef1f5;
  --color-gray-200: #dde3ea;
  --color-gray-400: #8b95a5;
  --color-gray-600: #4a5568;
  --color-gray-800: #2d3748;
  --color-text: #1a2332;
  --color-text-muted: #5a6578;
  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --shadow-sm: 0 1px 3px rgba(12, 27, 51, 0.08);
  --shadow-md: 0 4px 20px rgba(12, 27, 51, 0.1);
  --shadow-lg: 0 12px 40px rgba(12, 27, 51, 0.14);
  --shadow-xl: 0 24px 60px rgba(12, 27, 51, 0.18);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --header-height: 72px;
  --transition: 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --container: 1180px;
  --site-gutter: 1.5rem;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 16px);
  width: 100%;
  max-width: 100%;
  /* clip (not hidden): avoids Chrome device-mode white-gap with fixed header + off-canvas nav */
  overflow-x: clip;
}

body {
  font-family: var(--font-sans);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--color-text);
  background: var(--color-white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
}

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

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

ul {
  list-style: none;
}

.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;
}

.container {
  width: min(calc(100% - 2 * var(--site-gutter)), var(--container));
  max-width: 100%;
  min-width: 0;
  margin-inline: auto;
}

/* ─── Header ─── */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  max-width: 100%;
  z-index: 1000;
  height: auto;
  min-height: var(--header-height);
  background: rgba(12, 27, 51, 0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  transition: background var(--transition), box-shadow var(--transition);
  padding-inline: max(var(--site-gutter), env(safe-area-inset-left, 0px)) max(var(--site-gutter), env(safe-area-inset-right, 0px));
  box-sizing: border-box;
}

.site-header.scrolled {
  background: rgba(12, 27, 51, 0.98);
  box-shadow: var(--shadow-md);
}

.site-header > .header-inner {
  width: 100%;
  max-width: var(--container);
  min-height: var(--header-height);
  height: auto;
  margin-inline: auto;
  box-sizing: border-box;
  padding-block: 0.55rem;
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  column-gap: 0.85rem;
  row-gap: 0.4rem;
  min-width: 0;
}

.logo {
  display: flex;
  flex-direction: column;
  gap: 0;
  flex: 0 1 auto;
  min-width: 0;
  justify-self: start;
}

.logo-text {
  display: block;
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--color-white);
  line-height: 1.15;
}

.logo-line1,
.logo-line2 {
  display: inline;
}

.logo-sub {
  font-size: 0.65rem;
  font-weight: 500;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.nav-desktop {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.3rem 1.15rem;
  min-width: 0;
  max-width: 100%;
}

.nav-desktop > a,
.nav-mega-trigger {
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.82);
  transition: color var(--transition);
  white-space: nowrap;
  line-height: 1.2;
}

.nav-desktop > a:hover,
.nav-mega-trigger:hover,
.nav-mega.is-open .nav-mega-trigger {
  color: var(--color-gold-light);
}

.nav-mega {
  position: static;
}

.nav-mega-trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font-family: inherit;
}

.nav-mega-trigger svg {
  width: 10px;
  height: 10px;
  opacity: 0.7;
  transition: transform var(--transition), opacity var(--transition);
}

.nav-mega.is-open .nav-mega-trigger svg {
  transform: rotate(180deg);
  opacity: 1;
}

.nav-mega-panel {
  position: absolute;
  left: 50%;
  top: calc(100% - 0.15rem);
  transform: translateX(-50%) translateY(6px);
  /* 100% of header — avoid 100vw (classic horizontal overflow in Chrome) */
  width: min(960px, calc(100% - 2 * var(--site-gutter)));
  max-width: calc(100vw - 2 * var(--site-gutter));
  padding: 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1200;
}

.nav-mega.is-open .nav-mega-panel,
.nav-mega:focus-within .nav-mega-panel {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

@media (hover: hover) and (pointer: fine) {
  .nav-mega:hover .nav-mega-panel {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
  }

  .nav-mega:hover .nav-mega-trigger {
    color: var(--color-gold-light);
  }

  .nav-mega:hover .nav-mega-trigger svg {
    transform: rotate(180deg);
    opacity: 1;
  }
}

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

.nav-mega-grid--4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nav-mega-panel--services {
  width: min(1120px, calc(100% - 2 * var(--site-gutter)));
}

.nav-mega-col {
  padding: 0.35rem 1rem 0.15rem;
  min-width: 0;
}

.nav-mega-col + .nav-mega-col {
  border-left: 1px solid var(--color-gray-100);
}

.nav-mega-col-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin: 0 0 0.7rem;
  padding: 0 0.35rem 0.7rem;
  text-align: center;
  border-bottom: none;
  position: relative;
}

.nav-mega-col-label::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 2.25rem;
  height: 1px;
  background: rgba(168, 137, 63, 0.55);
  transform: translateX(-50%);
}

.nav-mega-link {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.7rem 0.55rem;
  border-radius: var(--radius-sm);
  text-decoration: none !important;
  color: inherit;
  text-align: left;
  transition: background var(--transition);
}

.nav-mega-link:hover {
  background: var(--color-off-white);
}

.nav-mega-link-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  min-width: 0;
  flex: 1;
}

.nav-mega-link-title {
  display: block;
  font-size: 0.9rem;
  font-weight: 650;
  color: var(--color-navy);
  line-height: 1.3;
  text-align: left;
}

.nav-mega-link-desc {
  display: block;
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--color-text-muted);
  margin: 0;
  text-align: left;
}

.nav-mega-link-arrow {
  flex: 0 0 auto;
  margin-top: 0.2rem;
  color: var(--color-gold);
  opacity: 0;
  transform: translateX(-3px);
  transition: opacity var(--transition), transform var(--transition);
}

.nav-mega-link:hover .nav-mega-link-arrow {
  opacity: 1;
  transform: translateX(0);
}

.nav-mega-link-arrow svg {
  width: 14px;
  height: 14px;
  display: block;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex: 0 0 auto;
  flex-shrink: 0;
  justify-self: end;
}

.lang-switcher {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  padding: 0.25rem;
}

.lang-switcher a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  padding: 0.4rem 0.55rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, 0.65);
  transition: all var(--transition);
}

.lang-switcher a:hover {
  color: var(--color-white);
}

.lang-switcher a.active {
  background: var(--color-gold);
  color: var(--color-navy);
}

.header-lang {
  display: flex;
}

.mobile-lang {
  display: none;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: inherit;
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-sm);
  border: none;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}

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

.btn-primary:hover {
  background: var(--color-gold-light);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(201, 169, 98, 0.35);
}

.btn-outline {
  background: transparent;
  color: var(--color-white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.btn-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-gold);
}

.btn-navy-outline {
  background: var(--color-white);
  color: var(--color-navy);
  border: 1.5px solid rgba(12, 27, 51, 0.18);
}

.btn-navy-outline:hover {
  border-color: var(--color-gold);
  color: var(--color-navy);
  box-shadow: 0 4px 16px rgba(12, 27, 51, 0.08);
  transform: translateY(-1px);
}

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

.btn-dark:hover {
  background: var(--color-navy-light);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  cursor: pointer;
  padding: 0;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-white);
  border-radius: 2px;
  transition: all var(--transition);
}

.menu-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

.nav-mobile {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: var(--header-height);
  right: 0;
  bottom: 0;
  left: auto;
  width: 100%;
  max-width: 100%;
  background: var(--color-navy);
  padding: 1.25rem max(var(--site-gutter), env(safe-area-inset-right, 0px)) max(1.5rem, env(safe-area-inset-bottom, 0px)) max(var(--site-gutter), env(safe-area-inset-left, 0px));
  overflow-x: clip;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  z-index: 10040; /* above site chat (9990); below interest/consult modals (10050) */
  /* right-anchored slide — does not widen document scrollWidth when closed */
  transform: translateX(100%);
  visibility: hidden;
  pointer-events: none;
  transition: transform 0.28s ease, visibility 0.28s ease;
}

.nav-mobile.open {
  transform: translateX(0);
  visibility: visible;
  pointer-events: auto;
}

.nav-mobile > a,
.nav-mobile-accordion-trigger {
  font-size: 1.125rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile > a:hover,
.nav-mobile-accordion-trigger:hover {
  color: var(--color-gold);
}

.nav-mobile-accordion {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-mobile-accordion-trigger {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: none;
  border: none;
  border-bottom: none;
  padding: 1rem 0;
  cursor: pointer;
  font-family: inherit;
  text-align: left;
}

.nav-mobile-accordion-trigger svg {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  opacity: 0.7;
  transition: transform var(--transition);
}

.nav-mobile-accordion.is-open .nav-mobile-accordion-trigger svg {
  transform: rotate(180deg);
}

.nav-mobile-accordion-panel {
  display: none;
  padding: 0 0 1rem;
}

.nav-mobile-accordion.is-open .nav-mobile-accordion-panel {
  display: block;
}

.nav-mobile-group {
  margin-top: 0.65rem;
}

.nav-mobile-group:first-child {
  margin-top: 0.15rem;
}

.nav-mobile-group-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 0.35rem;
  padding-left: 0.15rem;
}

.nav-mobile-group a {
  display: block;
  font-size: 0.98rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  padding: 0.7rem 0.15rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.nav-mobile-group a:last-child {
  border-bottom: none;
}

.nav-mobile-group a span {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 0.15rem;
  line-height: 1.35;
}

.mobile-nav-footer {
  margin-top: auto;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.mobile-nav-footer .btn-primary {
  width: 100%;
  padding: 1rem;
  margin: 0;
}

.mobile-lang {
  justify-content: center;
  width: 100%;
  padding: 0.35rem;
  gap: 0.35rem;
}

.mobile-lang a {
  flex: 1 1 0;
  min-width: 0;
  padding: 0.55rem 0.5rem;
  font-size: 0.8rem;
}

/* ─── Hero ─── */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 27, 51, 0.92) 0%,
    rgba(12, 27, 51, 0.75) 45%,
    rgba(12, 27, 51, 0.55) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 4rem 0 5rem;
  max-width: 720px;
  /* Flex item under .hero — allow shrink below long badge/button min-content */
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  box-sizing: border-box;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold-light);
  background: rgba(201, 169, 98, 0.12);
  border: 1px solid rgba(201, 169, 98, 0.25);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
  white-space: normal;
  text-wrap: balance;
  line-height: 1.35;
}

.hero-badge::before {
  content: '';
  width: 6px;
  height: 6px;
  flex-shrink: 0;
  background: var(--color-gold);
  border-radius: 50%;
}

.hero h1 {
  font-size: clamp(2rem, 8vw, 3.5rem);
  font-weight: 700;
  line-height: 1.12;
  color: var(--color-white);
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  overflow-wrap: anywhere;
}

.hero h1 em {
  font-style: normal;
  color: var(--color-gold-light);
}

.hero-desc {
  font-size: clamp(1rem, 2vw, 1.2rem);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.7;
  margin-bottom: 2.25rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ─── Stats ─── */
.stats-bar {
  background: var(--color-navy);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding: 2.5rem 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 2rem;
}

.stat-item {
  text-align: center;
  padding: 0 1rem;
  border-right: 1px solid rgba(255, 255, 255, 0.08);
}

.stat-item:last-child {
  border-right: none;
}

.stat-value {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1.2;
  margin-bottom: 0.35rem;
}

.stat-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

/* ─── Sections ─── */
.section {
  padding: 5.5rem 0;
}

.section-alt {
  background: var(--color-off-white);
}

.section-dark {
  background: var(--color-navy);
  color: var(--color-white);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 3.5rem;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
  margin-bottom: 0.75rem;
}

.section-dark .section-label {
  color: var(--color-gold-light);
}

.section-header h2 {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  color: var(--color-navy);
}

.section-dark .section-header h2 {
  color: var(--color-white);
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.section-dark .section-header p {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── About ─── */
.about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: clamp(2rem, 4vw, 4rem);
  align-items: center;
}

.about-visual {
  position: relative;
  min-width: 0;
}

.about-visual-stage {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius-lg);
  aspect-ratio: 4 / 5;
  min-height: 28rem;
  background:
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(30, 58, 95, 0.5), transparent 72%),
    #071322;
  box-shadow: var(--shadow-xl);
}

.about-visual-art {
  position: absolute;
  left: 50%;
  top: 40%;
  width: 122%;
  height: 122%;
  max-width: none;
  object-fit: cover;
  object-position: center 40%;
  transform: translate(-50%, -50%);
  opacity: 1;
  mix-blend-mode: screen;
  filter: contrast(1.12) saturate(0.9) brightness(1.05);
}

.about-visual-grid {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0.4;
  pointer-events: none;
  z-index: 1;
}

.about-visual-veil {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(180deg, rgba(7, 19, 34, 0.42) 0%, rgba(7, 19, 34, 0.05) 28%, rgba(7, 19, 34, 0.12) 48%, rgba(7, 19, 34, 0.62) 72%, rgba(7, 19, 34, 0.94) 100%),
    linear-gradient(90deg, rgba(7, 19, 34, 0.28) 0%, transparent 30%);
  pointer-events: none;
}

/* Keep legacy photo class harmless if present */
.about-visual-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.about-visual-frame {
  position: absolute;
  inset: 0.85rem;
  border: 1px solid rgba(201, 169, 98, 0.35);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
  z-index: 2;
}

.about-visual-frame::before,
.about-visual-frame::after {
  content: "";
  position: absolute;
  width: 1.35rem;
  height: 1.35rem;
  border-color: var(--color-gold);
  border-style: solid;
}

.about-visual-frame::before {
  top: -1px;
  left: -1px;
  border-width: 2px 0 0 2px;
}

.about-visual-frame::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 2px 2px 0;
}

.about-visual-top {
  position: absolute;
  top: 1.35rem;
  left: 1.35rem;
  right: 1.35rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.about-visual-mark {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.92);
}

.about-visual-markets {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold-light);
}

.about-visual-base {
  position: absolute;
  left: 1.35rem;
  right: 1.35rem;
  bottom: 1.35rem;
  z-index: 3;
  display: grid;
  gap: 1rem;
}

.about-visual-year {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.about-visual-year-num {
  font-size: clamp(2.75rem, 6vw, 3.5rem);
  font-weight: 750;
  line-height: 0.9;
  letter-spacing: -0.04em;
  color: #fff;
}

.about-visual-year-label {
  padding-bottom: 0.35rem;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}

.about-visual-copy {
  max-width: 22rem;
}

.about-visual-copy strong {
  display: block;
  margin-bottom: 0.25rem;
  font-size: 1rem;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.01em;
}

.about-visual-copy span {
  display: block;
  font-size: 0.86rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
}

.about-visual-rail {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.about-visual-fact {
  padding: 0.7rem 0 0;
  border-top: 1.5px solid rgba(201, 169, 98, 0.55);
}

.about-visual-fact strong {
  display: block;
  margin-bottom: 0.2rem;
  font-size: 0.95rem;
  font-weight: 750;
  letter-spacing: -0.02em;
  color: var(--color-navy);
}

.about-visual-fact span {
  display: block;
  font-size: 0.72rem;
  line-height: 1.35;
  color: var(--color-text-muted);
}

/* Legacy class kept for safety if referenced elsewhere */
.about-image {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-xl);
}

.about-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-image-badge {
  position: absolute;
  bottom: 1.5rem;
  left: 1.5rem;
  background: var(--color-white);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
}

.about-image-badge strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-navy);
}

.about-image-badge span {
  font-size: 0.8rem;
  color: var(--color-text-muted);
}

.about-content {
  position: relative;
  min-width: 0;
  padding: 0.35rem 0 0.35rem 1.35rem;
}

.about-content::before {
  content: "";
  position: absolute;
  top: 0.4rem;
  bottom: 0.4rem;
  left: 0;
  width: 1px;
  background: linear-gradient(
    180deg,
    rgba(201, 169, 98, 0.55),
    rgba(201, 169, 98, 0.18) 55%,
    transparent
  );
}

.about-content::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0.45;
  background-image:
    linear-gradient(rgba(12, 27, 51, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 27, 51, 0.035) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
  -webkit-mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.55), transparent 88%);
}

.about-content-meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 0.85rem;
}

.about-content-meta .section-label {
  margin-bottom: 0;
}

.about-content-code {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.about-content h2,
.about-content > p,
.about-content .dashboard-highlight,
.about-content .about-features {
  position: relative;
  z-index: 1;
}

.about-content h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 1.1rem;
  color: var(--color-navy);
  letter-spacing: -0.02em;
}

.about-content > p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 1.02rem;
}

.about-content .dashboard-highlight {
  margin-top: 1.35rem;
  background: transparent;
  border: 0;
  border-top: 1px solid rgba(201, 169, 98, 0.45);
  border-bottom: 1px solid rgba(12, 27, 51, 0.08);
  border-radius: 0;
  padding: 1rem 0 1rem 0.15rem;
  box-shadow: none;
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem 1.25rem;
  margin-top: 1.75rem;
  padding-top: 0.25rem;
}

.about-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(12, 27, 51, 0.08);
}

.about-feature-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: transparent;
  border: 1px solid rgba(201, 169, 98, 0.45);
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  position: relative;
}

.about-feature-icon::before,
.about-feature-icon::after {
  content: "";
  position: absolute;
  width: 6px;
  height: 6px;
  border-color: var(--color-gold);
  border-style: solid;
}

.about-feature-icon::before {
  top: -1px;
  left: -1px;
  border-width: 1.5px 0 0 1.5px;
}

.about-feature-icon::after {
  right: -1px;
  bottom: -1px;
  border-width: 0 1.5px 1.5px 0;
}

.about-feature strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.15rem;
}

.about-feature span {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

@media (max-width: 900px) {
  .about-content {
    padding-left: 1rem;
  }
}

/* ─── Services ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Four property-service cards stay one row on desktop; tablet/mobile keep shared breakpoints */
#property-services .services-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

#property-services .service-card {
  padding: 1.5rem 1.15rem;
  min-width: 0;
}

#property-services .service-card h3 {
  font-size: 1rem;
  line-height: 1.35;
}

#property-services .service-card p {
  font-size: 0.84rem;
  line-height: 1.55;
}

.service-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  padding: 2rem 1.75rem;
  transition: all var(--transition);
}

.service-card:hover {
  border-color: transparent;
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.service-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-muted) 100%);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
  margin-bottom: 1.25rem;
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
}

.service-card p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

/* ─── Process ─── */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  counter-reset: step;
}

.process-step {
  position: relative;
  text-align: center;
  padding: 2rem 1.25rem;
}

.process-step::before {
  counter-increment: step;
  content: counter(step, decimal-leading-zero);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 1.25rem;
  background: var(--color-gold);
  color: var(--color-navy);
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 50%;
}

.process-step h3 {
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.5rem;
}

.process-step p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

/* ─── Portal ─── */
.portal-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr);
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: stretch;
}

.portal-copy {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.portal-copy h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.portal-copy > p {
  color: var(--color-text-muted);
  margin-bottom: 1.25rem;
  font-size: 1.02rem;
}

.portal-copy-link {
  color: var(--color-navy);
  font-weight: 600;
  border-bottom: 1px solid var(--color-gold);
}

.portal-features {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  min-width: 0;
  margin-top: 0.25rem;
}

.portal-feature {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.1rem 1.15rem;
  background: var(--color-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--color-gray-200);
  transition: all var(--transition);
  min-width: 0;
}

.portal-feature:hover {
  box-shadow: var(--shadow-md);
  border-color: transparent;
}

.portal-check {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  background: rgba(201, 169, 98, 0.15);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-dark);
  margin-top: 0.1rem;
}

.portal-feature h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.portal-feature p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.5;
}

.portal-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  min-width: 0;
  max-width: 100%;
  min-height: 100%;
  padding: 1.35rem;
  border-radius: var(--radius-lg);
  background:
    radial-gradient(ellipse 80% 60% at 80% 0%, rgba(201, 169, 98, 0.16), transparent 55%),
    linear-gradient(160deg, #132a45 0%, var(--color-navy) 48%, #081526 100%);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
}

.portal-visual::before {
  content: "";
  position: absolute;
  inset: 0.75rem;
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: calc(var(--radius-lg) - 4px);
  pointer-events: none;
}

.portal-mock {
  position: relative;
  z-index: 1;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
  min-width: 0;
  max-width: 100%;
  padding: 1.25rem 1.2rem 1.15rem;
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-md);
  backdrop-filter: blur(6px);
}

.portal-mock-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-bottom: 0.9rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  min-width: 0;
}

.portal-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.portal-dot:first-child { background: #ff5f57; }
.portal-dot:nth-child(2) { background: #febc2e; }
.portal-dot:nth-child(3) { background: #28c840; }

.portal-mock-title {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  margin-left: 0.5rem;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.portal-property {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 0.85rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.portal-property strong {
  display: block;
  font-size: 0.88rem;
  font-weight: 650;
  color: #fff;
  letter-spacing: -0.01em;
}

.portal-property span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.5);
}

.portal-property-tag {
  flex-shrink: 0;
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-navy);
  background: var(--color-gold);
}

.portal-stat-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.65rem;
  min-width: 0;
}

.portal-stat-box {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-sm);
  padding: 0.9rem 0.4rem;
  text-align: center;
  min-width: 0;
}

.portal-stat-box strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-gold);
  letter-spacing: -0.02em;
}

.portal-stat-box span {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.65rem;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  overflow-wrap: anywhere;
  line-height: 1.25;
}

.portal-panel {
  display: grid;
  gap: 0.65rem;
}

.portal-panel-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.5);
}

.portal-panel-head em {
  font-style: normal;
  font-weight: 700;
  color: var(--color-gold);
}

.portal-bars {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  align-items: end;
  gap: 0.35rem;
  height: 4.5rem;
  padding: 0.35rem 0.15rem 0;
}

.portal-bars span {
  display: block;
  border-radius: 4px 4px 2px 2px;
  background: linear-gradient(180deg, rgba(223, 192, 122, 0.95), rgba(201, 169, 98, 0.35));
  min-height: 18%;
}

.portal-bars span:nth-child(1) { height: 46%; }
.portal-bars span:nth-child(2) { height: 62%; }
.portal-bars span:nth-child(3) { height: 38%; }
.portal-bars span:nth-child(4) { height: 84%; }
.portal-bars span:nth-child(5) { height: 70%; }
.portal-bars span:nth-child(6) { height: 92%; }
.portal-bars span:nth-child(7) { height: 58%; }

.portal-list {
  display: grid;
  gap: 0.55rem;
}

.portal-list-row {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem;
  align-items: center;
  padding: 0.7rem 0.75rem;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.portal-list-row strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 650;
  color: rgba(255, 255, 255, 0.92);
}

.portal-list-row span {
  display: block;
  margin-top: 0.12rem;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}

.portal-list-row b {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-gold-light);
}

.portal-currencies {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.portal-currencies span {
  padding: 0.28rem 0.55rem;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
}

.portal-currencies span.is-active {
  color: var(--color-navy);
  background: var(--color-gold);
  border-color: transparent;
}

.portal-bar {
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 999px;
  overflow: hidden;
}

.portal-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--color-gold-dark), var(--color-gold-light));
  border-radius: 999px;
}

.dashboard-illustrative-note {
  margin: auto 0 0;
  padding-top: 0.25rem;
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.38);
}

.dashboard-illustrative-note {
  margin: 1rem 0 0;
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.5);
  text-align: center;
}

/* ─── Markets ─── */
.markets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.market-card {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3/2;
}

.market-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.market-card:hover img {
  transform: scale(1.05);
}

.market-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(12, 27, 51, 0.9) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
}

.market-card h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.25rem;
}

.market-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
}

.market-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--color-gold);
  color: var(--color-navy);
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
}

/* ─── Benefits ─── */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.benefit-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-md);
  padding: 1.75rem 1.25rem;
  text-align: center;
  transition: all var(--transition);
}

.benefit-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(201, 169, 98, 0.3);
  transform: translateY(-3px);
}

.benefit-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 0.85rem;
  background: rgba(201, 169, 98, 0.12);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold-light);
}

.benefit-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.5;
}

/* ─── CTA Banner ─── */
.cta-banner {
  background: linear-gradient(135deg, var(--color-gold-dark) 0%, var(--color-gold) 50%, var(--color-gold-light) 100%);
  padding: 4rem 0;
  text-align: center;
}

.cta-banner h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.75rem;
}

.cta-banner p {
  font-size: 1.05rem;
  color: rgba(12, 27, 51, 0.75);
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-inline: auto;
}

/* ─── FAQ ─── */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--color-gray-200);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.35rem 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 1rem;
  font-weight: 600;
  color: var(--color-navy);
  transition: color var(--transition);
}

.faq-question:hover {
  color: var(--color-gold-dark);
}

.faq-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
  border: 1.5px solid var(--color-gray-200);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--color-gray-400);
}

.faq-item.active .faq-icon {
  background: var(--color-navy);
  border-color: var(--color-navy);
  color: var(--color-white);
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding-bottom: 1.35rem;
}

.faq-answer p {
  font-size: 0.95rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.faq-answer a {
  color: var(--color-gold-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* ─── Contact ─── */
#contact {
  scroll-margin-top: calc(var(--header-height, 72px) + 1rem);
}

.contact-grid {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.contact-info {
  flex: 1;
  min-width: 0;
}

.contact-info .section-label {
  margin-bottom: 0.35rem;
}

.contact-info h2 {
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}

.contact-info > p {
  color: var(--color-text-muted);
  margin-bottom: 1rem;
  font-size: 0.95rem;
  line-height: 1.55;
}

.contact-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin: 0 0 1.15rem;
}

.contact-actions-primary {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.contact-actions-primary .btn {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  white-space: normal;
  text-align: center;
  line-height: 1.25;
}

.contact-actions-label {
  margin: 0.15rem 0 0;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gray-400);
}

.contact-solutions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.55rem;
}

.contact-solution {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-height: 3.25rem;
  padding: 0.7rem 0.75rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  color: var(--color-navy);
  text-decoration: none;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
}

.contact-solution:hover {
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: var(--shadow-sm);
  transform: translateY(-1px);
}

.contact-solution-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: var(--radius-sm);
  background: rgba(12, 27, 51, 0.06);
  color: var(--color-navy);
}

.contact-solution:hover .contact-solution-icon {
  background: rgba(201, 169, 98, 0.16);
  color: var(--color-gold-dark);
}

.contact-solution-icon svg {
  width: 1.1rem;
  height: 1.1rem;
}

.contact-solution-copy {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  min-width: 0;
}

.contact-solution-copy strong {
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

.contact-solution-copy span {
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-text-muted);
  line-height: 1.25;
}

.contact-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.55rem;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.55rem;
  padding: 0.7rem 0.75rem;
  background: var(--color-off-white);
  border-radius: var(--radius-md);
  min-width: 0;
}

.contact-card:last-child {
  grid-column: 1 / -1;
}

.contact-card-icon {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  background: var(--color-navy);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gold);
}

.contact-card h4 {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-gray-400);
  margin-bottom: 0.2rem;
}

.contact-card a,
.contact-card p {
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--color-navy);
  line-height: 1.4;
}

.contact-card a:hover {
  color: var(--color-gold-dark);
}

.contact-line {
  margin: 0;
}

.contact-line + .contact-line {
  margin-top: 0.2rem;
}

.contact-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 500;
  color: var(--color-gray-400);
  margin-top: 0.1rem;
}

.contact-email {
  word-break: break-word;
}

.contact-form-panel {
  flex: 1.05;
  position: relative;
  min-width: 0;
  align-self: flex-start;
  height: fit-content;
}

.contact-form-card {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.2rem 1.15rem 1.2rem;
  background: #fff;
  border: 1px solid var(--color-gray-200, #e6e8ec);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  height: auto;
}

.contact-form-eyebrow {
  margin: 0;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark, #8a6d2f);
}

.contact-form-title {
  margin: 0;
  font-size: 1.35rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-navy);
  line-height: 1.2;
}

.contact-form-lead {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.9rem;
  line-height: 1.5;
}

.contact-form {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.contact-form-field {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.contact-form-field label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-navy);
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  width: 100%;
  min-height: 2.75rem;
  padding: 0.7rem 0.85rem;
  border: 1px solid var(--color-gray-200, #e6e8ec);
  border-radius: 10px;
  background: #fbfaf8;
  color: var(--color-navy);
  font: inherit;
  font-size: 0.95rem;
  transition: border-color 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.contact-form-field textarea {
  min-height: 7.5rem;
  resize: vertical;
  line-height: 1.45;
}

.contact-form-field select {
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #5c6675 50%),
    linear-gradient(135deg, #5c6675 50%, transparent 50%);
  background-position:
    calc(100% - 16px) calc(50% - 2px),
    calc(100% - 11px) calc(50% - 2px);
  background-size: 5px 5px, 5px 5px;
  background-repeat: no-repeat;
  padding-right: 2rem;
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  outline: none;
  border-color: rgba(201, 169, 98, 0.75);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(201, 169, 98, 0.18);
}

.contact-form-hp {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.contact-form-error {
  margin: 0;
  padding: 0.65rem 0.75rem;
  border-radius: 8px;
  background: rgba(185, 48, 48, 0.08);
  color: #9b1c1c;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
}

.contact-form-limit {
  margin: 0.35rem 0 0;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  color: #9b1c1c;
}

.contact-form-limit[hidden] {
  display: none !important;
}

.contact-form-submit {
  margin-top: 0.15rem;
  min-height: 2.85rem;
  width: 100%;
  border: 0;
  border-radius: 999px;
  background: var(--color-gold, #c9a962);
  color: var(--color-navy);
  font: inherit;
  font-size: 0.95rem;
  font-weight: 750;
  cursor: pointer;
  transition: background 0.15s ease, transform 0.15s ease;
}

.contact-form-submit:hover {
  background: var(--color-gold-light, #dfc07a);
}

.contact-form-submit:disabled {
  opacity: 0.7;
  cursor: wait;
}

.contact-form-status {
  display: grid;
  gap: 0.4rem;
  align-content: start;
  padding: 0.15rem 0;
}

.contact-form[hidden],
.contact-form-status[hidden],
.contact-form-error[hidden] {
  display: none !important;
}

.contact-form-status h3 {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 750;
  color: var(--color-navy);
}

.contact-form-status p {
  margin: 0;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  line-height: 1.55;
}

.contact-form-status--thanks h3 {
  color: #1f7a4d;
}

.contact-form-secondary {
  margin-top: 0.85rem;
  min-height: 2.5rem;
  padding: 0.55rem 1.1rem;
  border: 1.5px solid rgba(12, 27, 51, 0.16);
  border-radius: 999px;
  background: #fff;
  color: var(--color-navy);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 650;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease;
}

.contact-form-secondary:hover,
.contact-form-secondary:focus-visible {
  border-color: var(--color-gold, #c9a962);
  background: var(--color-off-white, #f7f5f1);
  outline: none;
}

.contact-form-intro[hidden] {
  display: none !important;
}

.contact-map {
  flex: 1.1;
  position: relative;
  min-width: 0;
  min-height: 22rem;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.contact-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.dashboard-highlight {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.65rem 1rem;
  background: rgba(201, 169, 98, 0.1);
  border: 1px solid rgba(201, 169, 98, 0.22);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  color: var(--color-navy);
}

.dashboard-highlight svg {
  flex-shrink: 0;
  color: var(--color-gold-dark);
}

/* ─── Footer ─── */
.site-footer {
  background: var(--color-navy);
  color: rgba(255, 255, 255, 0.65);
  padding: 3.5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.7fr 1.35fr 1fr 1fr 1fr;
  gap: 2.25rem 2rem;
  margin-bottom: 3rem;
}

.footer-brand .logo-text {
  font-size: 1rem;
  margin-bottom: 0.75rem;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  max-width: 320px;
}

.footer-entity {
  margin-top: 0.85rem;
  font-size: 0.78rem !important;
  line-height: 1.5 !important;
  color: rgba(255, 255, 255, 0.55);
  max-width: 340px !important;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem;
  margin-top: 0.65rem;
  font-size: 0.82rem !important;
  max-width: none !important;
}

.footer-socials a {
  color: rgba(255, 255, 255, 0.72);
  transition: color var(--transition);
}

.footer-socials a:hover {
  color: var(--color-gold);
}

.footer-socials span {
  color: rgba(255, 255, 255, 0.35);
}

.hero-desc a {
  color: inherit;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.45);
  text-underline-offset: 0.18em;
}

.hero-desc a:hover {
  text-decoration-color: var(--color-gold);
}

.about-content a {
  color: var(--color-navy);
  text-decoration: underline;
  text-decoration-color: rgba(201, 169, 98, 0.55);
  text-underline-offset: 0.15em;
}

.about-content a:hover {
  color: var(--color-gold-dark, #a8893f);
}

.footer-col h4 {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold);
  margin-bottom: 1rem;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.footer-col a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.65);
  transition: color var(--transition);
}

.footer-col a:hover {
  color: var(--color-white);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.82rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom a {
  color: rgba(255, 255, 255, 0.5);
}

.footer-bottom a:hover {
  color: var(--color-gold);
}

.footer-credit {
  margin: 0.85rem 0 0;
  text-align: center;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.38);
}

.footer-credit a {
  color: rgba(255, 255, 255, 0.52);
  text-decoration: none;
  transition: color var(--transition);
}

.footer-credit a:hover {
  color: var(--color-gold);
}

/* ─── Mester24 callout ─── */
.mester-callout {
  display: flex;
  align-items: center;
  gap: 2rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  margin-top: 3rem;
}

.mester-callout-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 0.5rem;
}

.mester-callout-content p {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.6;
}

.mester-callout a {
  flex-shrink: 0;
  font-weight: 600;
  color: var(--color-gold-dark);
  font-size: 0.9rem;
}

.mester-callout a:hover {
  text-decoration: underline;
}

.services-overview {
  max-width: none;
  width: 100%;
  margin-bottom: 3rem;
}

.services-overview p {
  max-width: none;
}

.solutions-section {
  background: var(--color-off-white);
}

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

.solution-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.35rem 1.25rem 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: inherit;
  transition: border-color var(--transition), box-shadow var(--transition), transform var(--transition);
  min-height: 100%;
}

.solution-card:hover {
  border-color: rgba(201, 169, 98, 0.55);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.solution-card-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: var(--radius-sm);
  background: rgba(12, 27, 51, 0.06);
  color: var(--color-navy);
}

.solution-card-icon svg {
  width: 1.25rem;
  height: 1.25rem;
}

.solution-card-group {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--color-gold-dark);
}

.solution-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--color-navy);
  letter-spacing: -0.02em;
  margin: 0;
  line-height: 1.25;
}

.solution-card p {
  margin: 0;
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--color-text-muted);
}

.solution-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.25rem;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--color-navy);
}

.solution-card:hover .solution-card-cta {
  color: var(--color-gold-dark);
}

.solution-card-cta svg {
  width: 14px;
  height: 14px;
  transition: transform var(--transition);
}

.solution-card:hover .solution-card-cta svg {
  transform: translateX(3px);
}

.footer-solutions {
  display: grid;
  gap: 1rem;
}

.footer-solutions-group strong {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
  margin-bottom: 0.45rem;
}

.footer-solutions-group ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-solutions-group li + li {
  margin-top: 0.35rem;
}

.services-block + .services-block {
  margin-top: 3.5rem;
  padding-top: 3.5rem;
  border-top: 1px solid var(--color-gray-200);
}

.services-block-header {
  max-width: 720px;
  margin-bottom: 2rem;
}

.services-block-header h3 {
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.65rem;
  letter-spacing: -0.02em;
}

.services-block-header p {
  font-size: 1rem;
  color: var(--color-text-muted);
  line-height: 1.7;
}

.mester-callout--featured {
  margin-top: 2.5rem;
  background: linear-gradient(135deg, var(--color-navy) 0%, var(--color-navy-light) 100%);
  border: none;
}

.mester-callout--featured .mester-callout-content h3 {
  color: var(--color-white);
}

.mester-callout--featured .mester-callout-content p {
  color: rgba(255, 255, 255, 0.78);
}

.mester-callout--featured a {
  color: var(--color-gold-light);
}

/* ─── Responsive ─── */
@media (min-width: 1280px) {
  :root {
    --site-gutter: 2rem;
  }
}

@media (min-width: 1025px) and (max-width: 1280px) {
  .nav-desktop {
    gap: 0.25rem 0.65rem;
  }

  .nav-desktop > a,
  .nav-mega-trigger {
    font-size: 0.78rem;
  }

  .header-cta {
    padding: 0.65rem 1.05rem;
    font-size: 0.8rem;
  }

  .header-actions {
    gap: 0.5rem;
  }
}

@media (max-width: 1024px) {
  :root {
    --header-height: 64px;
  }

  .site-header > .header-inner {
    max-width: 100%;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    gap: 0.625rem;
  }

  .nav-desktop,
  .header-cta,
  .header-lang {
    display: none !important;
  }

  .menu-toggle {
    display: flex;
  }

  .mobile-lang {
    display: flex;
  }

  .logo {
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 0.35rem;
  }

  .header-actions {
    gap: 0.5rem;
  }

  .logo-text {
    display: block;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: clamp(0.62rem, 0.28rem + 2.8vw, 0.95rem);
    letter-spacing: clamp(0.02em, 0.2vw, 0.05em);
    line-height: 1.15;
  }

  .logo-line1,
  .logo-line2 {
    display: inline;
  }

  .logo-sub {
    font-size: clamp(0.5rem, 0.28rem + 1.1vw, 0.58rem);
    margin-top: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .header-lang a {
    min-width: 1.85rem;
    padding: 0.32rem 0.42rem;
    font-size: 0.68rem;
  }

  .lang-switcher {
    padding: 0.2rem;
  }

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

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

  .nav-mega-grid {
    grid-template-columns: 1fr;
  }

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

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

  .portal-grid,
  .about-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .portal-visual {
    max-width: 36rem;
    width: 100%;
    margin-inline: auto;
  }

  .portal-list-row b {
    justify-self: start;
  }

  .about-visual-stage {
    aspect-ratio: 4 / 5;
    min-height: 24rem;
  }

  .about-visual-art {
    width: 132%;
    height: 132%;
    top: 36%;
    object-position: center 34%;
    filter: contrast(1.16) saturate(0.95) brightness(1.08);
  }

  .about-visual-grid {
    opacity: 0.32;
  }

  .about-visual-veil {
    background:
      linear-gradient(180deg, rgba(7, 19, 34, 0.38) 0%, rgba(7, 19, 34, 0.04) 26%, rgba(7, 19, 34, 0.1) 46%, rgba(7, 19, 34, 0.68) 74%, rgba(7, 19, 34, 0.95) 100%),
      linear-gradient(90deg, rgba(7, 19, 34, 0.22) 0%, transparent 34%);
  }

  .about-visual-top,
  .about-visual-base {
    left: 1.1rem;
    right: 1.1rem;
  }

  .about-visual-top {
    top: 1.1rem;
  }

  .about-visual-base {
    bottom: 1.1rem;
    gap: 0.75rem;
  }

  .about-visual-year-num {
    font-size: clamp(2.35rem, 10vw, 3rem);
  }

  .about-visual-copy strong {
    font-size: 0.95rem;
  }

  .about-visual-copy span {
    font-size: 0.8rem;
  }

  .about-visual-frame {
    inset: 0.7rem;
  }

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

@media (max-width: 768px) {
  :root {
    --site-gutter: 1.25rem;
  }

  .contact-grid {
    flex-direction: column;
    gap: 2rem;
  }

  .contact-actions-primary {
    grid-template-columns: 1fr;
  }

  .contact-solutions {
    gap: 0.5rem;
  }

  .contact-solution {
    min-height: 3rem;
    padding: 0.65rem 0.7rem;
  }

  .contact-map {
    flex: none;
    aspect-ratio: 4 / 3;
  }

  .contact-form-panel {
    flex: none;
    width: 100%;
  }

  .contact-form-card {
    padding: 1.1rem 1rem 1.15rem;
  }

  .contact-form-row {
    grid-template-columns: 1fr;
  }

  .contact-cards {
    grid-template-columns: 1fr;
  }

  .contact-card:last-child {
    grid-column: auto;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .stat-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 1.5rem;
  }

  .stat-item:nth-child(2n) {
    border-right: none;
  }

  .stat-item:nth-last-child(-n+2) {
    border-bottom: none;
    padding-bottom: 0;
  }

  .services-grid,
  .solutions-grid,
  .markets-grid {
    grid-template-columns: 1fr;
  }

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

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

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

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 3rem 0 4rem;
  }

  .section {
    padding: 4rem 0;
  }

  .mester-callout {
    flex-direction: column;
    text-align: center;
    padding: 1.75rem;
  }

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

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  :root {
    --site-gutter: 1.125rem;
  }

  .contact-solution-copy span {
    display: none;
  }

  .header-actions {
    gap: 0.375rem;
  }

  .header-lang a {
    min-width: 1.6rem;
    padding: 0.28rem 0.32rem;
    font-size: 0.62rem;
  }

  .menu-toggle {
    width: 38px;
    height: 38px;
  }

  .logo-text {
    font-size: clamp(0.58rem, 0.26rem + 2.6vw, 0.82rem);
    letter-spacing: clamp(0.015em, 0.15vw, 0.04em);
  }

  .logo-sub {
    font-size: clamp(0.48rem, 0.24rem + 1vw, 0.52rem);
  }

  .hero-actions {
    flex-direction: column;
  }

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

  .portal-visual {
    padding: 1.1rem;
    min-height: 0;
  }

  .portal-visual::before {
    inset: 0.55rem;
  }

  .portal-mock {
    padding: 1rem 0.95rem;
    gap: 0.9rem;
  }

  .portal-property {
    align-items: flex-start;
  }

  .portal-property strong {
    font-size: 0.82rem;
  }

  .portal-property-tag {
    margin-top: 0.1rem;
  }

  .portal-stat-row {
    gap: 0.4rem;
  }

  .portal-stat-box {
    padding: 0.7rem 0.25rem;
  }

  .portal-stat-box strong {
    font-size: 1rem;
  }

  .portal-stat-box span {
    font-size: 0.58rem;
    letter-spacing: 0.02em;
  }

  .portal-bars {
    height: 3.75rem;
  }

  .portal-list-row {
    padding: 0.65rem 0.7rem;
  }

  .portal-list-row strong {
    font-size: 0.78rem;
  }

  .portal-currencies span {
    font-size: 0.64rem;
  }
}
