/* Sample Ridgeline Dog Grooming - mobile first */
:root {
  --teal: #1F7A7A;
  --teal-deep: #0F4C4C;
  --cream: #FFF6E9;
  --sand: #F3E7D3;
  --text: #1E2B2B;
  --white: #FFFFFF;
  --radius: 14px;
  --heading: "Fraunces", Georgia, serif;
  --body: "Nunito Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body {
  margin: 0;
  font-family: var(--body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--text);
  background: var(--cream);
  padding-bottom: 64px; /* room for mobile call bar */
}
h1, h2, h3 { font-family: var(--heading); color: var(--teal-deep); line-height: 1.2; margin: 0 0 .6rem; }
h1 { font-size: clamp(2rem, 6vw, 3.4rem); font-weight: 700; }
h2 { font-size: clamp(1.6rem, 4vw, 2.3rem); font-weight: 700; }
h3 { font-size: 1.25rem; font-weight: 600; }
p { margin: 0 0 1rem; }
a { color: var(--teal-deep); }
a:focus-visible, .btn:focus-visible { outline: 3px solid #F2B33D; outline-offset: 3px; }

.container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 1.25rem; }
.narrow { max-width: 720px; }
.center { text-align: center; }

.skip-link { position: absolute; left: -999px; top: 0; background: var(--teal-deep); color: var(--white); padding: .5rem 1rem; z-index: 100; }
.skip-link:focus { left: 0; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 246, 233, .96);
  border-bottom: 1px solid var(--sand);
  backdrop-filter: blur(6px);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; }
.brand { font-family: var(--heading); font-weight: 700; font-size: 1.1rem; color: var(--teal-deep); text-decoration: none; }
.nav-links { display: none; list-style: none; margin: 0; padding: 0; gap: 1.25rem; }
.nav-links a { text-decoration: none; font-weight: 600; color: var(--text); }
.nav-links a:hover { color: var(--teal); }
.header-call { display: none; }

/* Buttons */
.btn {
  display: inline-block; font-family: var(--body); font-weight: 700; font-size: 1rem;
  padding: .85rem 1.4rem; border-radius: 999px; text-decoration: none; text-align: center;
  min-height: 48px; transition: transform .15s ease, background .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--teal); color: var(--white); }
.btn-primary:hover { background: var(--teal-deep); }
.btn-secondary { background: transparent; color: var(--teal-deep); border: 2px solid var(--teal); }
.btn-light { background: var(--white); color: var(--teal-deep); }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; margin: 1.25rem 0 .5rem; }

.badge {
  display: inline-block; background: var(--teal); color: var(--white);
  font-weight: 700; font-size: .9rem; letter-spacing: .02em;
  padding: .35rem .9rem; border-radius: 999px; margin-bottom: 1rem;
}

/* Placeholders: deliberately visible */
.placeholder { color: #8A4B00; background: #FFE9C7; border: 1px dashed #C98A2E; border-radius: 6px; padding: .2rem .5rem; font-size: .95rem; }
span.placeholder { display: inline; }
.small { font-size: .9rem; }
.section-teal .placeholder { color: #5A3300; }

.img-slot {
  margin: 0; display: flex; align-items: center; justify-content: center; text-align: center;
  background: repeating-linear-gradient(45deg, var(--sand), var(--sand) 12px, #EBDCC3 12px, #EBDCC3 24px);
  border: 2px dashed var(--teal); border-radius: var(--radius); padding: 1.5rem; color: var(--teal-deep);
  font-weight: 600; min-height: 220px;
}
.img-slot span { font-weight: 400; font-size: .95rem; }
.img-on-teal { border-color: var(--white); }
.img-wide { margin-top: 1.25rem; min-height: 180px; }
.map-slot { min-height: 160px; margin-top: 1rem; }
.map-slot p { margin: 0; }

/* Hero */
.hero { padding: 2.5rem 0 3rem; }
.hero-grid { display: grid; gap: 2rem; }
.hero-sub { font-size: 1.15rem; }
.hours-line { font-weight: 600; color: var(--teal-deep); margin-top: .75rem; }
.img-hero { min-height: 280px; }

/* Sections */
.section { padding: 3.5rem 0; }
.section-sand { background: var(--sand); }
.section-cream { background: var(--cream); }
.section-teal { background: var(--teal); color: var(--white); }
.section-teal h2 { color: var(--white); }
.section-sub { display: inline-block; }

.cards { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1.25rem; grid-template-columns: 1fr; }
.card {
  background: var(--cream); border-top: 5px solid var(--teal); border-radius: var(--radius);
  padding: 1.5rem; box-shadow: 0 2px 10px rgba(15, 76, 76, .08); display: flex; flex-direction: column;
}
.card p { margin-bottom: .6rem; }
.card-link { margin-top: auto; font-weight: 700; color: var(--teal-deep); }

.split { display: grid; gap: 2rem; align-items: center; }

.two-col { display: grid; gap: 2rem; margin-top: 1rem; }
.hours { margin: 0; }
.hours dt { font-weight: 700; }
.hours dd { margin: 0 0 1rem; }
.contact-list { list-style: none; padding: 0; margin: 0; }
.contact-list li { margin-bottom: .75rem; }

.cta-band .cta-text { font-family: var(--heading); font-size: clamp(1.4rem, 4vw, 2rem); font-weight: 700; }

/* Footer */
.site-footer { background: var(--teal-deep); color: var(--white); padding: 2rem 0; }
.site-footer a { color: var(--white); }
.footer-inner { display: flex; flex-direction: column; gap: .4rem; text-align: center; }

/* Mobile sticky call bar */
.mobile-call-bar {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 60;
  background: var(--teal); color: var(--white); text-align: center; font-weight: 700; font-size: 1.1rem;
  padding: 1rem; text-decoration: none; box-shadow: 0 -2px 10px rgba(0,0,0,.15);
}

/* Tablet */
@media (min-width: 600px) {
  .cards { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 768px) {
  body { padding-bottom: 0; }
  .mobile-call-bar { display: none; }
  .nav-links { display: flex; }
  .header-call { display: inline-block; padding: .6rem 1.1rem; min-height: 0; }
  .hero { padding: 4rem 0 4.5rem; }
  .hero-grid { grid-template-columns: 1.1fr 1fr; align-items: center; }
  .split { grid-template-columns: 1fr 1.2fr; }
  .two-col { grid-template-columns: 1fr 1fr; }
  .footer-inner { flex-direction: row; justify-content: space-between; text-align: left; }
}

@media (min-width: 1024px) {
  .cards { grid-template-columns: repeat(4, 1fr); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .btn { transition: none; }
}
