/* ============================================================
   Lucky Mutt — self-service dog wash, Hereford
   Shared stylesheet
   ============================================================ */

:root {
  /* Brand palette pulled from the logo */
  --orange:        #F5882E;
  --orange-dark:   #E5761A;
  --orange-soft:   #FBE2C7;
  --brown:         #4A2410;
  --brown-soft:    #6B3B1E;
  --cream:         #FFF9F1;
  --cream-deep:    #FBEFE0;
  --ink:           #3A2414;
  --muted:         #8A7563;
  --white:         #ffffff;
  --line:          #EFE1D0;

  --shadow-sm: 0 2px 8px rgba(74, 36, 16, 0.08);
  --shadow-md: 0 10px 30px rgba(74, 36, 16, 0.12);
  --shadow-lg: 0 20px 50px rgba(74, 36, 16, 0.18);

  --radius:    18px;
  --radius-lg: 28px;

  --font-head: 'Fredoka', system-ui, sans-serif;
  --font-body: 'Nunito', system-ui, sans-serif;

  --wrap: 1120px;
}

/* ---------- Reset / base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  font-size: 17px;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--brown);
  line-height: 1.1;
  margin: 0 0 0.5em;
  font-weight: 600;
}

h1 { font-size: clamp(2.2rem, 6vw, 4rem); }
h2 { font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3 { font-size: 1.35rem; }

p { margin: 0 0 1rem; }

a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; display: block; }

.wrap {
  width: 100%;
  max-width: var(--wrap);
  margin: 0 auto;
  padding: 0 22px;
}

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.82rem;
  color: var(--orange-dark);
  margin-bottom: 0.6rem;
}

.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section-tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.center { text-align: center; }
.lead { font-size: 1.18rem; color: var(--brown-soft); max-width: 60ch; }
.center .lead { margin-left: auto; margin-right: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 1.05rem;
  padding: 0.85rem 1.6rem;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(245, 136, 46, 0.35);
}
.btn-primary:hover { background: var(--orange-dark); }

.btn-ghost {
  background: #fff;
  color: var(--brown);
  border-color: var(--line);
  box-shadow: var(--shadow-sm);
}
.btn-ghost:hover { border-color: var(--orange); color: var(--orange-dark); }

.btn-lg { font-size: 1.15rem; padding: 1rem 1.9rem; }

/* ---------- Header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 249, 241, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.6rem 22px;
  max-width: var(--wrap);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.35rem;
  color: var(--brown);
}
.brand:hover { text-decoration: none; }
.brand img { height: 46px; width: auto; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.nav-links a {
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--brown);
  padding: 0.5rem 0.9rem;
  border-radius: 999px;
  transition: background .15s ease, color .15s ease;
}
.nav-links a:hover { background: var(--cream-deep); text-decoration: none; }
.nav-links a.active { color: var(--orange-dark); }
.nav-links a.nav-cta {
  background: var(--orange);
  color: #fff;
}
.nav-links a.nav-cta:hover { background: var(--orange-dark); }

.nav-toggle {
  display: none;
  background: none;
  border: 0;
  cursor: pointer;
  padding: 0.4rem;
}
.nav-toggle span {
  display: block;
  width: 26px;
  height: 3px;
  margin: 5px 0;
  background: var(--brown);
  border-radius: 3px;
  transition: .2s;
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--cream) 0%, var(--cream-deep) 100%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
  padding: clamp(2.5rem, 6vw, 5rem) 0;
}
.hero h1 { margin-bottom: 0.4em; }
.hero .lead { margin-bottom: 1.6rem; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 0.8rem; margin-bottom: 1.4rem; }

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}
.pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--brown);
  font-family: var(--font-head);
  font-weight: 500;
  font-size: 0.95rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  box-shadow: var(--shadow-sm);
}
.pill .dot { color: var(--orange); font-size: 1.1rem; line-height: 1; }

.hero-media {
  position: relative;
}
.hero-media img {
  width: 100%;
  height: clamp(340px, 55vh, 560px);
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.hero-media .float-card {
  position: absolute;
  left: -12px;
  bottom: 26px;
  background: #fff;
  border-radius: var(--radius);
  padding: 0.9rem 1.15rem;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.7rem;
  max-width: 230px;
}
.float-card .big {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.6rem;
  color: var(--orange-dark);
  line-height: 1;
}
.float-card small { color: var(--muted); font-size: 0.85rem; }

/* ---------- Feature strip ---------- */
.strip {
  background: var(--brown);
  color: #fff;
}
.strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.strip-item {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  font-family: var(--font-head);
  font-weight: 400;
  font-size: 1rem;
}
.strip-item .ic {
  font-size: 1.5rem;
  flex: none;
}

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
  margin-top: 2.5rem;
}
.step {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.3rem;
  box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.step:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--orange-soft);
  color: var(--orange-dark);
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1.3rem;
  margin-bottom: 0.9rem;
}
.step h3 { margin-bottom: 0.35rem; }
.step p { color: var(--brown-soft); font-size: 0.98rem; margin: 0; }

/* ---------- Cards / feature grid ---------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2.5rem;
}
.card {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card .ic {
  font-size: 2rem;
  margin-bottom: 0.6rem;
}
.card h3 { margin-bottom: 0.4rem; }
.card p { color: var(--brown-soft); margin: 0; font-size: 0.98rem; }

/* ---------- Gallery ---------- */
.gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 180px;
  gap: 14px;
  margin-top: 2.5rem;
}
.gallery figure {
  margin: 0;
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}
.gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.gallery figure:hover img { transform: scale(1.06); }
.gallery .tall { grid-row: span 2; }
.gallery .wide { grid-column: span 2; }

/* ---------- Location ---------- */
.location-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
}
.location-info .info-row {
  display: flex;
  gap: 0.8rem;
  padding: 0.9rem 0;
  border-bottom: 1px solid var(--line);
}
.location-info .info-row:last-child { border-bottom: 0; }
.location-info .info-row .ic { font-size: 1.4rem; flex: none; }
.location-info .info-row strong { color: var(--brown); font-family: var(--font-head); font-weight: 500; }
.location-info .info-row div { line-height: 1.5; }
.location-info .info-row span { color: var(--brown-soft); }

.map-embed {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 360px;
  border: 1px solid var(--line);
}
.map-embed iframe { width: 100%; height: 100%; min-height: 360px; border: 0; display: block; }

.contact-note {
  background: var(--orange-soft);
  border-radius: var(--radius);
  padding: 1.1rem 1.3rem;
  margin-top: 1.4rem;
  font-size: 0.98rem;
  color: var(--brown);
}
.social-links { display: flex; gap: 0.7rem; margin-top: 0.8rem; flex-wrap: wrap; }
.social-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #fff;
  border: 1px solid var(--line);
  padding: 0.5rem 0.95rem;
  border-radius: 999px;
  font-family: var(--font-head);
  font-weight: 500;
  color: var(--brown);
  box-shadow: var(--shadow-sm);
}
.social-links a:hover { border-color: var(--orange); color: var(--orange-dark); text-decoration: none; }

/* ---------- Section backgrounds ---------- */
.bg-cream { background: var(--cream); }
.bg-deep  { background: var(--cream-deep); }
.bg-white { background: #fff; }

/* ---------- Split / buy page ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(1.5rem, 4vw, 3.5rem);
  align-items: center;
}
.split img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
  height: clamp(320px, 45vw, 480px);
  object-fit: cover;
}
.checklist { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.checklist li {
  display: flex;
  gap: 0.7rem;
  padding: 0.55rem 0;
  align-items: flex-start;
}
.checklist li .tick {
  color: #fff;
  background: var(--orange);
  border-radius: 50%;
  width: 24px; height: 24px;
  display: inline-flex; align-items: center; justify-content: center;
  flex: none;
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ---------- Value stats ---------- */
.stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.4rem;
  margin-top: 2rem;
}
.stat {
  text-align: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1rem;
  box-shadow: var(--shadow-sm);
}
.stat .num {
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 2.4rem;
  color: var(--orange-dark);
  line-height: 1;
}
.stat p { margin: 0.4rem 0 0; color: var(--brown-soft); font-size: 0.95rem; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--orange) 0%, var(--orange-dark) 100%);
  color: #fff;
  border-radius: var(--radius-lg);
  padding: clamp(2.2rem, 5vw, 3.5rem);
  text-align: center;
  box-shadow: var(--shadow-md);
}
.cta-band h2 { color: #fff; }
.cta-band p { color: rgba(255,255,255,0.92); max-width: 55ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-primary {
  background: #fff;
  color: var(--orange-dark);
  box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}
.cta-band .btn-primary:hover { background: var(--brown); color: #fff; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--brown);
  color: rgba(255,255,255,0.82);
  padding: 2.6rem 0 1.6rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2rem;
}
.site-footer h4 { color: #fff; font-size: 1.05rem; margin-bottom: 0.7rem; }
.site-footer a { color: rgba(255,255,255,0.82); }
.site-footer a:hover { color: var(--orange); text-decoration: none; }
.footer-brand { display: flex; align-items: center; gap: 0.6rem; margin-bottom: 0.8rem; }
.footer-brand img {
  height: 52px; background: #fff; border-radius: 12px; padding: 4px;
}
.footer-brand span { font-family: var(--font-head); font-weight: 600; font-size: 1.3rem; color: #fff; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.4rem; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15);
  margin-top: 2rem;
  padding-top: 1.2rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-media { order: -1; }
  .hero-media img { height: clamp(260px, 45vh, 380px); }
  .strip .wrap { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .cards { grid-template-columns: 1fr; }
  .location-grid { grid-template-columns: 1fr; }
  .split { grid-template-columns: 1fr; }
  .split .split-media { order: -1; }
  .stats { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.4rem; }
}

@media (max-width: 640px) {
  body { font-size: 16px; }
  .nav-links {
    position: fixed;
    inset: 62px 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    background: var(--cream);
    border-bottom: 1px solid var(--line);
    padding: 0.8rem 22px 1.2rem;
    gap: 0.3rem;
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    transition: transform .25s ease;
  }
  .nav-links.open { transform: translateY(0); }
  .nav-links a { padding: 0.75rem 0.9rem; }
  .nav-toggle { display: block; }

  .steps { grid-template-columns: 1fr; }
  .gallery {
    grid-template-columns: 1fr 1fr;
    grid-auto-rows: 150px;
  }
  .gallery .wide { grid-column: span 2; }
  .gallery .tall { grid-row: span 1; }
  .hero-media .float-card { left: 8px; bottom: 12px; }
}
