:root {
  --ink: #17212b;
  --muted: #617080;
  --line: #dce3e8;
  --surface: #ffffff;
  --soft: #f5f7f8;
  --brand: #0f7a53;
  --brand-dark: #075f42;
  --accent: #c83d2b;
  --gold: #d49a2a;
  --shadow: 0 20px 45px rgba(23, 33, 43, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", Arial, sans-serif;
  color: var(--ink);
  background: var(--surface);
  line-height: 1.6;
}

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

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

.container {
  width: min(1140px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 20;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 232, 0.75);
  backdrop-filter: blur(16px);
}

.nav-shell {
  width: min(1180px, calc(100% - 32px));
  height: 74px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--accent));
  border-radius: 8px;
  font-weight: 800;
  font-size: 22px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 16px;
  letter-spacing: 0;
}

.brand small {
  color: var(--muted);
  font-size: 12px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
  color: #293744;
  font-weight: 600;
  font-size: 14px;
}

.nav-links a {
  padding: 8px 0;
}

.nav-links a:hover {
  color: var(--brand);
}

.nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 8px;
  padding: 9px;
}

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

.hero {
  min-height: 680px;
  position: relative;
  overflow: hidden;
  padding: 154px 0 88px;
  display: flex;
  align-items: center;
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("../images/hero-wholesale.png") center / cover no-repeat;
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(9, 18, 25, 0.86) 0%, rgba(9, 18, 25, 0.68) 42%, rgba(9, 18, 25, 0.22) 100%),
    linear-gradient(0deg, rgba(0, 0, 0, 0.2), transparent 35%);
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 620px) 320px;
  align-items: end;
  justify-content: space-between;
  gap: 48px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 12px;
  color: var(--gold);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0;
  font-size: 13px;
}

.hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(44px, 7vw, 82px);
  line-height: 0.96;
  letter-spacing: 0;
}

.hero-text {
  max-width: 600px;
  margin: 24px 0 32px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 19px;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 160ms ease, background 160ms ease, border 160ms ease;
}

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

.btn.primary {
  color: #fff;
  background: var(--brand);
}

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

.btn.secondary {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  background: rgba(255, 255, 255, 0.1);
}

.btn.light {
  background: #fff;
  color: var(--brand-dark);
}

.hero-card {
  background: rgba(255, 255, 255, 0.95);
  border-radius: 8px;
  box-shadow: var(--shadow);
  overflow: hidden;
}

.hero-card div {
  padding: 22px 24px;
  border-bottom: 1px solid var(--line);
}

.hero-card div:last-child {
  border-bottom: 0;
}

.hero-card span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-card strong {
  display: block;
  margin-top: 4px;
  font-size: 19px;
}

.section {
  padding: 92px 0;
}

.about-section,
.registration-section {
  background: var(--soft);
}

.two-column {
  display: grid;
  grid-template-columns: minmax(0, 420px) minmax(0, 1fr);
  gap: 64px;
}

.section h2,
.cta-band h2 {
  margin: 0;
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.12;
  letter-spacing: 0;
}

.prose p {
  margin: 0 0 18px;
  color: var(--muted);
  font-size: 17px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card {
  min-height: 245px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-icon {
  display: inline-grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: #eaf5f0;
  color: var(--brand-dark);
  font-weight: 800;
}

.service-card h3 {
  margin: 24px 0 10px;
  font-size: 22px;
  line-height: 1.2;
}

.service-card p {
  margin: 0;
  color: var(--muted);
}

.details-layout {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 22px;
}

.details-panel {
  padding: 8px 28px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.details-panel.accent {
  border-top: 5px solid var(--brand);
}

dl {
  margin: 0;
}

.details-panel div {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 18px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.details-panel div:last-child {
  border-bottom: 0;
}

dt {
  color: var(--muted);
  font-weight: 700;
}

dd {
  margin: 0;
  font-weight: 800;
}

.cta-band {
  padding: 54px 0;
  color: #fff;
  background: linear-gradient(90deg, var(--brand-dark), #22313f);
}

.cta-content {
  justify-content: space-between;
}

.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 58px;
  align-items: start;
}

.contact-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.contact-list p {
  margin: 0;
  color: var(--muted);
}

.contact-list strong {
  color: var(--ink);
}

.contact-list a {
  color: var(--brand-dark);
  font-weight: 700;
}

.contact-form {
  padding: 28px;
  background: var(--soft);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.contact-form label {
  display: block;
  margin-bottom: 18px;
  font-weight: 800;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  margin-top: 8px;
  padding: 14px 15px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}

.contact-form textarea {
  resize: vertical;
}

.site-footer {
  padding: 28px 0;
  color: rgba(255, 255, 255, 0.82);
  background: #101821;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.footer-content p {
  margin: 0;
}

.footer-content a {
  color: #fff;
  font-weight: 700;
}

@media (max-width: 920px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    padding: 12px;
  }

  .hero-grid,
  .two-column,
  .details-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .hero-card {
    max-width: 420px;
  }

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

@media (max-width: 620px) {
  .brand small {
    display: none;
  }

  .brand strong {
    font-size: 14px;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 64px;
  }

  .hero-overlay {
    background: linear-gradient(90deg, rgba(9, 18, 25, 0.9), rgba(9, 18, 25, 0.66));
  }

  .hero-text {
    font-size: 17px;
  }

  .section {
    padding: 66px 0;
  }

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

  .details-panel {
    padding: 4px 20px;
  }

  .details-panel div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .cta-content {
    align-items: flex-start;
  }

  .contact-form {
    padding: 20px;
  }
}
