* {
  box-sizing: border-box;
}

:root {
  --bg: #faf7f1;
  --ink: #1f2528;
  --muted: #667073;
  --cream: #fffdf8;
  --green: #254438;
  --gold: #c79a3b;
  --shadow: 0 24px 70px rgba(20, 30, 30, 0.14);
  --radius: 28px;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', system-ui, sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a {
  color: inherit;
}

.hero {
  min-height: 54vh;
  position: relative;
  display: flex;
  flex-direction: column;
  background:
    linear-gradient(90deg, rgba(20, 30, 28, 0.72), rgba(20, 30, 28, 0.25)),
    url("images/knaresborough-hero.jpg");
  background-size: cover;
  background-position: center 46%;
  color: white;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px clamp(22px, 5vw, 72px);
}

.brand {
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: clamp(1.2rem, 2vw, 1.7rem);
}

.nav-button,
.primary-button,
.airbnb-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  font-weight: 800;
  transition: transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.nav-button {
  padding: 12px 20px;
  background: rgba(255,255,255,.16);
  backdrop-filter: blur(12px);
}

.hero-inner {
  width: min(820px, calc(100% - 44px));
  margin: auto 0;
  padding: 46px clamp(22px, 5vw, 72px) 76px;
}

.superhost-pill {
  display: inline-flex;
  padding: 10px 16px;
  border-radius: 999px;
  background: rgba(199,154,59,.94);
  color: #211807;
  font-weight: 900;
  margin-bottom: 18px;
}

h1, h2 {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1;
  letter-spacing: -0.04em;
}

h1 {
  font-size: clamp(2.9rem, 6vw, 5.8rem);
  margin: 0 0 20px;
  max-width: 900px;
}

.hero p {
  font-size: clamp(1.03rem, 1.7vw, 1.24rem);
  line-height: 1.65;
  max-width: 720px;
  color: rgba(255,255,255,.94);
  margin: 0 0 26px;
}

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

.primary-button {
  background: white;
  color: var(--ink);
  padding: 15px 25px;
}

.primary-button:hover,
.airbnb-button:hover,
.nav-button:hover {
  transform: translateY(-3px);
}

.trust-strip {
  width: min(1180px, calc(100% - 36px));
  margin: -38px auto 0;
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--cream);
  box-shadow: var(--shadow);
  border-radius: 24px;
  overflow: hidden;
}

.trust-strip div {
  padding: 22px;
  border-right: 1px solid #eee5d7;
}

.trust-strip div:last-child {
  border-right: 0;
}

.trust-strip strong {
  display: block;
  margin-bottom: 7px;
  font-size: 1.02rem;
}

.trust-strip span {
  display: block;
  color: var(--muted);
  font-size: .94rem;
  line-height: 1.4;
}

.intro {
  text-align: center;
  width: min(850px, calc(100% - 36px));
  margin: 70px auto 36px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: .14em;
  color: var(--gold);
  font-weight: 900;
  font-size: .78rem;
}

.intro h2,
.knaresborough h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
  margin: 10px 0 18px;
}

.intro p,
.knaresborough p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 1.08rem;
}

.properties {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 92px;
  display: grid;
  grid-template-columns: 1fr;
  gap: 34px;
}

.property-card {
  background: var(--cream);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 18px 50px rgba(20, 30, 30, 0.10);
  display: grid;
  grid-template-columns: 1.35fr .75fr;
  transition: transform .25s ease, box-shadow .25s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.image-wrap {
  position: relative;
  min-height: 360px;
  background: #f4eee5;
}

.image-wrap img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: transform .5s ease;
}

.property-card:hover img {
  transform: scale(1.012);
}

.floating-badge {
  position: absolute;
  left: 18px;
  top: 18px;
  background: var(--green);
  color: white;
  padding: 9px 14px;
  border-radius: 999px;
  font-weight: 900;
  font-size: .86rem;
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}

.floating-badge.new {
  background: var(--gold);
  color: #241704;
}

.card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.rating-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
  font-size: .94rem;
}

.superhost-small {
  color: #8c661f;
}

.card-body h3 {
  font-family: 'Playfair Display', Georgia, serif;
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0;
  letter-spacing: -0.03em;
}

.card-body p {
  margin: 0;
  color: var(--muted);
  line-height: 1.65;
}

.details {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  margin-top: auto;
}

.details span {
  background: #f1eadf;
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 800;
  font-size: .86rem;
}

.airbnb-button {
  margin-top: 8px;
  background: var(--green);
  color: white;
  padding: 14px 20px;
}

.knaresborough {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto 90px;
  background: var(--green);
  color: white;
  border-radius: var(--radius);
  padding: clamp(32px, 6vw, 64px);
  display: grid;
  grid-template-columns: 1.2fr .8fr;
  gap: 36px;
  align-items: center;
}

.knaresborough p {
  color: rgba(255,255,255,.82);
}

.feature-list {
  display: grid;
  gap: 14px;
}

.feature-list div {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding: 18px;
  font-weight: 800;
}

footer {
  padding: 36px 20px;
  background: #16231e;
  color: white;
  text-align: center;
}

footer strong,
footer span {
  display: block;
}

footer span {
  margin-top: 8px;
  color: rgba(255,255,255,.72);
}

@media (max-width: 950px) {
  .trust-strip,
  .knaresborough {
    grid-template-columns: 1fr 1fr;
  }

  .property-card {
    grid-template-columns: 1fr;
  }

  .image-wrap {
    min-height: auto;
  }

  .image-wrap img {
    height: auto;
  }
}

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

  .nav {
    padding: 20px;
  }

  .nav-button {
    display: none;
  }

  .hero-inner {
    width: 100%;
    padding: 55px 20px 78px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .trust-strip,
  .knaresborough {
    grid-template-columns: 1fr;
  }

  .trust-strip {
    margin-top: -30px;
  }

  .trust-strip div {
    border-right: 0;
    border-bottom: 1px solid #eee5d7;
  }

  .intro {
    margin-top: 56px;
  }

  .card-body {
    padding: 24px;
  }
}
