/* motorhome.pet — Home + rich card */

/* ── Hero ─────────────────────────── */
.hero { position: relative; overflow: hidden; }
.hero-glow {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 900px 380px at 50% 20%, color-mix(in oklab, var(--accent) 14%, transparent), transparent 65%),
    radial-gradient(ellipse 600px 280px at 80% 70%, color-mix(in oklab, var(--accent-2) 14%, transparent), transparent 65%);
  pointer-events: none;
}
.hero-inner {
  position: relative;
  padding: 88px 28px 72px;
  text-align: center;
}
.hero-h {
  font-size: clamp(48px, 8vw, 84px);
  margin: 18px auto 16px;
  max-width: 880px;
  letter-spacing: -.04em;
  line-height: .96;
  font-weight: 500;
  font-variation-settings: "opsz" 144, "SOFT" 30;
}
.hero-em {
  font-style: italic;
  color: var(--accent-2);
  font-variation-settings: "opsz" 144, "SOFT" 100;
}
.hero-sub {
  font-size: 17px; color: var(--ink-soft);
  max-width: 560px; margin: 0 auto 32px; line-height: 1.5;
}

/* search pill */
.searchpill {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
  align-items: center;
  background: var(--paper);
  border-radius: 999px;
  padding: 6px;
  box-shadow: 0 8px 36px -12px rgba(0,0,0,.18), 0 1px 0 rgba(255,255,255,.6) inset;
  border: 1px solid var(--line);
  max-width: 880px;
  margin: 0 auto;
  gap: 0;
}
.sp-field {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-right: 1px solid var(--line);
  cursor: text;
  position: relative;
}
.sp-field:last-of-type { border-right: 0; }
.sp-icon { color: var(--ink-soft); display: grid; place-items: center; grid-row: span 2; }
.sp-label { grid-column: 2; font-size: 9.5px; line-height: 1; padding-bottom: 2px; }
.sp-input {
  grid-column: 2;
  border: 0; background: transparent;
  font-family: inherit; font-size: 13.5px; font-weight: 500;
  color: var(--ink);
  padding: 0; margin: 0;
  width: 100%;
  outline: none;
}
.sp-input::placeholder { color: var(--ink-faint); }
.sp-go {
  border-radius: 999px;
  padding: 12px 20px;
  height: 100%;
  margin-left: 6px;
}
@media (max-width: 760px) {
  .searchpill { grid-template-columns: 1fr; border-radius: 18px; padding: 6px; gap: 4px; }
  .sp-field { border-right: 0; border-bottom: 1px solid var(--line); padding: 10px 14px; }
  .sp-field:last-of-type { border-bottom: 0; }
  .sp-go { width: 100%; border-radius: 14px; margin: 4px 0 0; justify-content: center; }
}

.hero-chips { display: flex; gap: 8px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* ── Section headers ───────────────── */
.section-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.section-h { font-size: 22px; margin: 0; }
.section-h-big { font-size: clamp(28px, 4.4vw, 36px); margin: 0; }
.section-sub { color: var(--ink-soft); margin: 6px 0 0; font-size: 14px; }

/* ── Place types ───────────────────── */
.place-types-wrap { padding: 28px 28px 0; max-width: 1280px; }
.place-types {
  display: grid; grid-template-columns: repeat(8, 1fr); gap: 10px;
}
@media (max-width: 1100px) { .place-types { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 560px)  { .place-types { grid-template-columns: repeat(2, 1fr); } }
.ptype {
  background: var(--paper); border: 1px solid var(--line);
  border-radius: 12px; padding: 14px 12px;
  text-align: left; text-decoration: none; color: var(--ink);
  display: block;
  transition: transform .12s, box-shadow .12s, border-color .12s;
}
.ptype:hover { box-shadow: var(--shadow-md); transform: translateY(-1px); border-color: var(--line-strong); }
.ptype-icon { color: var(--accent); margin-bottom: 8px; }
.ptype-label { font-size: 13px; font-weight: 500; line-height: 1.2; }
.ptype-count { margin-top: 6px; color: var(--ink-soft); }

/* ── Featured grid ─────────────────── */
.featured-wrap { padding: 52px 28px 0; max-width: 1280px; }
.featured-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px;
}
@media (max-width: 1000px) { .featured-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .featured-grid { grid-template-columns: 1fr; } }

/* ── Rich card ─────────────────────── */
.rich-card {
  background: var(--paper);
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}
.rich-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-lg);
  border-color: var(--line-strong);
}
.rich-card:hover .rc-image-fill { transform: scale(1.04); }
.rc-link { display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.rc-image {
  position: relative; aspect-ratio: 4 / 3; overflow: hidden;
  background: var(--bg-2);
}
.rc-image-fill {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 60% 70% at 50% 35%, color-mix(in oklab, var(--accent) 35%, transparent), transparent 70%),
    linear-gradient(180deg, color-mix(in oklab, var(--accent-soft) 60%, var(--bg-2)) 0%, var(--bg-2) 60%, color-mix(in oklab, var(--accent) 30%, var(--ink)) 100%);
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.rc-pic { position: absolute; inset: 0; display: block; }
.rc-pic img {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover; object-position: center;
  display: block;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}
.rich-card:hover .rc-pic img { transform: scale(1.04); }
.rc-image-fill[data-seed]:nth-child(odd)  { filter: hue-rotate(8deg) saturate(.95); }
.rc-image-fill[data-seed]:nth-child(even) { filter: hue-rotate(-12deg) saturate(1.05); }
.rc-image-veil {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,.25) 0%, rgba(0,0,0,0) 28%, rgba(0,0,0,0) 60%, rgba(0,0,0,.4) 100%);
  pointer-events: none;
}
.rc-badges { position: absolute; top: 12px; left: 12px; display: flex; gap: 6px; }
.rc-badge-free {
  background: var(--accent-2); color: #fff;
  font-size: 10.5px; font-weight: 600; padding: 5px 9px; border-radius: 999px;
  letter-spacing: .02em; text-transform: uppercase;
  box-shadow: 0 2px 8px -2px rgba(0,0,0,.3);
}
.rc-heart {
  position: absolute; top: 12px; right: 12px;
  width: 34px; height: 34px; border-radius: 999px;
  background: rgba(255,255,255,.92); border: 0; color: var(--ink);
  display: grid; place-items: center;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px -2px rgba(0,0,0,.2);
  transition: transform .12s, background .12s;
  cursor: pointer;
}
.rc-heart:hover { background: #fff; transform: scale(1.08); }
.rc-bottomrow {
  position: absolute; bottom: 12px; left: 12px; right: 12px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 8px;
}
.rc-pet {
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.94); color: var(--ink);
  font-size: 11px; font-weight: 500; padding: 5px 10px; border-radius: 999px;
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 8px -2px rgba(0,0,0,.18);
}
.rc-stays {
  font-size: 10.5px; color: #fff;
  font-family: var(--font-mono); letter-spacing: .05em;
  text-shadow: 0 1px 2px rgba(0,0,0,.6);
}
.rc-body {
  padding: 16px 18px 18px;
  flex: 1; display: flex; flex-direction: column;
}
.rc-place { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; }
.rc-flag { font-size: 14px; line-height: 1; }
.rc-place-text {
  font-size: 10px; color: var(--ink-faint);
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.rc-namerow {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 10px;
}
.rc-name {
  font-weight: 500; font-size: 19px; margin: 0;
  letter-spacing: -.015em; line-height: 1.15; color: var(--ink);
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
  overflow: hidden;
}
.rc-rating {
  display: flex; align-items: center; gap: 4px;
  color: var(--ink); font-size: 13px; font-weight: 600;
  font-variant-numeric: tabular-nums; flex-shrink: 0;
}
.rc-foot {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink-faint); font-size: 12px;
  padding-top: 10px; margin-top: auto;
  border-top: 1px dashed var(--line);
}
.rc-amenities { display: flex; gap: 8px; }
.rc-extra { font-size: 11px; color: var(--ink-faint); }
.rc-spacer { flex: 1; border-top: 1px dotted var(--line); height: 1px; }
.rc-price { text-align: right; }
.rc-price-num {
  font-family: var(--font-display); font-size: 19px; font-weight: 500;
  letter-spacing: -.015em; color: var(--ink);
  font-variant-numeric: tabular-nums;
}
.rc-price-unit { font-size: 11.5px; color: var(--ink-faint); margin-left: 2px; }
.rc-price-free {
  font-family: var(--font-display); font-size: 18px; font-weight: 500;
  color: var(--accent-2); letter-spacing: -.01em;
}

/* ── Routes section ────────────────── */
.routes-wrap { padding: 52px 28px 0; max-width: 1280px; }
.routes-card {
  background: var(--bg-2);
  border-radius: 24px;
  padding: 40px 36px;
  border: 1px solid var(--line);
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 36px;
  align-items: center;
}
@media (max-width: 900px) { .routes-card { grid-template-columns: 1fr; padding: 28px 24px; gap: 24px; } }
.routes-h {
  font-size: clamp(28px, 4.5vw, 36px);
  margin: 14px 0 10px;
  line-height: 1.05; letter-spacing: -.025em;
}
.routes-p { color: var(--ink-soft); font-size: 14.5px; line-height: 1.6; margin: 0; }
.routes-cta { margin-top: 22px; }
.routes-list { display: grid; gap: 12px; }
.route-row {
  display: grid; grid-template-columns: auto 1fr auto; gap: 18px; align-items: center;
  padding: 16px 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  text-decoration: none; color: var(--ink);
  transition: box-shadow .12s, border-color .12s, transform .12s;
}
.route-row:hover { box-shadow: var(--shadow-md); border-color: var(--line-strong); transform: translateY(-1px); }
.route-days {
  width: 44px; height: 44px; border-radius: 10px;
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 600; font-size: 14px;
}
.route-name { font-family: var(--font-display); font-weight: 500; font-size: 18px; }
.route-meta { color: var(--ink-soft); font-size: 13px; margin-top: 2px; }
.route-go { color: var(--ink-soft); display: grid; place-items: center; }

/* ── Dual CTA ──────────────────────── */
.cta-wrap { padding: 52px 28px 0; max-width: 1280px; }
.cta-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .cta-grid { grid-template-columns: 1fr; } }
.ctacard {
  display: block;
  border-radius: 24px;
  padding: 40px 36px;
  text-decoration: none;
  border: 1px solid var(--line);
  transition: box-shadow .22s, transform .22s;
}
.ctacard:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.ctacard-dark { background: var(--ink); color: var(--paper); border-color: var(--ink); }
.ctacard-light { background: var(--paper); color: var(--ink); }
.ctacard-eyebrow { font-size: 11px; opacity: .75; }
.ctacard-h { font-size: clamp(26px, 3.8vw, 34px); margin: 14px 0 10px; line-height: 1.05; letter-spacing: -.025em; }
.ctacard-p { font-size: 14.5px; line-height: 1.55; margin: 0 0 22px; opacity: .8; }
.ctacard-dark .ctacard-p { color: rgba(255,255,255,.78); }
