:root {
  --navy: #0b1f33;
  --green: #159447;
  --yellow: #f5b51b;
  --red: #e52b32;
  --ivory: #f7f5ef;
  --white: #ffffff;
  --text: #162536;
  --secondary: #68717b;
  --border: #e5e7e4;
  --error: #d92d20;
}

* {
  box-sizing: border-box;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

.header {
  border-bottom: 1px solid var(--border);
  background: var(--white);
}

.nav,
.wrap {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.nav {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--navy);
  font-weight: 900;
  font-size: 1.25rem;
}

.brand img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--secondary);
  font-size: 0.9rem;
  font-weight: 700;
}

.btn,
.select,
.input,
.textarea {
  border-radius: 14px;
  border: 1px solid var(--border);
}

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  cursor: pointer;
  padding: 0 18px;
  background: var(--green);
  color: var(--white);
  font-weight: 800;
}

.btn.secondary {
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--green);
}

.btn.dark {
  background: var(--navy);
}

.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.8fr);
  align-items: center;
  gap: 40px;
  padding: 56px 0 40px;
}

.eyebrow {
  display: inline-flex;
  border: 1px solid rgb(21 148 71 / 20%);
  border-radius: 999px;
  background: rgb(21 148 71 / 10%);
  color: var(--green);
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 900;
}

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

h1 {
  margin-top: 22px;
  max-width: 720px;
  font-size: clamp(2.4rem, 7vw, 4rem);
  line-height: 1.04;
  letter-spacing: 0;
}

.accent {
  color: var(--green);
}

.lead {
  margin-top: 20px;
  max-width: 580px;
  color: var(--secondary);
  font-size: 1.1rem;
  line-height: 1.7;
}

.hero-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  padding: 14px;
  box-shadow: 0 18px 50px rgb(11 31 51 / 8%);
}

.hero-card img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  border-radius: 18px;
  object-fit: cover;
}

.section {
  padding: 48px 0;
}

.panel {
  border: 1px solid var(--border);
  border-radius: 24px;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 18px 50px rgb(11 31 51 / 8%);
}

.search-grid {
  display: grid;
  grid-template-columns: minmax(220px, 1fr) minmax(150px, 180px) minmax(150px, 180px) auto;
  gap: 12px;
  align-items: end;
}

label span {
  display: block;
  margin-bottom: 8px;
  font-size: 0.9rem;
  font-weight: 800;
}

.input,
.select,
.textarea {
  width: 100%;
  min-height: 52px;
  background: var(--ivory);
  color: var(--text);
  padding: 0 14px;
  outline: 0;
}

.textarea {
  min-height: 150px;
  padding: 14px;
  resize: vertical;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.section-head h2 {
  margin-top: 8px;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.muted {
  color: var(--secondary);
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 18rem), 1fr));
  gap: 20px;
}

.business-card,
.content-card {
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  padding: 20px;
  box-shadow: 0 10px 30px rgb(11 31 51 / 6%);
}

.business-top {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.logo {
  width: 64px;
  height: 64px;
  flex: 0 0 auto;
  border-radius: 16px;
  object-fit: cover;
  background: var(--ivory);
}

.category {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.business-card h3 {
  margin-top: 5px;
  font-size: 1.25rem;
}

.description {
  margin-top: 16px;
  min-height: 72px;
  color: var(--secondary);
  line-height: 1.55;
}

.actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.footer {
  margin-top: 56px;
  background: var(--navy);
  color: var(--white);
}

.footer-inner {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
  padding: 42px 0;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 32px;
}

.footer a,
.footer p {
  color: rgb(255 255 255 / 70%);
}

.footer h2 {
  color: var(--yellow);
  font-size: 0.95rem;
}

.footer ul {
  list-style: none;
  padding: 0;
  margin: 14px 0 0;
  display: grid;
  gap: 10px;
}

.detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
  gap: 24px;
}

.detail-hero {
  background: var(--navy);
  color: var(--white);
  padding: 36px 0;
}

.detail-hero h1 {
  color: var(--white);
}

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

.status {
  margin-top: 12px;
  font-weight: 800;
}

.error {
  color: var(--error);
}

@media (max-width: 820px) {
  .hero-grid,
  .detail,
  .footer-inner {
    grid-template-columns: 1fr;
  }

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

  .nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
  }

  .nav-actions {
    width: 100%;
    flex-wrap: wrap;
  }
}
