:root {
  --bg: #ffffff;
  --ink: #17211b;
  --muted: #66746b;
  --line: #dfe7e1;
  --green: #114b35;
  --green-2: #dcebe2;
  --coral: #ef6b4d;
  --gold: #f5c65b;
  --shadow: 0 22px 60px rgba(17, 75, 53, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

a {
  color: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(18px, 4vw, 56px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand-mark {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
}

nav {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 14px;
  font-weight: 700;
}

nav a {
  text-decoration: none;
}

.nav-cta {
  padding: 10px 14px;
  border: 1px solid var(--green);
  border-radius: 8px;
  color: var(--green);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(320px, 1.05fr);
  gap: clamp(28px, 5vw, 70px);
  align-items: center;
  padding: clamp(52px, 8vw, 96px) clamp(18px, 4vw, 56px) 42px;
}

.hero-copy {
  max-width: 650px;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 0.95;
  letter-spacing: 0;
}

.hero p {
  max-width: 560px;
  color: var(--muted);
  font-size: clamp(18px, 2vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
}

.button.primary {
  background: var(--green);
  color: #fff;
}

.button.secondary {
  background: #fff;
  color: var(--green);
  border-color: var(--line);
}

.hero-media {
  position: relative;
  min-height: 440px;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 440px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-deal {
  position: absolute;
  right: -12px;
  bottom: 28px;
  width: min(330px, 86%);
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-left: 7px solid var(--coral);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.floating-deal span,
.deal-type {
  display: inline-block;
  margin-bottom: 8px;
  color: var(--coral);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.floating-deal h2 {
  margin-bottom: 6px;
  font-size: 25px;
  line-height: 1.05;
}

.floating-deal p {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 15px;
}

.strip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin: 0 clamp(18px, 4vw, 56px);
  padding: 18px 22px;
  background: var(--green-2);
  border: 1px solid #c6dacd;
  border-radius: 8px;
}

.strip p {
  margin: 0;
}

.strip a {
  color: var(--green);
  font-weight: 900;
  white-space: nowrap;
}

.deals-section,
.sell-section {
  padding: clamp(54px, 8vw, 92px) clamp(18px, 4vw, 56px);
}

.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 24px;
}

.section-heading h2,
.sell-section h2 {
  max-width: 740px;
  margin-bottom: 0;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1;
}

.section-heading p,
.sell-section p {
  max-width: 520px;
  margin-bottom: 0;
  color: var(--muted);
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}

.filter {
  min-height: 40px;
  padding: 8px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
  cursor: pointer;
}

.filter.active {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}

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

.deal-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 12px 32px rgba(17, 33, 27, 0.07);
}

.deal-card[hidden] {
  display: none;
}

.deal-card img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.deal-card div {
  padding: 20px;
}

.deal-card h3 {
  margin-bottom: 8px;
  font-size: 24px;
  line-height: 1.08;
}

.deal-card p {
  color: var(--muted);
}

.deal-card a {
  color: var(--green);
  font-weight: 900;
}

.sell-section {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 0.75fr);
  gap: clamp(28px, 5vw, 72px);
  background: #f6faf7;
  border-top: 1px solid var(--line);
}

form {
  display: grid;
  gap: 14px;
  padding: 22px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

label {
  display: grid;
  gap: 7px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

input,
textarea {
  width: 100%;
  border: 1px solid #ccd8d0;
  border-radius: 8px;
  padding: 12px;
  color: var(--ink);
  font: inherit;
  font-size: 15px;
}

textarea {
  resize: vertical;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(18px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

footer p {
  margin: 0;
  font-weight: 900;
}

footer a {
  color: var(--green);
  font-weight: 900;
}

@media (max-width: 920px) {
  .site-header,
  .section-heading,
  .strip,
  footer {
    align-items: flex-start;
    flex-direction: column;
  }

  nav {
    width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .hero,
  .sell-section {
    grid-template-columns: 1fr;
  }

  .hero-media,
  .hero-media img {
    min-height: 340px;
    height: 340px;
  }

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

@media (max-width: 620px) {
  .hero {
    padding-top: 36px;
  }

  h1 {
    font-size: 44px;
  }

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

  .floating-deal {
    right: 12px;
    bottom: -28px;
  }

  .deals-section {
    padding-top: 78px;
  }
}
