/* KLUS360 premium website - complete stylesheet */
:root {
  --black: #050505;
  --graphite: #151515;
  --soft-black: #202020;
  --white: #ffffff;
  --offwhite: #f7f5f0;
  --muted: #b9b4aa;
  --line: rgba(255,255,255,.14);
  --gold: #c8a96a;
  --gold-dark: #a88b4f;
  --radius: 28px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--offwhite);
  color: var(--black);
}

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

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

/* HEADER */
.site-header {
  position: fixed;
  z-index: 20;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: min(1180px, calc(100% - 32px));
  min-height: 76px;
  padding: 10px 18px 10px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: black;
  border: 1px solid var(--line);
  border-radius: 999px;
  backdrop-filter: blur(18px);
  box-shadow: 0 22px 70px rgba(0,0,0,.25);
}

.brand {
  display: flex;
  align-items: center;
  flex: 0 1 auto;
  min-width: 0;
  line-height: 0;
}

.brand img {
  width: clamp(150px, 18vw, 210px);
  height: auto;
  max-height: 42px;
  object-fit: contain;
  object-position: left center;
  border: 0;
}

.nav {
  display: flex;
  gap: 30px;
  color: rgba(255,255,255,.78);
  font-size: 14px;
  font-weight: 600;
}

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

.header-cta,
.btn,
.contact-form button {
  border: 0;
  cursor: pointer;
  background: var(--gold);
  color: var(--black);
  font-weight: 800;
  font-size: 14px;
  padding: 15px 22px;
  border-radius: 999px;
  box-shadow: 0 10px 34px rgba(200,169,106,.28);
  white-space: nowrap;
}

.hero {
  position: relative;
  min-height: 100vh;
  padding: 190px 24px 110px;
  display: flex;
  align-items: center;
  background:
    radial-gradient(circle at 70% 20%, rgba(200,169,106,.18), transparent 32%),
    linear-gradient(135deg, #050505 0%, #111111 56%, #050505 100%);
  color: var(--white);
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, black, transparent 86%);
}

.hero-bg {
  position: absolute;
  right: -140px;
  top: 24%;
  width: 760px;
  height: 760px;
  border-radius: 50%;
  border: 1px solid rgba(200,169,106,.22);
  box-shadow: inset 0 0 0 80px rgba(255,255,255,.015);
}

.hero-content {
  position: relative;
  width: min(1120px, 100%);
  margin: 0 auto;
}

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

h1,
h2,
h3 {
  margin: 0;
  font-family: "Manrope", "Inter", sans-serif;
  letter-spacing: -.045em;
}

h1 {
  max-width: 880px;
  font-size: clamp(52px, 8vw, 112px);
  line-height: .92;
}

.hero-text {
  max-width: 650px;
  margin: 30px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 19px;
  line-height: 1.75;
}

.hero-actions {
  margin-top: 42px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn.secondary {
  background: transparent;
  color: var(--white);
  border: 1px solid rgba(255,255,255,.26);
  box-shadow: none;
}

.trust-row {
  margin-top: 62px;
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.trust-row span {
  color: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 999px;
  padding: 13px 18px;
  background: rgba(255,255,255,.04);
}

.section {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
  padding: 110px 0;
}

.intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: start;
}

.intro h2,
.section-heading h2,
.work-copy h2,
.contact h2 {
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.02;
}

.intro p,
.work-copy p,
.contact p {
  margin: 0;
  color: #5c564f;
  font-size: 18px;
  line-height: 1.8;
}

.section-heading {
  max-width: 720px;
  margin-bottom: 42px;
}

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

.card {
  min-height: 310px;
  padding: 32px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(5,5,5,.08);
  box-shadow: 0 20px 80px rgba(0,0,0,.055);
  transition: transform .25s ease, box-shadow .25s ease;
}

.card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 100px rgba(0,0,0,.1);
}

.card-number {
  color: var(--gold-dark);
  font-weight: 800;
  font-size: 13px;
}

.card h3 {
  margin-top: 68px;
  font-size: 25px;
  line-height: 1.08;
}

.card p {
  color: #625c55;
  line-height: 1.7;
  margin: 18px 0 0;
}

.process {
  border-top: 1px solid rgba(5,5,5,.08);
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(5,5,5,.1);
  border-radius: var(--radius);
  overflow: hidden;
}

.step {
  background: var(--black);
  color: var(--white);
  padding: 34px;
  min-height: 260px;
}

.step span {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--black);
  font-weight: 900;
}

.step h3 {
  margin-top: 50px;
  font-size: 24px;
}

.step p {
  color: rgba(255,255,255,.68);
  line-height: 1.65;
}

.work-area {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 28px;
  align-items: stretch;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto 40px;
  padding: 30px;
  background: var(--black);
  color: var(--white);
  border-radius: 36px;
}

.work-copy {
  padding: 54px 34px;
}

.work-copy p {
  color: rgba(255,255,255,.7);
}

.work-copy .small-note {
  margin-top: 24px;
  color: var(--gold);
  font-weight: 700;
}

.map-card {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid rgba(255,255,255,.14);
  min-height: 520px;
}

.map-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.contact-panel {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 50px;
  padding: 54px;
  border-radius: 36px;
  background: #fff;
  box-shadow: 0 30px 100px rgba(0,0,0,.08);
}

.contact-form {
  display: grid;
  gap: 16px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.contact-form label {
  display: grid;
  gap: 8px;
  color: #4c4741;
  font-weight: 700;
  font-size: 14px;
}

input,
textarea {
  width: 100%;
  padding: 17px 18px;
  border: 1px solid rgba(5,5,5,.12);
  border-radius: 16px;
  background: #faf9f6;
  color: var(--black);
  font: inherit;
}

textarea {
  resize: vertical;
}

.contact-form button {
  margin-top: 6px;
  width: fit-content;
}

.form-note {
  font-size: 13px !important;
  color: #777 !important;
}

.footer {
  padding: 50px 24px 70px;
  text-align: center;
  background: var(--black);
  color: rgba(255,255,255,.62);
}

.footer img {
  width: 210px;
  margin: 0 auto 18px;
}

/* TABLET */
@media (max-width: 980px) {
  .nav {
    display: none;
  }

  .cards,
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .intro-grid,
  .work-area,
  .contact-panel {
    grid-template-columns: 1fr;
  }

  .map-card {
    min-height: 360px;
  }
}

/* MOBILE */
@media (max-width: 640px) {
  .site-header {
    top: 14px;
    width: calc(100% - 28px);
    min-height: 66px;
    padding: 9px 12px 9px 16px;
    gap: 10px;
    overflow: hidden;
  }

  .brand {
    flex: 1 1 auto;
    max-width: 48%;
    overflow: hidden;
  }

  .brand img {
    width: 100%;
    max-width: 148px;
    max-height: 30px;
    object-fit: contain;
    object-position: left center;
  }

  .header-cta {
    flex: 0 0 auto;
    padding: 12px 16px;
    font-size: 13px;
    max-width: 50%;
    text-align: center;
  }

  .hero {
    padding-top: 150px;
  }

  h1 {
    font-size: clamp(44px, 13vw, 62px);
  }

  .cards,
  .process-grid,
  .form-row {
    grid-template-columns: 1fr;
  }

  .section {
    width: min(1120px, calc(100% - 36px));
    padding: 78px 0;
  }

  .contact-panel,
  .work-area {
    padding: 22px;
    border-radius: 26px;
  }

  .work-copy {
    padding: 24px 8px;
  }
}

/* EXTRA SMALL MOBILE */
@media (max-width: 390px) {
  .site-header {
    width: calc(100% - 20px);
    padding-left: 12px;
    padding-right: 10px;
  }

  .brand {
    max-width: 44%;
  }

  .brand img {
    max-width: 126px;
    max-height: 28px;
  }

  .header-cta {
    max-width: 54%;
    padding: 11px 13px;
    font-size: 12px;
  }
}
.hp-field {
  position: absolute !important;
  left: -9999px !important;
  width: 1px !important;
  height: 1px !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

.form-alert {
  margin: 8px 0 0;
  padding: 14px 16px;
  border-radius: 14px;
  font-size: 14px !important;
  line-height: 1.5 !important;
  font-weight: 700;
}

.form-alert-success {
  background: rgba(40, 167, 69, .12);
  color: #1f7a3a !important;
  border: 1px solid rgba(40, 167, 69, .22);
}

.form-alert-error {
  background: rgba(220, 53, 69, .12);
  color: #a52834 !important;
  border: 1px solid rgba(220, 53, 69, .22);
}
