:root {
  color-scheme: light;
  --ink: #2e3846;
  --body: #3e4650;
  --muted: #6f7782;
  --line: #e2e5e9;
  --paper: #ffffff;
  --soft: #f6f7f8;
  --blue: #435a78;
  --blue-dark: #2f415a;
  --accent: #2b6faa;
  --max-width: 1320px;
  --content-width: 1180px;
  --serif: "Playfair Display", Georgia, "Times New Roman", serif;
  --sans: Arial, Helvetica, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--sans);
  color: var(--body);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
}

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

.site-header {
  position: relative;
  z-index: 5;
  background: #fff;
  box-shadow: 0 2px 18px rgba(46, 56, 70, 0.08);
}

.header-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 20px 0 20px;
  border-bottom: 1px solid var(--line);
}

.logo {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo img {
  width: 210px;
  height: auto;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.icon-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  text-decoration: none;
}

.icon-link svg,
.footer-icons svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.header-phone {
  color: var(--blue);
  font-family: var(--serif);
  font-size: 16px;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 54px;
  padding: 0 32px;
  border: 1px solid transparent;
  border-radius: 3px;
  font-family: var(--serif);
  font-size: 15px;
  letter-spacing: 0.02em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.button.call,
.button.outline {
  border-color: var(--ink);
  color: var(--ink);
  background: #fff;
}

.button.primary {
  border-color: var(--accent);
  color: #fff;
  background: var(--accent);
}

.button.ghost {
  border-color: rgba(255, 255, 255, 0.84);
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.button.telegram {
  border-color: #229ed9;
  color: #fff;
  background: #229ed9;
}

.button.max {
  border-color: #111;
  color: #fff;
  background: #111;
}

.button:hover,
.icon-link:hover {
  opacity: 0.86;
}

.nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  min-height: 56px;
}

.nav-row a {
  color: #36383c;
  font-family: var(--serif);
  font-size: 14px;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

.nav-row a:hover {
  color: var(--accent);
}

.hero {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  color: #fff;
  background: #1f2730;
  border-bottom: 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(90deg, rgba(20, 24, 30, 0.80) 0%, rgba(20, 24, 30, 0.60) 48%, rgba(20, 24, 30, 0.20) 100%),
    url("assets/analytics-hero-hilton.jpg");
  background-size: cover;
  background-position: center 42%;
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 78px 0 88px;
}

.eyebrow {
  margin: 0 0 18px;
  color: var(--accent);
  font-family: var(--sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: rgba(255, 255, 255, 0.80);
}

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

h1 {
  max-width: 920px;
  margin-bottom: 26px;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 34px;
  font-weight: 700;
  line-height: 1.16;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  color: var(--ink);
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.22;
}

.lead {
  max-width: 760px;
  margin-bottom: 34px;
  color: rgba(255, 255, 255, 0.90);
  font-size: 18px;
  line-height: 1.55;
}

.hero-actions,
.subscribe-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

main {
  width: min(var(--content-width), calc(100% - 64px));
  margin: 0 auto;
}

section {
  padding: 68px 0;
  border-bottom: 1px solid var(--line);
}

.intro-band {
  display: grid;
  grid-template-columns: minmax(280px, 0.88fr) minmax(340px, 1.12fr);
  gap: 76px;
  align-items: start;
}

.text-stack {
  display: grid;
  gap: 18px;
}

.intro-band p,
.copy-block p,
.section-head p,
.subscribe p,
.principle-grid p,
.report-copy p,
.map-gallery figcaption,
.metrics p {
  color: var(--muted);
  font-size: 16px;
  line-height: 1.62;
}

.metrics {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--line);
  background: #fff;
}

.metrics article {
  min-height: 184px;
  padding: 30px 26px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.metrics article:last-child {
  border-right: 0;
}

.metrics span {
  display: block;
  margin-bottom: 20px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.metrics strong {
  display: block;
  margin-bottom: 12px;
  color: var(--blue);
  font-family: var(--serif);
  font-size: 34px;
  line-height: 1;
}

.section-head {
  max-width: 860px;
  margin-bottom: 38px;
}

.report-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.report-card {
  display: grid;
  grid-template-columns: 0.78fr 1fr;
  gap: 28px;
  min-height: 430px;
  padding: 30px;
  border: 1px solid var(--line);
  background: var(--soft);
}

.report-cover {
  display: block;
  align-self: start;
  text-decoration: none;
  background: #fff;
  box-shadow: 0 18px 34px rgba(46, 56, 70, 0.10);
}

.report-cover img {
  width: 100%;
  aspect-ratio: 0.707 / 1;
  object-fit: cover;
  object-position: top center;
}

.report-copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.report-copy p:not(.eyebrow) {
  margin-bottom: 24px;
}

.report-copy .button {
  margin-top: auto;
}

.report-grid {
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: 58px;
  align-items: center;
}

figure {
  margin: 0;
}

.report-grid figure,
.map-gallery figure {
  border: 1px solid var(--line);
  background: #fff;
}

.report-grid figure img {
  width: 100%;
}

.wide-figure {
  padding-bottom: 94px;
}

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

.map-gallery figure {
  min-width: 0;
}

.map-gallery .map-featured {
  grid-column: 1 / -1;
}

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

.map-gallery .map-featured img {
  aspect-ratio: 21 / 10;
}

.map-gallery figcaption {
  min-height: 98px;
  padding: 18px;
  border-top: 1px solid var(--line);
  background: var(--soft);
}

.principle-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1px solid var(--line);
}

.principle-grid article {
  min-height: 250px;
  padding: 30px;
  border-right: 1px solid var(--line);
  background: #fff;
}

.principle-grid article:last-child {
  border-right: 0;
}

.subscribe {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 52px;
  align-items: center;
  border-bottom: 0;
}

.subscribe > div:first-child {
  max-width: 760px;
}

.site-footer {
  margin-top: 32px;
  color: rgba(255, 255, 255, 0.86);
  background: var(--blue);
  border-radius: 0 0 28px 28px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.9fr 1.05fr 1fr;
  gap: 68px;
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 54px 0 44px;
}

.footer-logo {
  display: inline-flex;
  margin-bottom: 38px;
}

.footer-logo img {
  width: 168px;
}

.footer-icons {
  display: flex;
  gap: 14px;
  margin-bottom: 38px;
}

.footer-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  color: var(--blue);
  background: #fff;
  text-decoration: none;
}

.footer-brand p {
  max-width: 320px;
  margin: 0;
  font-family: var(--serif);
  font-size: 15px;
  line-height: 1.45;
}

.footer-col {
  display: grid;
  align-content: start;
  gap: 16px;
}

.footer-col h3 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 17px;
  text-transform: uppercase;
}

.footer-col a {
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--serif);
  font-size: 17px;
  line-height: 1.2;
  text-decoration: none;
}

.footer-col a:hover {
  color: #fff;
}

.footer-legal {
  width: min(var(--max-width), calc(100% - 64px));
  margin: 0 auto;
  padding: 0 0 26px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 13px;
  line-height: 1.4;
  text-align: center;
}

@media (max-width: 1180px) {
  .header-main {
    align-items: flex-start;
  }

  .header-actions {
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .nav-row {
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 2px;
  }

  .report-card {
    grid-template-columns: 1fr;
  }

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

  .metrics article:nth-child(2),
  .principle-grid article:nth-child(2) {
    border-right: 0;
  }

  .metrics article:nth-child(-n + 2),
  .principle-grid article:nth-child(-n + 2) {
    border-bottom: 1px solid var(--line);
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .header-main {
    width: min(100% - 32px, var(--max-width));
    flex-direction: column;
  }

  .header-actions {
    justify-content: flex-start;
  }

  .nav-row {
    width: min(100% - 32px, var(--max-width));
  }

  .hero-content,
  main {
    width: min(100% - 32px, var(--content-width));
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 86px 0 98px;
  }

  h1 {
    font-size: 40px;
  }

  h2 {
    font-size: 30px;
  }

  .intro-band,
  .report-grid,
  .report-cards,
  .subscribe,
  .map-gallery {
    grid-template-columns: 1fr;
  }

  .map-gallery .map-featured {
    grid-column: auto;
  }

  .map-gallery .map-featured img,
  .map-gallery img {
    aspect-ratio: 4 / 3;
  }
}

@media (max-width: 640px) {
  .logo img {
    width: 176px;
  }

  .header-actions {
    gap: 10px;
  }

  .icon-link {
    width: 38px;
    height: 38px;
    font-size: 16px;
  }

  .header-phone {
    font-size: 16px;
  }

  .button {
    min-height: 48px;
    padding: 0 20px;
  }

  h1 {
    font-size: 34px;
  }

  h2 {
    font-size: 28px;
  }

  .lead {
    font-size: 16px;
  }

  section {
    padding: 56px 0;
  }

  .metrics,
  .principle-grid,
  .footer-inner {
    grid-template-columns: 1fr;
  }

  .metrics article,
  .principle-grid article {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .metrics article:last-child,
  .principle-grid article:last-child {
    border-bottom: 0;
  }

  .report-card {
    padding: 22px;
  }

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

  .site-footer {
    border-radius: 0;
  }

  .footer-inner,
  .footer-legal {
    width: min(100% - 32px, var(--max-width));
  }
}
