/* ---------- Design tokens ("Warm Minimal" 2026 concept) ---------- */
:root {
  --navy: #2A2420;              /* warm charcoal ink (dark surfaces / text) */
  --navy-2: #1E1A16;            /* deeper charcoal, hover state */
  --navy-3: #3D352E;            /* mid charcoal */
  --coral: #FF6B5C;
  --amber: #FFB648;
  --accent-gradient: linear-gradient(135deg, #FF6B5C 0%, #FFB648 100%);
  --gold: #FFB648;              /* bright accent (on dark surfaces) */
  --gold-deep: #C6512E;         /* deep accent (text/icons on light bg) */
  --gold-soft: rgba(255, 107, 92, 0.10);
  --ink: #2A2420;
  --ink-soft: #756C63;
  --paper: #FAF6F1;
  --card: #FFFFFF;
  --line: #ECE3D8;
  --success: #3F9D6E;
  --radius: 24px;
  --shadow: 0 10px 28px rgba(255, 107, 92, 0.10);
  --shadow-lg: 0 22px 50px rgba(255, 107, 92, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: var(--paper);
  color: var(--ink);
  line-height: 1.65;
  overflow-x: hidden;
  font-size: 16px;
}

img { max-width: 100%; display: block; }
svg { display: block; }
a { color: inherit; text-decoration: none; }

.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, h4 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
}

section { padding: 88px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  letter-spacing: .09em;
  text-transform: uppercase;
  font-size: .74rem;
  color: var(--gold-deep);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: "";
  width: 20px;
  height: 3px;
  border-radius: 2px;
  background: var(--accent-gradient);
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .95rem;
  font-family: 'Inter', sans-serif;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent-gradient);
  color: var(--navy-2);
  box-shadow: var(--shadow);
}
.btn-primary:hover { box-shadow: var(--shadow-lg); }
.btn-secondary {
  background: white;
  color: var(--ink);
  border-color: var(--line);
}
.btn-secondary:hover { border-color: var(--coral); color: var(--gold-deep); }
.btn-block { width: 100%; justify-content: center; }

.icon { width: 18px; height: 18px; flex: none; }
.icon-sm { width: 14px; height: 14px; flex: none; }
.icon-lg { width: 26px; height: 26px; flex: none; }

/* ---------- Nav ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 241, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 11px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.28rem;
  letter-spacing: -0.01em;
}
.logo .dot { color: var(--gold-deep); }
.logo-img { height: 40px; width: auto; border-radius: 10px; }
.logo-badge {
  width: 36px; height: 36px;
  background: var(--accent-gradient);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  color: var(--navy-2);
  font-size: 1.05rem;
}
.footer-logo-img {
  height: 34px;
  width: auto;
  background: var(--paper);
  padding: 6px 12px;
  border-radius: 12px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
  font-weight: 600;
  font-size: .94rem;
}
.nav-links a { color: var(--ink-soft); transition: color .15s; }
.nav-links a:hover { color: var(--gold-deep); }
.nav-cta { display: flex; align-items: center; gap: 16px; }
.menu-toggle { display: none; background: none; border: none; font-size: 1.5rem; cursor: pointer; color: var(--ink); }

/* ---------- Hero (video kept as-is, recolored to match) ---------- */
.hero {
  position: relative;
  overflow: hidden;
  min-height: 620px;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
}
.hero-video,
.hero-poster-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(30,26,22,.80) 0%, rgba(30,26,22,.55) 45%, rgba(30,26,22,.86) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(2.2rem, 4.2vw, 3.4rem); margin-bottom: 20px; color: white; }
.hero h1 .highlight {
  background: var(--accent-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead { font-size: 1.1rem; color: rgba(250,246,241,.85); max-width: 480px; margin-bottom: 32px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; }
.hero .btn-secondary { background: rgba(250,246,241,.12); color: white; border-color: rgba(250,246,241,.35); }
.hero .btn-secondary:hover { background: rgba(250,246,241,.2); border-color: white; color: white; }
.hero .eyebrow { color: var(--amber); }
.hero .eyebrow::before { background: var(--accent-gradient); }

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 620px; margin: 0 auto 52px; }
.section-head .eyebrow { justify-content: center; }
.section-head h2 { color: var(--navy); font-size: clamp(1.7rem, 2.8vw, 2.3rem); }
.section-head p { color: var(--ink-soft); font-size: 1.03rem; margin-top: 12px; }

/* ---------- Trust bar ---------- */
.trust-bar-wrap {
  background: transparent;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
}
.trust-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 24px;
}
.trust-bar-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ink-soft);
  font-size: .88rem;
  font-weight: 700;
  letter-spacing: .01em;
}
.trust-bar-item .icon { color: var(--gold-deep); }

/* ---------- How it works ---------- */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.step {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px 24px;
  text-align: left;
  position: relative;
  transition: transform .18s ease, box-shadow .18s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.step .num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--accent-gradient);
  color: var(--navy-2);
  font-weight: 700;
  font-family: 'Space Grotesk', sans-serif;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: .95rem;
}
.step h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); font-family: 'Inter', sans-serif; font-weight: 700; }
.step p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Listings ---------- */
.listings-bg { background: var(--paper); }
.filter-bar {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 44px;
}
.filter-chip {
  background: white;
  border: 1.5px solid var(--line);
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .87rem;
  cursor: pointer;
  color: var(--ink-soft);
  transition: all .15s;
}
.filter-chip.active, .filter-chip:hover {
  border-color: transparent;
  color: var(--navy-2);
  background: var(--accent-gradient);
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}
.listing-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: transform .2s ease, box-shadow .2s ease;
  display: flex;
  flex-direction: column;
}
.listing-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.listing-photo {
  position: relative;
  aspect-ratio: 4/3;
  display: flex;
  align-items: flex-end;
  background: var(--accent-gradient);
  background-size: cover;
  background-position: center;
  padding: 18px;
  overflow: hidden;
}
.listing-photo .listing-photo-label {
  position: relative;
  color: var(--navy-2);
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
}
.listing-badge {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--success);
  font-size: .68rem;
  font-weight: 700;
  padding: 6px 11px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: .04em;
  z-index: 1;
}
.listing-badge.pet-badge {
  top: 48px;
  color: var(--gold-deep);
  text-transform: none;
  letter-spacing: 0;
}
.price-old { text-decoration: line-through; opacity: .65; font-size: .82em; margin-right: 6px; }
.price-new { font-weight: 800; }
.listing-price {
  position: absolute;
  top: 14px; right: 14px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  font-family: 'Inter', sans-serif;
  padding: 7px 13px;
  border-radius: 999px;
  font-size: .92rem;
  display: flex;
  align-items: baseline;
  gap: 2px;
  z-index: 1;
}
.listing-body { padding: 20px 22px 22px; flex: 1; display: flex; flex-direction: column; }
.listing-body h3 { font-size: 1.08rem; margin-bottom: 4px; color: var(--navy); font-family: 'Inter', sans-serif; font-weight: 700; }
.listing-neigh { display: flex; align-items: center; gap: 6px; color: var(--ink-soft); font-size: .87rem; margin-bottom: 16px; }
.listing-neigh .icon-sm { color: var(--gold-deep); }
.listing-meta { display: flex; gap: 16px; font-size: .85rem; color: var(--ink-soft); margin-bottom: 20px; flex-wrap: wrap; }
.listing-meta span { display: flex; align-items: center; gap: 6px; }
.listing-meta .icon-sm { color: var(--ink-soft); }
.listing-body .btn { margin-top: auto; }

/* ---------- Why us ---------- */
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.why-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform .18s ease, box-shadow .18s ease;
}
.why-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-card .icon-circle {
  width: 48px; height: 48px;
  border-radius: 14px;
  background: var(--gold-soft);
  color: var(--gold-deep);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 8px; color: var(--navy); font-family: 'Inter', sans-serif; font-weight: 700; }
.why-card p { color: var(--ink-soft); font-size: .9rem; }

/* ---------- Trust / privacy strip (used on About page phone CTA) ---------- */
.trust-strip {
  background: var(--navy);
  color: white;
  border-radius: var(--radius);
  padding: 40px 44px;
  display: flex;
  align-items: center;
  gap: 26px;
}
.trust-strip .icon-badge {
  width: 52px; height: 52px;
  flex: none;
  border-radius: 14px;
  background: var(--accent-gradient);
  color: var(--navy-2);
  display: flex; align-items: center; justify-content: center;
}
.trust-strip h3 { color: white; font-size: 1.1rem; margin-bottom: 6px; font-family: 'Inter', sans-serif; font-weight: 700; }
.trust-strip p { color: rgba(250,246,241,.72); font-size: .9rem; }

/* ---------- About teaser (homepage) ---------- */
.about-teaser {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 52px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 52px;
  align-items: center;
}
.about-teaser-media {
  background: var(--paper);
  border-radius: 18px;
  padding: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-teaser-media img { max-width: 100%; }
.about-teaser h2 { margin-bottom: 14px; color: var(--navy); }
.about-teaser p { color: var(--ink-soft); font-size: 1.03rem; margin-bottom: 16px; }
.about-teaser p:last-of-type { margin-bottom: 26px; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: var(--accent-gradient);
  border-radius: var(--radius);
  padding: 58px;
  text-align: center;
  color: var(--navy-2);
  position: relative;
  overflow: hidden;
}
.cta-banner h2 { font-size: clamp(1.7rem, 2.8vw, 2.2rem); margin-bottom: 12px; color: var(--navy-2); }
.cta-banner p { color: rgba(30,26,22,.75); margin-bottom: 28px; font-size: 1.02rem; }
.cta-banner .btn-primary { background: var(--navy); color: white; }
.cta-banner .btn-primary:hover { background: var(--navy-2); }

/* ---------- Footer ---------- */
footer { background: var(--navy); color: rgba(250,246,241,.7); padding: 58px 0 26px; position: relative; }
footer::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--accent-gradient); }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; margin-bottom: 40px; }
.footer-grid h4 { color: white; font-size: .88rem; margin-bottom: 16px; font-family: 'Inter', sans-serif; letter-spacing: .03em; text-transform: uppercase; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; font-size: .88rem; }
.footer-grid a:hover { color: white; }
.footer-brand .logo-badge { background: var(--accent-gradient); }
.footer-brand p { font-size: .88rem; margin-top: 14px; max-width: 280px; color: rgba(250,246,241,.6); }
.footer-bottom {
  border-top: 1px solid rgba(250,246,241,.12);
  padding-top: 22px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .8rem;
  color: rgba(250,246,241,.45);
}

/* ---------- Apply page ---------- */
.apply-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 64px 0 46px;
  text-align: center;
}
.apply-hero .eyebrow { justify-content: center; }
.apply-hero h1 { font-size: clamp(1.8rem, 3.4vw, 2.5rem); margin-bottom: 12px; color: var(--navy); }
.apply-hero p { color: var(--ink-soft); max-width: 560px; margin: 0 auto; }

.privacy-note {
  max-width: 700px;
  margin: 28px auto 0;
  background: rgba(63, 157, 110, 0.08);
  border: 1.5px solid rgba(63, 157, 110, 0.28);
  border-radius: 16px;
  padding: 18px 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  text-align: left;
}
.privacy-note .icon { color: var(--success); margin-top: 2px; }
.privacy-note strong { display: block; color: var(--success); margin-bottom: 4px; font-size: .92rem; }
.privacy-note p { font-size: .86rem; color: var(--ink-soft); margin: 0; }

.apply-wrap {
  max-width: 740px;
  margin: 0 auto;
  padding: 52px 24px 96px;
}
.form-card {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 44px;
}
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-field { display: flex; flex-direction: column; gap: 8px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label { font-weight: 700; font-size: .86rem; color: var(--navy); }
.form-field .hint { font-weight: 500; color: var(--ink-soft); font-size: .76rem; }
.form-field input,
.form-field select,
.form-field textarea {
  border: 1.5px solid var(--line);
  border-radius: 12px;
  padding: 12px 16px;
  font-family: inherit;
  font-size: .93rem;
  color: var(--ink);
  background: var(--paper);
  transition: border-color .15s;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  outline: none;
  border-color: var(--coral);
}
.form-field textarea { resize: vertical; min-height: 100px; }
.checkbox-field { display: flex; align-items: flex-start; gap: 10px; margin: 26px 0; }
.checkbox-field input { margin-top: 4px; }
.checkbox-field label { font-size: .84rem; color: var(--ink-soft); }

.form-note {
  font-size: .8rem;
  color: var(--ink-soft);
  margin-top: 18px;
  text-align: center;
}

.form-success {
  display: none;
  text-align: center;
  padding: 40px 20px;
}
.form-success .big-icon { color: var(--success); margin: 0 auto 16px; }
.form-success h3 { margin-bottom: 8px; color: var(--navy); }
.form-success p { color: var(--ink-soft); }

/* ---------- About page ---------- */
.about-story p { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 20px; }

/* ---------- Listing detail page ---------- */
.detail-hero {
  background: var(--paper);
  border-bottom: 1px solid var(--line);
  padding: 32px 0;
}
.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  font-size: .88rem;
  color: var(--ink-soft);
  margin-bottom: 18px;
}
.detail-back:hover { color: var(--gold-deep); }
.detail-hero-top { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; }
.detail-hero h1 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 8px; color: var(--navy); }
.detail-hero .listing-neigh { margin-bottom: 0; font-size: .95rem; }
.detail-price {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.7rem;
  color: var(--gold-deep);
  white-space: nowrap;
}
.detail-price .price-old { font-size: .55em; font-weight: 600; color: var(--ink-soft); }
.detail-price .price-new { font-size: 1em; color: var(--gold-deep); }

.gallery { padding: 32px 0 0; }
.gallery-main {
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--accent-gradient);
  margin-bottom: 12px;
}
.gallery-main img, .gallery-main .placeholder-label {
  width: 100%; height: 100%; object-fit: cover;
}
.gallery-main .placeholder-label {
  display: flex; align-items: center; justify-content: center;
  color: var(--navy-2); font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: 1.4rem;
}
.gallery-thumbs { display: flex; gap: 12px; flex-wrap: wrap; }
.gallery-thumbs img {
  width: 110px; height: 78px; object-fit: cover;
  border-radius: 10px; cursor: pointer;
  border: 2px solid transparent;
  opacity: .7;
  transition: opacity .15s, border-color .15s;
}
.gallery-thumbs img:hover { opacity: 1; }
.gallery-thumbs img.active { opacity: 1; border-color: var(--coral); }

.detail-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 48px; align-items: start; padding-top: 40px; }
.detail-main h2 { font-size: 1.3rem; margin-bottom: 14px; color: var(--navy); }
.detail-main .lead-text { font-size: 1.05rem; color: var(--ink-soft); margin-bottom: 36px; }
.detail-block { margin-bottom: 36px; }
.tag-list { display: flex; flex-wrap: wrap; gap: 10px; }
.tag-list span {
  background: var(--gold-soft);
  color: var(--gold-deep);
  font-size: .85rem;
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 999px;
}
.stat-row { display: flex; gap: 28px; flex-wrap: wrap; margin-bottom: 8px; }
.stat-row div { display: flex; align-items: center; gap: 8px; color: var(--ink-soft); font-size: .95rem; font-weight: 600; }
.stat-row .icon { color: var(--gold-deep); }

.summary-card {
  position: sticky;
  top: 100px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.summary-card .detail-price { display: block; margin-bottom: 18px; }
.summary-card .stat-row { flex-direction: column; gap: 12px; margin-bottom: 24px; padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.summary-card .pet-policy { font-size: .88rem; color: var(--ink-soft); margin-top: 18px; }
.summary-card .pet-policy strong { color: var(--navy); display: block; margin-bottom: 4px; }
.summary-card .approval-note { font-size: .88rem; color: var(--ink-soft); margin-top: 18px; padding-top: 18px; border-top: 1px solid var(--line); }
.summary-card .approval-note strong { color: var(--navy); display: block; margin-bottom: 4px; }

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .listing-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .trust-strip { flex-direction: column; text-align: center; }
  .trust-bar { justify-content: center; text-align: center; }
  .about-teaser { grid-template-columns: 1fr; padding: 36px; }
  .about-teaser-media { order: -1; }
  .detail-layout { grid-template-columns: 1fr; }
  .summary-card { position: static; }
}
@media (max-width: 640px) {
  section { padding: 60px 0; }
  .nav-links { position: fixed; top: 80px; left: 0; right: 0; background: var(--paper); flex-direction: column; align-items: flex-start; padding: 24px; box-shadow: var(--shadow-lg); display: none; }
  .nav-links.open { display: flex; }
  .menu-toggle { display: block; }
  .steps { grid-template-columns: 1fr; }
  .listing-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .cta-banner { padding: 40px 24px; }
  .form-card { padding: 28px; }
  .trust-bar { flex-direction: column; align-items: flex-start; }
}
