.hero {
  background: linear-gradient(135deg, var(--hero-1) 0%, var(--hero-2) 55%, var(--hero-3) 100%);
  color: #fff;
  padding: 20px 20px 88px;
}
.hero-inner {
  max-width: 1100px;
  margin: 0 auto;
  min-width: 0;
}
.topbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  letter-spacing: 0.02em;
  opacity: 0.95;
  margin-right: auto;
}
.iconbtn {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  flex: 0 0 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.15s;
}
.iconbtn:hover {
  background: rgba(255, 255, 255, 0.28);
}
.iconbtn svg {
  width: 22px;
  height: 22px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hero h1 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  font-weight: 800;
  letter-spacing: -0.02em;
}
.hero p.sub {
  margin-top: 10px;
  max-width: 680px;
  opacity: 0.9;
}
.searchwrap {
  margin-top: 24px;
  position: relative;
  max-width: 560px;
  min-width: 0;
}
.searchwrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0.55;
  pointer-events: none;
}
.searchwrap input {
  width: 100%;
  min-width: 0;
  padding: 15px 16px 15px 46px;
  border: none;
  border-radius: 10px;
  font-size: 1rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.18);
  outline: none;
  background: var(--card);
  color: var(--ink);
}
.searchwrap input:focus {
  box-shadow: 0 4px 20px rgba(0, 173, 222, 0.4);
}
.searchmeta {
  margin-top: 8px;
  font-size: 0.85rem;
  opacity: 0.85;
}
footer {
  background: #06131c;
  color: #93aebb;
  text-align: center;
  padding: 20px 24px;
  font-size: 0.85rem;
}
footer a {
  color: #fff;
  text-decoration: none;
}
footer a:hover {
  text-decoration: underline;
}

.layout {
  max-width: 1100px;
  margin: -56px auto 0;
  padding: 0 24px 64px;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 32px;
}
@media (min-width: 900px) {
  .layout {
    grid-template-columns: 270px minmax(0, 1fr);
  }
}
.layout > * {
  min-width: 0;
}
.layout > .contact {
  grid-column: 1 / -1;
}
