:root {
  --orange: #e37222;
  --orange-muted: #f5a868;
  --dark: #1a1a18;
  --dark-card: #242422;
  --background: #f8f8f6;
  --foreground: #1a1a18;
  --muted: #e4e3df;
  --muted-foreground: #72706a;
  --border: rgba(26, 26, 24, 0.1);
  --card: #ffffff;
  --secondary: #f0efec;
  --font: "Noto Sans Display", sans-serif;
}

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

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: var(--font);
  background: var(--background);
  color: var(--foreground);
}

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

button,
a {
  font-family: inherit;
}

.container {
  max-width: 80rem;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.eyebrow {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 0.75rem;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: var(--dark);
  min-height: 90vh;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background: url("/upload/multiplicators_landing_imgs/cjq5sfasf7q1its92nlr1cf6wf31vcd9.JPG")
    center / cover no-repeat;
  opacity: 0.28;
}

.hero__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(26, 26, 24, 0.6) 0%, transparent 40%, rgba(26, 26, 24, 0.9) 100%);
}

.hero__inner {
  position: relative;
  z-index: 1;
  max-width: 64rem;
  margin: 0 auto;
  padding: 8rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 90vh;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: 999px;
  padding: 0.375rem 1rem;
  margin-bottom: 2rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.75);
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  width: fit-content;
}

.hero__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%,
  100% {
    opacity: 1;
  }
  50% {
    opacity: 0.45;
  }
}

.hero h1 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.05;
  margin: 0 0 2rem;
  max-width: 820px;
  text-transform: uppercase;
}

.hero p {
  color: rgba(255, 255, 255, 0.65);
  font-weight: 300;
  font-size: 1.1rem;
  line-height: 1.7;
  max-width: 720px;
  margin: 0;
}

/* Guarantees */
.guarantees {
  padding: 5rem 0;
}

.guarantees__grid {
  display: grid;
  gap: 3.5rem;
  align-items: start;
}

@media (min-width: 768px) {
  .guarantees__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.guarantees__logo-wrap {
  display: flex;
  justify-content: center;
}

.guarantees__logo-card {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
  padding: 3rem;
  border-radius: 1rem;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 32px rgba(26, 26, 24, 0.07);
}

.guarantees__logo-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.guarantees h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.35;
  margin: 0 0 2rem;
}

.benefits {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.benefit {
  display: flex;
  gap: 1rem;
}

.benefit__icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.benefit__title {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
  margin: 0 0 0.375rem;
}

.benefit__detail {
  color: var(--muted-foreground);
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.6;
  margin: 0;
}

/* Partners */
.partners {
  padding: 6rem 0;
}

.partners__intro {
  margin-bottom: 3.5rem;
}

.partners__intro h2 {
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.15;
  margin: 0 0 1rem;
}

.partners__intro p {
  color: var(--muted-foreground);
  font-weight: 300;
  max-width: 32rem;
  margin: 0;
  line-height: 1.6;
}

.partners__layout {
  display: grid;
  gap: 1.5rem;
  align-items: stretch;
}

@media (min-width: 1024px) {
  .partners__layout {
    grid-template-columns: 410px minmax(0, 1fr);
  }
}

.partners__list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.partner-card {
  text-align: left;
  border-radius: 0.75rem;
  border: 1px solid var(--border);
  background: #fff;
  display: flex;
  align-items: center;
  gap: 0.875rem;
  padding: 0.875rem 1rem;
  cursor: pointer;
  box-shadow: 0 1px 4px rgba(26, 26, 24, 0.05);
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s;
  width: 100%;
}

.partner-card:hover,
.partner-card.is-active {
  border-color: var(--orange);
  box-shadow: 0 4px 20px rgba(227, 114, 34, 0.12);
}

.partner-card.is-active {
  background: rgba(227, 114, 34, 0.04);
}

.avatar {
  width: 72px;
  height: 72px;
  border-radius: 0.5rem;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--muted);
  box-shadow: 0 0 0 1px var(--border);
  transition: box-shadow 0.2s;
  background-color: #fff;
}

.avatar img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.partner-card:hover .avatar,
.partner-card.is-active .avatar {
  box-shadow: 0 0 0 2px var(--orange);
}

.partner-card__body {
  flex: 1;
  min-width: 0;
}

.partner-card__name {
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.35;
}

.partner-card__city {
  font-size: 1rem;
  color: var(--muted-foreground);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.partner-card__city img {
  width: 14px;
  height: 14px;
  opacity: 0.65;
}

.partner-card__arrow {
  color: #c0bdb8;
  flex-shrink: 0;
}

.partner-card.is-active .partner-card__arrow {
  color: var(--orange);
}

.partners__map-card {
  border-radius: 1rem;
  overflow: hidden;
  background: var(--dark-card);
  border: 1px solid rgba(255, 255, 255, 0.07);
  min-height: 464px;
  display: flex;
  flex-direction: column;
}

.partners__map {
  flex: 1;
  min-height: 464px;
  width: 100%;
}

.partners__map-caption {
  text-align: center;
  padding: 0 1rem 0.75rem;
  margin: 0;
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

/* Modal */
.modal[hidden] {
  display: none;
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

@media (min-width: 1024px) {
  .modal {
    inset: 137px 0 0;
  }

}

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(4px);
}

.modal__dialog {
  position: relative;
  background: var(--card);
  border-radius: 1rem;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
  width: 100%;
  max-width: 52rem;
  max-height: 85vh;
  max-height: 85dvh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  animation: modal-in 0.22s ease;
}

@media (min-width: 1024px) {
  .modal .modal__dialog {
    max-height: calc(100vh - 169px);
    max-height: calc(100dvh - 169px);
  }
}

.modal__body::-webkit-scrollbar {
  width: 10px;
}

.modal__body::-webkit-scrollbar-track {
  background: #e8e7e3;
}

.modal__body::-webkit-scrollbar-thumb {
  background: var(--orange);
  border: 2px solid #e8e7e3;
  border-radius: 999px;
}

.modal__body::-webkit-scrollbar-thumb:hover {
  background: #c95f17;
}

@keyframes modal-in {
  from {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.modal__header {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  padding: 1.75rem 1.75rem 1.5rem;
  background: var(--dark);
  border-bottom: 3px solid var(--orange);
}

.modal__close {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: rgba(255, 255, 255, 0.6);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal__close:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
}

.modal__identity {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.modal__identity .avatar {
  width: 48px;
  height: 48px;
  border-radius: 0.75rem;
  background: var(--muted);
}

.map-pin {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #fff;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  transform: translate(-50%, -50%);
  background: #242422;
  transition: width 0.2s, height 0.2s, box-shadow 0.2s, border-color 0.2s;
}

.map-pin img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.map-pin.is-active {
  width: 56px;
  height: 56px;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(227, 114, 34, 0.35), 0 4px 14px rgba(0, 0, 0, 0.35);
}

.modal__header h3 {
  color: #fff;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}

.modal__city {
  display: flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.55);
  font-size: 1rem;
  margin-top: 2px;
}

.modal__city img {
  width: 15px;
  height: 15px;
  filter: invert(1);
  opacity: 0.7;
}

.modal__body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
  min-height: 0;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: var(--orange) #e8e7e3;
}

.modal__label {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted-foreground);
  margin-bottom: 0.75rem;
}

.modal__body p {
  margin: 0;
  font-size: 1rem;
  font-weight: 300;
  line-height: 1.65;
}

.modal__body p + p {
  margin-top: 0.75rem;
}

.modal__contacts {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
}

.modal__contacts a {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1rem;
  color: var(--foreground);
  text-decoration: none;
}

.modal__contacts .contact-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: var(--foreground);
  font-size: 1rem;
  line-height: 1.5;
}

.modal__contacts .contact-note {
  margin-top: 0.25rem;
  font-size: 1rem;
  font-weight: 700;
  color: var(--muted-foreground);
}

.modal__contacts a:hover {
  color: var(--orange);
}

.modal__contacts .icon-wrap {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--secondary);
  color: var(--orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.modal__contacts a[href^="tel:"] .icon-wrap,
.modal__contacts a[href^="mailto:"] .icon-wrap,
.modal__contacts a[href^="http"] .icon-wrap,
.modal__contacts .contact-row .icon-wrap {
  font-size: 0;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 18px 18px;
}

.modal__contacts a[href^="tel:"] .icon-wrap {
  background-image: url("/upload/multiplicators_landing_imgs/phone.svg");
}

.modal__contacts .contact-row .icon-wrap {
  background-image: url("/upload/multiplicators_landing_imgs/location-on.svg");
}

.modal__contacts a[href^="mailto:"] .icon-wrap {
  background-image: url("/upload/multiplicators_landing_imgs/email.svg");
}

.modal__contacts a[href^="http"] .icon-wrap {
  background-image: url("/upload/multiplicators_landing_imgs/globe.svg");
}

.modal__contacts a[href^="https://t.me/"] .icon-wrap,
.modal__contacts a[href*="instagram.com"] .icon-wrap {
  background-image: url("/upload/multiplicators_landing_imgs/north-east.svg");
}

.modal__varieties {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.variety {
  display: flex;
  align-items: center;
  gap: 6px;
  background: var(--secondary);
  border: 1px solid var(--border);
  padding: 0.375rem 0.75rem;
  border-radius: 0.5rem;
  font-size: 1rem;
}

.variety svg {
  color: var(--orange);
}

body.modal-open {
  overflow: hidden;
}

.reveal {
  animation: fade-up 0.65s ease both;
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}
