:root {
  --bg: #0f1115;
  --bg-soft: #171a21;
  --text: #f5f5f2;
  --muted: #b5b7bd;
  --line: rgba(255,255,255,0.12);
  --orange: #f36b21;
  --orange-soft: rgba(243,107,33,0.18);
  --card: rgba(22,24,31,0.86);
  --shadow: 0 24px 80px rgba(0,0,0,0.42);
}

* { box-sizing: border-box; }

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 8% 18%, rgba(243,107,33,0.10), transparent 40rem),
    radial-gradient(circle at 92% 14%, rgba(243,107,33,0.14), transparent 46rem),
    linear-gradient(135deg, #0a0c10 0%, var(--bg) 55%, #11141b 100%);
  min-height: 100vh;
}

.page-shell {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 22px 0 20px;
}

.hero {
  min-height: 36vh;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #10131a;
  box-shadow: var(--shadow);
}

.hero-bg {
  position: absolute;
  top: -10px;
  right: 0;
  bottom: -120px;
  left: 0;
  background:
    linear-gradient(90deg, rgba(15,17,21,0.55), rgba(15,17,21,0.22) 48%, rgba(15,17,21,0.06)),
    url("images/kgsp-city-illustration.png") center top / cover no-repeat;
  opacity: 0.78;
  transform: scale(1.02) translateY(-82px);
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 12%;
  background: linear-gradient(0deg, rgba(15,17,21,0.96), transparent);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  width: min(920px, 100%);
  padding: clamp(20px, 4vw, 44px) clamp(24px, 5vw, 56px) clamp(18px, 3vw, 34px);
  display: grid;
  gap: 14px;
  justify-items: start;
}

.logo {
  width: min(300px, 78vw);
  height: auto;
  display: block;
  filter: drop-shadow(0 18px 32px rgba(0,0,0,0.38));
}

.title-block {
  border-left: 3px solid var(--orange);
  padding-left: 18px;
  min-height: 72px;
  display: flex;
  align-items: center;
}

h1, h2, p { margin: 0; }

h1 {
  font-size: clamp(2.55rem, 6vw, 5.1rem);
  line-height: 0.9;
  letter-spacing: -0.075em;
  max-width: 780px;
}

.title-block p,
.hero-subtitle {
  margin-top: 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.75vw, 1.18rem);
  line-height: 1.38;
}

.contact-card {
  margin: -20px auto 0;
  position: relative;
  z-index: 2;
  width: min(940px, calc(100% - 24px));
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 18px;
  padding: clamp(18px, 3vw, 28px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: var(--card);
  backdrop-filter: blur(16px);
  box-shadow: var(--shadow);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  color: var(--orange);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: clamp(1rem, 1.5vw, 1.28rem);
  font-weight: 700;
  margin-bottom: 14px;
  opacity: 0.96;
}

.eyebrow-separator {
  color: #ffffff;
  margin: 0 0.55em;
}

h2 {
  font-size: clamp(1.05rem, 1.7vw, 1.4rem);
  line-height: 1.22;
  letter-spacing: -0.02em;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
}

form {
  display: grid;
  gap: 8px;
}

label {
  color: #ececea;
  font-size: 0.88rem;
  font-weight: 650;
}

input, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.14);
  border-radius: 16px;
  padding: 11px 13px;
  color: var(--text);
  background: rgba(255,255,255,0.06);
  outline: none;
  font: inherit;
  transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

input:focus, textarea:focus {
  border-color: rgba(243,107,33,0.78);
  box-shadow: 0 0 0 4px rgba(243,107,33,0.16);
  background: rgba(255,255,255,0.08);
}

textarea { resize: vertical; min-height: 94px; }

button {
  margin-top: 4px;
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  color: #151515;
  background: var(--orange);
  font-weight: 800;
  font-size: 1rem;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

button:hover { transform: translateY(-1px); filter: brightness(1.06); }
button:active { transform: translateY(0); }

.hidden-field {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

footer {
  width: min(1180px, calc(100% - 32px));
  margin: 0 auto;
  padding: 14px 0 24px;
  color: rgba(255,255,255,0.52);
  text-align: center;
}

.thanks-page {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
}

.thanks-card {
  width: min(560px, 100%);
  padding: 42px;
  border-radius: 30px;
  border: 1px solid var(--line);
  background: var(--card);
  box-shadow: var(--shadow);
  text-align: center;
}

.thanks-logo { width: min(280px, 80%); height: auto; margin-bottom: 28px; }
.thanks-card h1 { font-size: clamp(2rem, 6vw, 3rem); }
.thanks-card p { color: var(--muted); margin: 14px 0 28px; }
.thanks-card a { color: var(--orange); font-weight: 800; text-decoration: none; }

@media (max-width: 780px) {
  .page-shell { width: min(100% - 20px, 1180px); padding-top: 10px; }

  .hero {
    min-height: auto;
    border-radius: 24px;
  }

  .hero-bg {
    background:
      linear-gradient(180deg, rgba(15,17,21,0.96), rgba(15,17,21,0.72) 52%, rgba(15,17,21,0.98)),
      url("images/kgsp-city-illustration.png") center / cover no-repeat;
    opacity: 0.62;
  }

  .hero-content {
    padding: 24px 22px 50px;
    justify-items: center;
    text-align: center;
  }

  .title-block {
    border-left: 0;
    padding-left: 0;
    padding-top: 0;
    min-height: auto;
    display: block;
  }

  .contact-card {
    grid-template-columns: 1fr;
    width: calc(100% - 20px);
    margin-top: -12px;
    padding: 18px;
    border-radius: 22px;
  }

  .contact-copy { text-align: center; }

  input, textarea, button { font-size: 16px; }
}


/* Hero ajustes */
.hero {
  min-height: 48vh;
}

.hero-content {
  padding-top: clamp(24px, 5vw, 56px);
  padding-bottom: clamp(10px, 2vw, 22px);
}

.title-block {
  border-left-width: 3px;
  min-height: auto;
  display: flex;
  align-items: center;
}

.hero-subtitle,
.title-block p {
  margin-top: 0;
  margin-bottom: 0;
  font-size: clamp(1.35rem, 3.4vw, 2.55rem);
  line-height: 1.16;
  text-shadow: 0 3px 24px rgba(0,0,0,0.88);
}

.eyebrow {
  font-size: clamp(1.05rem, 1.65vw, 1.45rem);
}

.eyebrow-separator {
  color: #ffffff;
}

.contact-copy h2,
#contact-title {
  font-size: clamp(0.98rem, 1.3vw, 1.18rem);
}

@media (max-width: 768px) {
  .hero {
    background-position: center center;
    min-height: auto;
  }

  .title-block {
    border-left: 0;
    min-height: auto;
    display: block;
  }

  .hero-subtitle,
  .title-block p {
    font-size: clamp(1.25rem, 7vw, 1.75rem);
    line-height: 1.18;
  }

  .eyebrow {
    font-size: 1.05rem;
  }

  .contact-copy h2,
  #contact-title {
    font-size: 0.98rem;
  }
}
