:root {
  --ink: #101820;
  --muted: #5a6675;
  --line: #dce4ea;
  --paper: #f6f8f7;
  --white: #ffffff;
  --teal: #087c80;
  --teal-dark: #065b61;
  --lime: #c9f26b;
  --amber: #f6b443;
  --coral: #ef6b5f;
  --shadow: 0 22px 60px rgba(16, 24, 32, .14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, Arial, sans-serif;
  letter-spacing: 0;
}

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

.site-header {
  align-items: center;
  backdrop-filter: blur(18px);
  background: rgba(246, 248, 247, .82);
  border-bottom: 1px solid rgba(16, 24, 32, .08);
  display: flex;
  height: 76px;
  justify-content: space-between;
  left: 0;
  padding: 0 clamp(18px, 4vw, 56px);
  position: fixed;
  right: 0;
  top: 0;
  z-index: 20;
}

.brand {
  align-items: center;
  display: inline-flex;
  font-size: 1rem;
  font-weight: 800;
  gap: 10px;
}

.brand-mark {
  align-items: center;
  background: var(--ink);
  border-radius: 7px;
  color: var(--lime);
  display: inline-flex;
  height: 38px;
  justify-content: center;
  width: 38px;
}

.brand-logo {
  border-radius: 7px;
  display: block;
  height: 38px;
  object-fit: contain;
  width: 38px;
}

.main-nav {
  align-items: center;
  display: flex;
  gap: 8px;
}

.main-nav a,
.nav-dropdown > button,
.btn {
  border: 0;
  border-radius: 8px;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.main-nav a,
.nav-dropdown > button {
  background: transparent;
  color: var(--ink);
  padding: 10px 12px;
}

.nav-admin {
  border: 1px solid rgba(16, 24, 32, .15) !important;
}

.nav-dropdown {
  position: relative;
}

.dropdown-menu {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  display: none;
  min-width: 190px;
  padding: 8px;
  position: absolute;
  right: 0;
  top: 42px;
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
  display: grid;
}

.dropdown-menu a {
  display: block;
}

.dropdown-menu a.is-active {
  background: #edf6f3;
  color: var(--teal-dark);
}

.lang-dropdown .dropdown-menu {
  min-width: 150px;
}

.language-button {
  align-items: center;
  display: inline-flex;
  gap: 7px;
}

.language-icon {
  display: block;
  fill: none;
  height: 18px;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
  width: 18px;
}

.nav-toggle {
  background: transparent;
  border: 0;
  display: none;
  height: 40px;
  width: 40px;
}

.nav-toggle span {
  background: var(--ink);
  display: block;
  height: 2px;
  margin: 6px 0;
}

.hero {
  background-image: linear-gradient(90deg, rgba(9, 18, 24, .86), rgba(9, 18, 24, .44), rgba(9, 18, 24, .08)), var(--hero-image);
  background-position: center;
  background-size: cover;
  color: var(--white);
  min-height: 92vh;
  overflow: hidden;
  padding: 148px clamp(20px, 5vw, 72px) 56px;
  position: relative;
}

.hero-content {
  max-width: 760px;
  position: relative;
  z-index: 2;
}

.eyebrow {
  color: var(--teal);
  font-size: .78rem;
  font-weight: 800;
  margin: 0 0 14px;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: var(--lime);
}

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

h1 {
  font-size: clamp(2.5rem, 6.4vw, 6.25rem);
  line-height: .92;
  margin-bottom: 24px;
  max-width: 920px;
}

h2 {
  font-size: clamp(2rem, 4vw, 4.6rem);
  line-height: 1;
  margin-bottom: 0;
}

h3 {
  font-size: clamp(1.7rem, 3vw, 3rem);
  margin-bottom: 16px;
}

.hero-copy {
  color: rgba(255, 255, 255, .86);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.65;
  max-width: 650px;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 32px;
}

.btn {
  align-items: center;
  display: inline-flex;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
}

.btn.primary {
  background: var(--lime);
  color: var(--ink);
}

.btn.ghost {
  background: rgba(255, 255, 255, .12);
  border: 1px solid rgba(255, 255, 255, .3);
  color: var(--white);
}

.btn.ghost.dark {
  background: var(--white);
  border-color: var(--line);
  color: var(--ink);
}

.btn.small {
  background: var(--ink);
  color: var(--white);
  min-height: 38px;
}

.hero-metrics {
  bottom: 32px;
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  position: absolute;
  right: clamp(20px, 5vw, 72px);
  width: min(560px, calc(100% - 40px));
  z-index: 2;
}

.hero-metrics div {
  background: rgba(255, 255, 255, .13);
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 8px;
  padding: 16px;
}

.hero-metrics strong,
.hero-metrics span {
  display: block;
}

.hero-metrics strong {
  color: var(--lime);
  font-size: 1.5rem;
}

.hero-metrics span {
  color: rgba(255, 255, 255, .74);
  font-size: .85rem;
  margin-top: 5px;
}

.section {
  padding: 98px clamp(20px, 5vw, 72px);
}

.section-heading {
  display: grid;
  gap: 20px;
  grid-template-columns: minmax(180px, .4fr) minmax(0, 1fr);
  margin-bottom: 42px;
}

.product-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.product-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 40px rgba(16, 24, 32, .08);
  padding: clamp(24px, 4vw, 42px);
}

.product-card p {
  color: var(--muted);
  line-height: 1.7;
}

.product-summary {
  color: var(--ink) !important;
  font-size: 1.1rem;
}

.product-topline {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}

.product-topline span {
  background: #edf6f3;
  border-radius: 999px;
  color: var(--teal-dark);
  font-size: .78rem;
  font-weight: 800;
  padding: 8px 10px;
}

.text-link {
  border-bottom: 2px solid var(--amber);
  color: var(--teal-dark);
  display: inline-block;
  font-weight: 800;
  margin-top: 12px;
  overflow-wrap: anywhere;
}

.partners-section {
  background: var(--ink);
  color: var(--white);
}

.partners-section .eyebrow {
  color: var(--amber);
}

.partners-row {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.partner-pill {
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 8px;
  color: var(--white);
  font-size: 1.15rem;
  font-weight: 800;
  padding: 24px;
}

.contact-section {
  display: grid;
  gap: 42px;
  grid-template-columns: minmax(0, .8fr) minmax(320px, .55fr);
}

.contact-copy p {
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}

.contact-lines {
  display: grid;
  gap: 10px;
  margin-top: 28px;
}

.contact-lines span {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  display: block;
  padding: 14px 16px;
}

.contact-form,
.admin-panel {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  padding: clamp(22px, 4vw, 36px);
}

label {
  color: var(--muted);
  display: grid;
  font-size: .9rem;
  font-weight: 700;
  gap: 8px;
  margin-bottom: 16px;
}

input,
textarea {
  background: #fbfcfc;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  min-height: 46px;
  padding: 12px 14px;
  width: 100%;
}

textarea {
  resize: vertical;
}

.hidden-field {
  height: 0;
  left: -9999px;
  overflow: hidden;
  position: absolute;
}

.form-alert {
  border-radius: 8px;
  font-weight: 700;
  margin-bottom: 18px;
  padding: 13px 14px;
}

.form-alert.success {
  background: #e7f8ee;
  color: #16643a;
}

.form-alert.error {
  background: #ffecea;
  color: #9b2b22;
}

.site-footer {
  align-items: center;
  background: var(--white);
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 32px clamp(20px, 5vw, 72px);
}

.site-footer p {
  color: var(--muted);
  margin: 6px 0 0;
}

.site-footer .copyright {
  margin: 0;
  text-align: right;
}

.admin-body {
  background: #eef3f3;
}

.admin-login {
  align-items: center;
  display: grid;
  min-height: 100vh;
  padding: 24px;
}

.login-panel {
  margin: auto;
  max-width: 430px;
  width: 100%;
}

.login-panel h1 {
  font-size: 1.85rem;
  line-height: 1.1;
  margin-bottom: 22px;
}

.admin-topbar {
  align-items: center;
  background: var(--ink);
  color: var(--white);
  display: flex;
  justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 46px);
}

.admin-shell {
  margin: 0 auto;
  max-width: 1180px;
  padding: 34px 18px 60px;
}

.admin-heading,
.admin-section-title {
  align-items: center;
  display: flex;
  gap: 16px;
  justify-content: space-between;
}

.admin-actions {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.admin-current-lang {
  color: var(--muted);
  font-weight: 700;
  margin: 8px 0 0;
}

.admin-heading h1 {
  font-size: clamp(1.55rem, 2.5vw, 2.35rem);
  line-height: 1.05;
  margin-bottom: 0;
}

.admin-logo-preview {
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 8px;
  display: inline-flex;
  gap: 14px;
  margin-top: 12px;
  padding: 12px 14px;
}

.admin-logo-preview span {
  color: var(--muted);
  font-size: .85rem;
  font-weight: 800;
}

.admin-logo-preview img {
  border-radius: 6px;
  display: block;
  height: 44px;
  object-fit: contain;
  width: 44px;
}

.language-select {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-weight: 800;
  min-height: 48px;
  padding: 0 14px;
}

.admin-section {
  border-top: 1px solid var(--line);
  margin-top: 30px;
  padding-top: 26px;
}

.admin-section h2 {
  font-size: 1.45rem;
  margin-bottom: 18px;
}

.admin-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.repeat-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  padding: 18px;
  position: relative;
}

.product-repeat {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.partner-repeat {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.remove-repeat {
  background: var(--coral);
  border: 0;
  border-radius: 999px;
  color: var(--white);
  cursor: pointer;
  font-size: 1.1rem;
  font-weight: 800;
  height: 30px;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 30px;
}

@media (max-width: 820px) {
  .site-header {
    height: 68px;
  }

  .nav-toggle {
    display: block;
  }

  .main-nav {
    align-items: stretch;
    background: var(--white);
    border-bottom: 1px solid var(--line);
    display: none;
    gap: 2px;
    left: 0;
    padding: 14px 18px 22px;
    position: absolute;
    right: 0;
    top: 68px;
  }

  .main-nav.is-open {
    display: grid;
  }

  .dropdown-menu {
    box-shadow: none;
    display: grid;
    margin-top: 4px;
    position: static;
  }

  .hero {
    min-height: 100vh;
    padding-top: 112px;
  }

  .hero-metrics,
  .section-heading,
  .contact-section,
  .admin-grid,
  .product-repeat,
  .partner-repeat {
    grid-template-columns: 1fr;
  }

  .hero-metrics {
    margin-top: 44px;
    position: relative;
    right: auto;
    width: 100%;
  }

  .section {
    padding-bottom: 72px;
    padding-top: 72px;
  }

  .site-footer,
  .admin-heading,
  .admin-section-title {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-footer .copyright {
    text-align: left;
  }

  .admin-actions {
    align-items: stretch;
    width: 100%;
  }

  .language-select,
  .admin-actions .btn {
    width: 100%;
  }
}
