:root {
  --bg: #faf9f7;
  --bg-alt: #f0eeea;
  --text: #1c1f24;
  --text-secondary: #4a4f57;
  --text-muted: #7a8089;
  --navy: #1a2744;
  --photo-bg: #8a9bab;
  --border: #d5d2cc;
  --serif: 'PT Serif', Georgia, serif;
  --sans: 'PT Sans', system-ui, sans-serif;
  --container: 1040px;
  --header-h: 60px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: var(--header-h);
}

body {
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.6;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

ul, ol { list-style: none; }

.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 20px;
}

.section {
  padding: 80px 0;
}

.section__title {
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  margin-bottom: 36px;
  line-height: 1.25;
}

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(250, 249, 247, 0.92);
  border-bottom: 1px solid var(--border);
}

.header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 16px;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  white-space: nowrap;
  flex-shrink: 0;
}

.logo__name {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.logo__brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding-left: 12px;
  border-left: 1px solid var(--border);
}

.logo__brand-name {
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--navy);
}

.logo__mark {
  width: 22px;
  height: 24px;
  flex: 0 0 22px;
  background: url('images/nexafit-mark.png') center / contain no-repeat;
}

.nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav__link {
  font-size: 15px;
  color: var(--text-secondary);
}

.nav__link:hover {
  color: var(--text);
}

.nav__link--cta {
  color: var(--navy);
  border-bottom: 1px solid var(--navy);
  padding-bottom: 1px;
}

.header__socials {
  display: flex;
  gap: 8px;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  color: var(--text-secondary);
  border: 1px solid var(--border);
  border-radius: 50%;
  transition: color 0.15s, border-color 0.15s;
}

.social-icon:hover {
  color: var(--navy);
  border-color: var(--navy);
}

.burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 32px;
  height: 32px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}

.burger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--text);
}

.burger[aria-expanded="true"] span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.burger[aria-expanded="true"] span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--sans);
  font-size: 15px;
  font-weight: 700;
  padding: 13px 26px;
  border: none;
  cursor: pointer;
  background: var(--navy);
  color: #fff;
}

.btn:hover {
  background: #243358;
}

.btn--full {
  width: 100%;
}

.btn--secondary {
  background: transparent;
  color: var(--navy);
  border: 1px solid var(--navy);
}

.btn--secondary:hover {
  background: var(--navy);
  color: #fff;
}

/* Hero */
.hero {
  padding: calc(var(--header-h) + 56px) 0 72px;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: center;
}

.hero__label {
  font-size: 14px;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.hero__title {
  font-family: var(--serif);
  font-size: clamp(30px, 4.5vw, 44px);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 20px;
}

.hero__subtitle {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 500px;
  margin-bottom: 32px;
  line-height: 1.65;
}

.hero__photo {
  margin: 0;
  background: var(--photo-bg);
  line-height: 0;
}

.hero__photo img {
  width: 100%;
  object-fit: cover;
  object-position: center top;
}

/* About */
.about {
  border-top: 1px solid var(--border);
}

.about__body {
  display: grid;
  grid-template-columns: 1fr 280px;
  gap: 56px;
  align-items: start;
}

.about__text p {
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.about__text p:last-child {
  margin-bottom: 0;
}

.about__stats {
  border-left: 2px solid var(--navy);
  padding-left: 24px;
}

.stat {
  margin-bottom: 24px;
}

.stat:last-child {
  margin-bottom: 0;
}

.stat dt {
  font-family: var(--serif);
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.1;
}

.stat dd {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Methodology */
.methodology {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.methodology__intro {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 620px;
  margin-bottom: 40px;
  margin-top: -12px;
}

.axis-list {
  counter-reset: axis;
  margin-bottom: 48px;
}

.axis-list__item {
  counter-increment: axis;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 16px 32px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.axis-list__item:first-child {
  border-top: 1px solid var(--border);
}

.axis-list__item strong {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
}

.axis-list__item strong::before {
  content: counter(axis) '. ';
  color: var(--text-muted);
  font-family: var(--sans);
  font-weight: 400;
  font-size: 14px;
}

.axis-list__item span {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

.digiscore-block {
  max-width: 640px;
}

.digiscore-block__title {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 12px;
}

.digiscore-block p {
  color: var(--text-secondary);
  margin-bottom: 12px;
  font-size: 16px;
}

.digiscore-block__note {
  font-size: 14px !important;
  color: var(--text-muted) !important;
}

/* Audience */
.audience__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.audience-card {
  padding-top: 24px;
  border-top: 2px solid var(--navy);
}

.audience-card__tag {
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.audience-card__title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin: 10px 0 12px;
}

.audience-card__text {
  color: var(--text-secondary);
  font-size: 16px;
  margin-bottom: 16px;
}

.audience-card__list li {
  font-size: 15px;
  color: var(--text-secondary);
  padding-left: 14px;
  position: relative;
  margin-bottom: 6px;
}

.audience-card__list li::before {
  content: '·';
  position: absolute;
  left: 0;
  color: var(--navy);
}

/* Etazhi */
.etazhi {
  border-top: 1px solid var(--border);
}

.etazhi__lead {
  font-size: 17px;
  color: var(--text-secondary);
  max-width: 640px;
  margin-top: -12px;
  margin-bottom: 36px;
  line-height: 1.65;
}

.etazhi__list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.etazhi__item h3 {
  font-family: var(--serif);
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 8px;
}

.etazhi__item p {
  font-size: 15px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Contact */
.contact {
  background: var(--bg-alt);
  border-top: 1px solid var(--border);
}

.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
  align-items: start;
}

.contact__info p {
  color: var(--text-secondary);
  margin-bottom: 28px;
}

.contact__socials {
  display: flex;
  gap: 12px;
}

.social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  color: var(--navy);
  border: 1px solid var(--border);
  background: var(--bg);
  transition: background 0.15s, border-color 0.15s;
}

.social-btn:hover {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.contact__actions {
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 32px;
}

.contact__actions-title {
  font-family: var(--serif);
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact__actions-text {
  color: var(--text-secondary);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 24px;
}

.contact__action-list {
  display: grid;
  gap: 10px;
}

/* Footer */
.footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}

.footer__inner {
  display: flex;
  justify-content: space-between;
  font-size: 14px;
  color: var(--text-muted);
}

/* Responsive */
@media (max-width: 860px) {
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .hero__photo {
    max-width: 300px;
  }

  .about__body {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-left: none;
    padding-left: 0;
    gap: 20px;
  }

  .stat {
    margin-bottom: 0;
    padding-left: 16px;
    border-left: 2px solid var(--navy);
  }

  .axis-list__item {
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .audience__grid,
  .etazhi__list,
  .contact__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .section {
    padding: 56px 0;
  }

  .header__socials {
    display: none;
  }

  .logo {
    gap: 8px;
  }

  .logo__name {
    font-size: 16px;
  }

  .logo__brand {
    gap: 4px;
    padding-left: 8px;
  }

  .logo__brand-name {
    font-size: 14px;
  }

  .nav {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    padding: 12px 20px;
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.2s, opacity 0.2s;
  }

  .nav--open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav__link {
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
  }

  .nav__link:last-child {
    border-bottom: none;
  }

  .burger {
    display: flex;
  }

  .hero {
    padding-top: calc(var(--header-h) + 36px);
  }

  .hero__photo {
    max-width: 240px;
  }

  .about__stats {
    grid-template-columns: 1fr;
  }

  .contact__actions {
    padding: 24px 20px;
  }

  .footer__inner {
    flex-direction: column;
    gap: 4px;
    text-align: center;
  }
}
