/* MAYAG — landing (static) */
:root {
  --red: #e30613;
  --red-dark: #b80510;
  --black: #0a0a0a;
  --white: #ffffff;
  --bg: #f6f6f6;
  --bg-alt: #ffffff;
  --text: #141414;
  --muted: #5c5c5c;
  --line: rgba(10, 10, 10, 0.1);
  --shadow: 0 12px 40px rgba(10, 10, 10, 0.08);
  --radius: 18px;
  --radius-sm: 12px;
  --content: 1080px;
  --narrow: 680px;
  --header-h: 72px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "Manrope", system-ui, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.05rem;
  line-height: 1.6;
  color: var(--text);
  background-color: var(--bg);
  background-image:
    radial-gradient(rgba(10, 10, 10, 0.028) 0.7px, transparent 0.8px),
    radial-gradient(rgba(227, 6, 19, 0.018) 0.6px, transparent 0.7px);
  background-size: 18px 18px, 28px 28px;
  background-position: 0 0, 9px 14px;
  overflow-x: hidden;
}

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

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

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.container {
  width: min(100% - 2rem, var(--content));
  margin-inline: auto;
}

.container--narrow {
  width: min(100% - 2rem, var(--narrow));
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(246, 246, 246, 0.88);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  box-shadow: inset 0 -2px 0 var(--red);
}

.site-header__inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand__logo {
  height: 52px;
  width: auto;
  object-fit: contain;
  flex-shrink: 0;
  border-radius: 8px;
}

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

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0.15rem 0.15rem;
  flex: 1 1 auto;
  min-width: 0;
}

.site-nav a {
  position: relative;
  padding: 0.4rem 0.55rem;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  border-radius: 8px;
}

.site-nav a:hover {
  color: var(--black);
}

.site-nav a.is-active {
  color: var(--red);
}

.site-nav a.is-active::after {
  content: "";
  position: absolute;
  left: 0.55rem;
  right: 0.55rem;
  bottom: 0.1rem;
  height: 2px;
  background: var(--red);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.header-phone {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--black);
  white-space: nowrap;
}

.header-phone:hover {
  color: var(--red);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-height: 48px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  text-align: center;
  cursor: pointer;
  transition: transform 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

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

.btn:active {
  transform: translateY(0);
}

.btn--primary {
  background: var(--red);
  color: var(--white);
}

.btn--primary:hover {
  background: var(--red-dark);
}

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

.btn--dark:hover {
  background: #222;
}

.btn--ghost {
  background: transparent;
  color: var(--black);
  border-color: var(--black);
}

.btn--ghost:hover {
  background: var(--black);
  color: var(--white);
}

.btn--light {
  background: var(--white);
  color: var(--black);
}

.btn--light:hover {
  background: var(--red);
  color: var(--white);
}

.btn--lg {
  min-height: 56px;
  padding: 1rem 1.75rem;
  font-size: 1rem;
}

.btn--block {
  width: 100%;
}

/* Hero */
.hero {
  padding: 2.5rem 0 3.5rem;
}

.hero__panel {
  background: var(--bg-alt);
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) + 6px);
  box-shadow: var(--shadow);
  padding: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  overflow: hidden;
}

.hero__logo {
  width: min(720px, 100%);
  height: auto;
  margin: 0 auto 1.5rem;
  border-radius: 16px;
}

.hero__lead,
.hero__sub {
  margin: 0 auto 1rem;
  max-width: 38rem;
  color: var(--text);
}

.hero__sub {
  color: var(--muted);
  margin-bottom: 1.5rem;
}

.hero__cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.hero__note {
  margin: 0;
  font-size: 0.95rem;
  color: var(--muted);
}

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

.section--alt {
  background: var(--bg-alt);
  border-block: 1px solid var(--line);
}

.section__head {
  max-width: 40rem;
  margin: 0 auto 2rem;
  text-align: center;
}

.section__title {
  margin: 0 0 0.85rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.section__subtitle {
  margin: 0;
  color: var(--muted);
}

.audience-nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.75rem;
}

.audience-nav__item {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 1.1rem 1rem;
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: 0 6px 18px rgba(10, 10, 10, 0.04);
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.audience-nav__item:hover {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(10, 10, 10, 0.07);
}

.audience-nav__label {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.98rem;
}

.audience-nav__more {
  font-size: 0.88rem;
  color: var(--red);
  font-weight: 600;
}

/* Inner pages */
.page-top {
  padding: 1.1rem 0 0.25rem;
}

.page-back {
  display: inline-block;
  margin-bottom: 0.85rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--muted);
}

.page-back:hover {
  color: var(--red);
}

.page-audience-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.55rem;
  margin-bottom: 0.5rem;
}

.page-audience-nav a {
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--muted);
  background: var(--bg-alt);
}

.page-audience-nav a:hover {
  border-color: var(--red);
  color: var(--text);
}

.page-audience-nav a.is-active {
  border-color: var(--red);
  color: var(--red);
  background: rgba(227, 6, 19, 0.06);
}

/* Feature blocks */
.feature-block {
  padding: 2.75rem 0;
}

.feature-block + .feature-block {
  border-top: 1px solid var(--line);
}

.feature-block__head {
  margin-bottom: 1.5rem;
  max-width: 40rem;
}

.feature-block__title {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 3.8vw, 2.25rem);
  font-weight: 800;
  line-height: 1.2;
  color: var(--red);
}

.feature-block__subtitle {
  margin: 0;
  color: var(--muted);
}

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

.feature-card {
  position: relative;
  background: var(--bg-alt);
  border: 1px solid rgba(10, 10, 10, 0.08);
  border-radius: var(--radius-sm);
  padding: 1.15rem 1.2rem;
  box-shadow: 0 8px 22px rgba(10, 10, 10, 0.045);
}

.feature-card--soon h2,
.feature-card--soon h3 {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.2rem 0.4rem;
  padding-right: 0;
  color: #e30613;
  font-size: clamp(1.18rem, 2.6vw, 1.42rem);
}

.feature-card--soon .feature-card__badge,
.feature-card--soon .feature-card__star {
  color: #e30613;
}

.feature-card__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  margin-top: 0.12rem;
  transform: translateY(-0.28em);
  font-family: var(--font-display);
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: lowercase;
  color: #e30613;
  white-space: nowrap;
  line-height: 1;
}

.feature-card__star {
  font-size: 0.55em;
  line-height: 1;
  margin-left: 0.12em;
  position: relative;
  top: -0.45em;
  color: #e30613;
}

.feature-card h2,
.feature-card h3 {
  margin: 0 0 0.45rem;
  font-family: var(--font-display);
  font-size: 1.02rem;
  font-weight: 700;
  line-height: 1.35;
}

.feature-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.98rem;
}

.feature-card p + p {
  margin-top: 0.55rem;
}

.feature-callout {
  margin-top: 1.25rem;
  padding: 1.25rem 1.3rem;
  border-radius: var(--radius-sm);
  background: var(--black);
  color: var(--white);
}

.feature-callout__title {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 0.2rem 0.45rem;
  margin: 0 0 0.9rem;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--red);
}

.feature-callout .feature-grid {
  gap: 0.75rem;
}

.feature-callout .feature-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  box-shadow: none;
}

.feature-callout .feature-card h2,
.feature-callout .feature-card h3 {
  color: var(--white);
}

.feature-callout .feature-card p {
  color: rgba(255, 255, 255, 0.78);
}

/* CTA */
.cta {
  padding: 3rem 0;
}

.cta__panel {
  background: var(--black);
  color: var(--white);
  border-radius: calc(var(--radius) + 6px);
  padding: clamp(2rem, 5vw, 3.25rem);
  text-align: center;
  border: 1px solid rgba(227, 6, 19, 0.55);
  box-shadow:
    0 0 0 1px rgba(227, 6, 19, 0.12),
    0 16px 40px rgba(10, 10, 10, 0.22);
}

.cta__slogan {
  display: inline-block;
  margin: 0 0 0.95rem;
  padding-bottom: 0.4rem;
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--red);
  text-transform: uppercase;
  font-size: clamp(0.85rem, 2.2vw, 1.05rem);
  border-bottom: 2px solid var(--red);
}

.cta__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.55rem, 3.5vw, 2.2rem);
  font-weight: 800;
}

.cta__text {
  margin: 0 auto 1.5rem;
  max-width: 32rem;
  color: rgba(255, 255, 255, 0.78);
}

/* Contacts */
.contacts {
  padding: 3rem 0 2rem;
  text-align: center;
}

.contacts__title {
  margin: 0 0 0.75rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
}

.contacts__phone {
  display: inline-block;
  margin: 0.5rem 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 4vw, 2rem);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.contacts__phone:hover {
  color: var(--red);
}

.contacts__actions {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

.site-footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 0 2.25rem;
  text-align: center;
}

.site-footer__brand {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-weight: 800;
  letter-spacing: 0.16em;
}

.site-footer__slogan {
  margin: 0 0 0.75rem;
  color: var(--red);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.site-footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem 1rem;
  margin: 0 0 0.9rem;
}

.site-footer__nav a {
  font-size: 0.9rem;
  color: var(--muted);
  font-weight: 600;
}

.site-footer__nav a:hover {
  color: var(--red);
}

.site-footer__domain {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.site-footer__domain:hover {
  color: var(--red);
}

/* Motion — subtle */
@media (prefers-reduced-motion: no-preference) {
  .reveal {
    opacity: 0;
    transform: translateY(12px);
    transition: opacity 0.55s ease, transform 0.55s ease;
  }

  .reveal.is-visible {
    opacity: 1;
    transform: none;
  }
}

/* Tablet */
@media (max-width: 980px) {
  :root {
    --header-h: auto;
  }

  .site-header {
    height: auto;
  }

  .site-header__inner {
    flex-wrap: wrap;
    padding: 0.55rem 0 0.65rem;
    row-gap: 0.45rem;
  }

  .site-nav {
    order: 3;
    flex: 1 1 100%;
    justify-content: flex-start;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 0.1rem;
  }

  .site-nav::-webkit-scrollbar {
    display: none;
  }

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

/* Mobile */
@media (max-width: 640px) {
  .container {
    width: min(100% - 1.25rem, var(--content));
  }

  .brand__logo {
    height: 44px;
  }

  .header-phone {
    display: none;
  }

  .site-nav a {
    font-size: 0.8rem;
    padding: 0.35rem 0.45rem;
  }

  .btn {
    min-height: 46px;
    padding: 0.75rem 1.1rem;
    font-size: 0.84rem;
  }

  .header-actions .btn {
    padding-inline: 0.95rem;
  }

  .hero {
    padding-top: 1.25rem;
  }

  .hero__panel {
    padding: 1.1rem 1rem 1.4rem;
  }

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

  .section,
  .feature-block,
  .cta,
  .contacts {
    padding-block: 2.25rem;
  }

  .btn--lg {
    width: 100%;
  }

  .contacts__actions .btn {
    width: 100%;
  }
}

@media (max-width: 380px) {
  .brand__logo {
    height: 40px;
  }
}
