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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  background: #f8f9fa;
  color: #2d3436;
}

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

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

/* i18n */

.mk-i18n {
  display: none;
}

html[data-lang="uk"] .mk-i18n[data-lang="uk"],
html[data-lang="ru"] .mk-i18n[data-lang="ru"],
html[data-lang="en"] .mk-i18n[data-lang="en"] {
  display: inline;
}

.mk-i18n[data-lang] {
  white-space: normal;
}

/* Block-level i18n for headings */
.mk-hero-text h1 .mk-i18n,
.mk-section-header h2 .mk-i18n,
.mk-card h3 .mk-i18n,
.mk-contact-note h3 .mk-i18n {
  display: none;
}

html[data-lang="uk"] .mk-hero-text h1 .mk-i18n[data-lang="uk"],
html[data-lang="ru"] .mk-hero-text h1 .mk-i18n[data-lang="ru"],
html[data-lang="en"] .mk-hero-text h1 .mk-i18n[data-lang="en"],
html[data-lang="uk"] .mk-section-header h2 .mk-i18n[data-lang="uk"],
html[data-lang="ru"] .mk-section-header h2 .mk-i18n[data-lang="ru"],
html[data-lang="en"] .mk-section-header h2 .mk-i18n[data-lang="en"],
html[data-lang="uk"] .mk-card h3 .mk-i18n[data-lang="uk"],
html[data-lang="ru"] .mk-card h3 .mk-i18n[data-lang="ru"],
html[data-lang="en"] .mk-card h3 .mk-i18n[data-lang="en"],
html[data-lang="uk"] .mk-contact-note h3 .mk-i18n[data-lang="uk"],
html[data-lang="ru"] .mk-contact-note h3 .mk-i18n[data-lang="ru"],
html[data-lang="en"] .mk-contact-note h3 .mk-i18n[data-lang="en"] {
  display: block;
}

/* Layout helpers */

.mk-container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Header */

.mk-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  backdrop-filter: blur(14px);
}

.mk-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 20px;
}

.mk-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mk-logo-icon {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f8f9fa;
}

.mk-logo-icon svg {
  width: 18px;
  height: 18px;
  color: #d4af37;
}

.mk-logo-text {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.mk-logo-text span:last-child {
  color: #d4af37;
}

.mk-nav {
  display: flex;
  gap: 18px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  color: #4b5563;
}

.mk-header-actions {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.mk-lang {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(148, 163, 184, 0.6);
  border-radius: 999px;
  background: #ffffff;
  overflow: hidden;
}

.mk-lang-btn {
  appearance: none;
  border: none;
  background: transparent;
  padding: 7px 10px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #4b5563;
  cursor: pointer;
}

.mk-lang-btn:hover {
  color: #111827;
  background: #f8f9fa;
}

.mk-lang-btn.is-active {
  color: #111827;
  background: rgba(212, 175, 55, 0.25);
}

.mk-nav a {
  position: relative;
}

.mk-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 1px;
  background: #d4af37;
  transition: width 0.15s ease-out;
}

.mk-nav a:hover {
  color: #d4af37;
}

.mk-nav a:hover::after {
  width: 100%;
}

.mk-btn {
  border-radius: 999px;
  border: 1px solid transparent;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  padding: 9px 18px;
  background: none;
}

.mk-btn-outline {
  border-color: #2d3436;
  background: #2d3436;
  color: #f9fafb;
}

.mk-btn-outline svg {
  width: 14px;
  height: 14px;
}

.mk-btn-outline small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  opacity: 0.8;
}

.mk-btn-outline:hover {
  border-color: #d4af37;
  background: #d4af37;
  color: #111827;
}

.mk-burger {
  display: none;
  width: 32px;
  height: 26px;
  border: none;
  background: none;
  padding: 0;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
}

.mk-burger span {
  display: block;
  height: 1px;
  width: 100%;
  background: #111827;
  transition: transform 0.2s ease-out, opacity 0.2s ease-out;
}

.mk-burger.is-open span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.mk-burger.is-open span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

.mk-nav-mobile {
  display: none;
  flex-direction: column;
  gap: 10px;
  padding: 10px 20px 14px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  background: #ffffff;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
}

.mk-nav-mobile a {
  padding: 4px 0;
}

.mk-nav-mobile a:hover {
  color: #d4af37;
}

.mk-nav-mobile.is-open {
  display: flex;
}

/* Hero */

.mk-hero {
  background: #ffffff;
  border-bottom: 1px solid rgba(148, 163, 184, 0.4);
  position: relative;
  overflow: hidden;
}

.mk-hero::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(circle at 0 0, rgba(212, 175, 55, 0.18), transparent 55%),
    radial-gradient(circle at 100% 0, rgba(148, 163, 184, 0.16), transparent 55%),
    radial-gradient(circle at 50% 110%, rgba(31, 41, 55, 0.12), transparent 65%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s ease-out;
}

.mk-hero.mk-in-view::before {
  opacity: 1;
}

.mk-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 40px;
  padding: 48px 20px 56px;
}

.mk-hero-text h1 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(30px, 4vw, 40px);
  line-height: 1.15;
  margin: 18px 0 14px;
}

.mk-hero-text h1 span {
  display: block;
  margin-top: 6px;
  font-size: 14px;
  font-weight: 400;
  color: #6b7280;
}

.mk-hero-subtitle {
  font-size: 14px;
  line-height: 1.7;
  color: #4b5563;
  margin-bottom: 20px;
}

.mk-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.mk-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 10px 4px 4px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b7280;
  background: #f9fafb;
}

.mk-dot {
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: radial-gradient(circle at 30% 20%, #fef3c7, #d4af37);
}

.mk-btn-primary {
  background: #d4af37;
  color: #111827;
  box-shadow: 0 18px 40px rgba(212, 175, 55, 0.3);
}

.mk-btn-primary svg {
  width: 16px;
  height: 16px;
}

.mk-btn-primary small {
  display: block;
  font-size: 9px;
  letter-spacing: 0.14em;
  opacity: 0.9;
}

.mk-btn-primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 48px rgba(212, 175, 55, 0.4);
}

.mk-btn-cta {
  padding: 12px 20px;
  gap: 10px;
}

.mk-btn-cta svg {
  width: 18px;
  height: 18px;
}

.mk-btn-cta span {
  display: grid;
  gap: 2px;
  text-align: left;
  letter-spacing: 0.14em;
}

.mk-btn-cta small {
  font-size: 10px;
  letter-spacing: 0.16em;
  opacity: 0.9;
}

.mk-section-dark .mk-btn-primary {
  background: linear-gradient(135deg, #d4af37, #f2d27a);
  color: #111827;
  border-color: rgba(255, 255, 255, 0.08);
}

.mk-section-dark .mk-btn-primary:hover {
  box-shadow: 0 24px 55px rgba(212, 175, 55, 0.45);
}

.mk-link-ghost {
  border: none;
  background: none;
  padding: 0;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #4b5563;
  cursor: pointer;
}

.mk-link-ghost:hover {
  color: #111827;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.mk-hero-card {
  align-self: stretch;
  border-radius: 24px;
  border: 1px solid rgba(148, 163, 184, 0.4);
  background: #f8f9fa;
  padding: 22px 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

/* Scroll reveal base */
.mk-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

.mk-reveal.mk-reveal-delay-sm {
  transition-delay: 0.08s;
}

.mk-reveal.mk-reveal-delay-md {
  transition-delay: 0.16s;
}

.mk-reveal.mk-reveal-delay-lg {
  transition-delay: 0.24s;
}

.mk-in-view.mk-reveal {
  opacity: 1;
  transform: translateY(0);
}

.mk-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  font-size: 11px;
  color: #6b7280;
  background: #ffffff;
}

.mk-hero-badge svg {
  width: 16px;
  height: 16px;
  color: #d4af37;
}

.mk-hero-card p {
  font-size: 13px;
  line-height: 1.7;
  color: #374151;
}

.mk-hero-person {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 4px;
}

.mk-hero-person img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  background: #e5e7eb;
}

.mk-hero-person strong {
  font-size: 13px;
}

.mk-hero-person span {
  font-size: 11px;
  color: #6b7280;
}

/* Sections */

.mk-section {
  padding: 60px 0;
  background: #ffffff;
}

.mk-section-light {
  background: #f8f9fa;
}

.mk-section-dark {
  background: #2d3436;
  color: #e5e7eb;
}

.mk-section-header {
  text-align: center;
  margin-bottom: 36px;
}

.mk-align-left {
  text-align: left;
}

.mk-section-eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.22em;
  color: #d4af37;
  margin-bottom: 8px;
}

.mk-section-eyebrow-dark {
  color: #facc15;
}

.mk-section-header h2 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 26px;
  margin: 6px 0 10px;
}

.mk-section-header p {
  font-size: 13px;
  line-height: 1.7;
  color: #4b5563;
}

.mk-section-dark .mk-section-header p {
  color: #e5e7eb;
}

/* Cards */

.mk-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mk-card {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.5);
  background: #ffffff;
  padding: 20px 20px 18px;
  box-shadow: 0 16px 35px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
  transition: transform 0.16s ease-out, box-shadow 0.16s ease-out,
    border-color 0.16s ease-out;
}

.mk-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.14);
  border-color: rgba(212, 175, 55, 0.7);
}

.mk-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 14px;
  border: 1px solid rgba(212, 175, 55, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefce8;
}

.mk-card-icon svg {
  width: 18px;
  height: 18px;
  color: #d4af37;
}

.mk-card h3 {
  font-family: "Playfair Display", Georgia, serif;
  font-size: 17px;
  margin: 4px 0;
}

.mk-card p {
  font-size: 13px;
  color: #4b5563;
}

.mk-card ul {
  margin: 4px 0 0;
  padding-left: 16px;
  font-size: 13px;
  color: #374151;
}

.mk-card li {
  margin-bottom: 4px;
}

/* Why us */

.mk-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  gap: 40px;
}

.mk-feature-list {
  margin-top: 20px;
  display: grid;
  gap: 14px;
}

.mk-feature {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: flex-start;
}

.mk-feature-icon {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(212, 175, 55, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fefce8;
}

.mk-feature-icon svg {
  width: 16px;
  height: 16px;
  color: #d4af37;
}

.mk-feature h3 {
  font-size: 14px;
  margin: 0 0 4px;
}

.mk-feature p {
  font-size: 13px;
  color: #4b5563;
  margin: 0;
}

.mk-quote-card {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #f9fafb;
  padding: 20px 22px 18px;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.12);
}

.mk-quote-card svg {
  width: 18px;
  height: 18px;
  color: #d4af37;
}

.mk-quote-card p {
  font-size: 13px;
  line-height: 1.7;
  margin: 10px 0 14px;
  color: #374151;
}

/* Price */

.mk-price-card {
  border-radius: 22px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: #ffffff;
  padding: 20px 22px;
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
}

.mk-price-row {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) auto;
  gap: 18px;
  padding: 10px 0;
  border-bottom: 1px solid rgba(226, 232, 240, 0.9);
}

.mk-price-row:last-child {
  border-bottom: none;
}

.mk-price-row dt {
  font-size: 13px;
  color: #111827;
}

.mk-price-row dd {
  margin: 0;
  text-align: right;
}

.mk-price-row dd span {
  font-size: 18px;
  font-weight: 600;
}

.mk-price-row dd small {
  display: block;
  font-size: 12px;
  color: #6b7280;
}

.mk-price-note {
  margin-top: 12px;
  font-size: 11px;
  color: #6b7280;
}

/* Contact */

.mk-contact {
  display: grid;
  gap: 24px;
}

.mk-contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 24px;
  align-items: flex-start;
}

.mk-phone {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 22px;
  font-weight: 600;
}

.mk-phone svg {
  width: 22px;
  height: 22px;
  color: #d4af37;
}

.mk-phone small {
  display: block;
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #9ca3af;
}

.mk-contact-actions {
  margin-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mk-btn-full {
  justify-content: center;
}

.mk-link-ghost-light {
  color: #e5e7eb;
}

.mk-link-ghost-light:hover {
  color: #ffffff;
}

.mk-contact-note {
  border-radius: 18px;
  border: 1px solid rgba(148, 163, 184, 0.7);
  padding: 16px 18px;
  background: rgba(15, 23, 42, 0.3);
  font-size: 13px;
}

.mk-contact-note h3 {
  font-size: 14px;
  margin: 0 0 8px;
}

.mk-contact-note p {
  margin: 0;
  color: #e5e7eb;
}

/* Footer */

.mk-footer {
  border-top: 1px solid rgba(15, 23, 42, 0.9);
  background: #111827;
  color: #9ca3af;
  padding: 14px 0 18px;
}

.mk-footer-inner {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
  font-size: 11px;
}

.mk-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: "Playfair Display", Georgia, serif;
  color: #f9fafb;
}

.mk-footer-brand svg {
  width: 14px;
  height: 14px;
  color: #d4af37;
}

.mk-footer-dev a {
  color: #e5e7eb;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* Responsive */

@media (max-width: 900px) {
  .mk-nav {
    display: none;
  }

  .mk-burger {
    display: flex;
  }

  .mk-header-actions {
    gap: 10px;
  }

  .mk-header-inner {
    padding-inline: 16px;
  }

  .mk-hero-grid {
    grid-template-columns: minmax(0, 1fr);
    padding-inline: 16px;
  }

  .mk-hero-card {
    margin-top: 6px;
  }

  .mk-cards {
    grid-template-columns: minmax(0, 1fr);
  }

  .mk-two-col,
  .mk-contact-grid {
    grid-template-columns: minmax(0, 1fr);
  }

  .mk-section {
    padding: 40px 0;
  }
}

@media (max-width: 600px) {
  .mk-header-inner {
    gap: 12px;
  }

  .mk-logo-text {
    font-size: 19px;
  }

  .mk-btn-outline span small {
    display: none;
  }

  .mk-hero-actions {
    align-items: stretch;
  }

  .mk-btn-primary,
  .mk-btn-primary.mk-btn-full {
    width: 100%;
    justify-content: center;
  }

  .mk-section-header h2 {
    font-size: 22px;
  }

  .mk-price-row {
    grid-template-columns: minmax(0, 1fr);
    text-align: left;
  }

  .mk-price-row dd {
    text-align: left;
  }

  .mk-footer-inner {
    align-items: flex-start;
    text-align: left;
  }
}
