/* Bristol Dog Walkers — single-page styles */
:root {
  --color-primary: #1e9bd7;
  --color-primary-dark: #167cb0;
  --color-dark: #3b4150;
  --color-text: #2d3340;
  --color-muted: #7b8190;
  --color-bg: #ffffff;
  --color-bg-alt: #f6f7f9;
  --color-bg-dark: #111416;
  --max-width: 1140px;
  --radius: 4px;
  --shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  --font: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { color: var(--color-dark); font-weight: 700; margin: 0 0 .5em; }
a { color: var(--color-primary); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 1.25rem;
}
.container--narrow { max-width: 900px; }

.section {
  padding: 5rem 0;
}
.section__title {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 3rem;
}
.section__title--left { text-align: left; margin-bottom: 1rem; }

/* HERO */
.hero {
  position: relative;
  min-height: 70vh;
  /* hero.jpg is the real photo; hero-placeholder.svg is the fallback so the page still looks right before the photo is added */
  background-image: url('/images/hero.jpg'), url('/images/hero-placeholder.svg');
  background-size: cover, cover;
  background-position: center, center;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  padding: 6rem 1.25rem;
}
.hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
}
.hero__content { position: relative; z-index: 1; max-width: 800px; }
.hero h1 {
  color: #fff;
  font-size: clamp(2rem, 6vw, 4rem);
  margin-bottom: .5rem;
}
.hero__tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  margin: 0 0 2rem;
  opacity: .95;
}

/* BUTTONS */
.btn {
  display: inline-block;
  background: var(--color-primary);
  color: #fff;
  padding: .9rem 1.6rem;
  border: none;
  border-radius: var(--radius);
  font-weight: 700;
  letter-spacing: .05em;
  cursor: pointer;
  font-size: .85rem;
  text-transform: uppercase;
  transition: background .15s ease;
}
.btn:hover, .btn:focus { background: var(--color-primary-dark); color: #fff; }

/* SERVICES */
.section--services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 3rem 1.5rem;
  text-align: center;
}
.service__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 1rem;
}
.service__icon img { width: 48px; height: 48px; }
.service__name {
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-dark);
  margin: 0;
}

/* PRICES */
.section--prices { background: #fff; padding-top: 0; }
.prices-list {
  list-style: none;
  padding: 0;
  margin: 0;
  color: var(--color-muted);
}
.prices-list li { padding: .25rem 0; }

/* ABOUT */
.section--about { background: var(--color-bg-alt); }
.about {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 2.5rem;
  align-items: start;
  max-width: 760px;
  margin: 0 auto;
}
.about__photo { display: flex; justify-content: center; }
.about__photo-placeholder {
  width: 240px;
  height: 240px;
  background: #fff;
  border: 2px dashed #c8cdd6;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--color-muted);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.about__photo-placeholder span { font-weight: 700; font-size: 1.1rem; color: var(--color-dark); }
.about__photo-placeholder small { font-size: .75rem; margin-top: .25rem; }
.about__photo-img {
  width: 240px;
  height: 240px;
  object-fit: cover;
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.about__bio h3 { margin: 0 0 .25rem; }
.about__role {
  font-size: .8rem;
  letter-spacing: .15em;
  color: var(--color-muted);
  margin: 0 0 1rem;
}

/* CUSTOMERS */
.section--customers { background: #fff; padding-top: 2rem; }
.customers__intro {
  text-align: center;
  color: var(--color-muted);
  margin: 0 0 2.5rem;
}
.customers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 2.5rem 1.5rem;
  text-align: center;
  max-width: 900px;
  margin: 0 auto;
}
.customer { margin: 0; }
.customer__photo {
  width: 110px;
  height: 110px;
  margin: 0 auto 1rem;
  border-radius: 50%;
  background: #e6e9ee no-repeat center / cover;
  box-shadow: var(--shadow);
  border: 3px solid #fff;
  /* applies when .customer__photo is an <img> */
  object-fit: cover;
  object-position: center;
  display: block;
}
.customer__photo--placeholder {
  background-image: url('/images/paw.svg');
  background-size: 40%;
  background-repeat: no-repeat;
  background-position: center;
  background-color: #e6e9ee;
}
.customer h4 { font-size: 1rem; margin: 0 0 .25rem; }
.customer p { color: var(--color-muted); font-size: .9rem; margin: 0; }

/* CONTACT */
.section--contact {
  background: var(--color-bg-dark);
  color: #fff;
  padding: 5rem 0;
}
.contact {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact h2 { color: #fff; font-size: 2rem; }
.contact__details p { margin: .25rem 0; }
.contact__phone {
  font-size: 1.6rem;
  font-weight: 700;
  margin: 1.5rem 0 1rem !important;
}
.contact address { font-style: normal; color: #cfd2d8; line-height: 1.8; }
.contact address em { font-style: italic; }

.contact__form-wrap {
  background: #fff;
  color: var(--color-text);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.contact__form-header {
  background: var(--color-primary);
  color: #fff;
  text-align: center;
  padding: 1rem;
  font-weight: 700;
}
.contact__form { padding: 1.5rem 1.5rem 2rem; }
.field { margin-bottom: 1.25rem; }
.field label {
  display: block;
  font-weight: 700;
  font-size: .9rem;
  margin-bottom: .25rem;
}
.field .req { color: #d23; }
.field input, .field textarea {
  width: 100%;
  border: none;
  border-bottom: 1px solid #c8cdd6;
  background: transparent;
  padding: .5rem 0;
  font-family: inherit;
  font-size: 1rem;
  color: var(--color-text);
  outline: none;
  transition: border-color .15s ease;
}
.field input:focus, .field textarea:focus { border-color: var(--color-primary); }
.field textarea { resize: vertical; }
.field__hint { color: var(--color-muted); font-size: .8rem; }
.field--hp { position: absolute; left: -9999px; height: 0; overflow: hidden; }
.contact__submit { margin-top: .5rem; width: 100%; }
.form-status { margin-top: 1rem; font-weight: 600; min-height: 1.5em; }
.form-status.is-error { color: #d23; }
.form-status.is-success { color: #1a7a3a; }

/* FOOTER */
.site-footer {
  background: var(--color-bg-dark);
  color: #777b85;
  padding: 1.5rem 0;
  text-align: center;
  font-size: .85rem;
  border-top: 1px solid #1f2326;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .section { padding: 3.5rem 0; }
  .about { grid-template-columns: 1fr; text-align: center; }
  .about__bio { text-align: left; }
  .contact { grid-template-columns: 1fr; }
  .hero { min-height: 55vh; padding: 4rem 1.25rem; }
}
