/* ============================================================
   Pawtastic Dog Training — shared styles
   Palette: Cream #FBF6F1 · Teal #3E7271 · Taupe #C9B9AA
   ============================================================ */

:root {
  --cream: #FBF6F1;
  --cream-deep: #F3EAE0;
  --teal: #3E7271;
  --teal-deep: #2C5453;
  --teal-ink: #1E3938;
  --teal-tint: #E2EDEC;
  --taupe: #C9B9AA;
  --taupe-deep: #8F8071;
  --sand: #EFE5D9;
}

html { scroll-behavior: smooth; }
body {
  background-color: var(--cream);
  color: var(--teal-ink);
  font-family: 'Figtree', system-ui, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.font-display { font-family: 'Baloo 2', 'Figtree', sans-serif; }

/* Eyebrow labels */
.eyebrow {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 1.02rem;
  line-height: 1;
  padding: 0.95rem 1.7rem 1.05rem;
  border-radius: 999px;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease;
}
.btn:focus-visible { outline: 3px solid var(--taupe-deep); outline-offset: 3px; }
.btn-primary { background: var(--teal); color: var(--cream); box-shadow: 0 6px 18px rgba(62, 114, 113, 0.28); }
.btn-primary:hover { background: var(--teal-deep); transform: translateY(-2px); }
.btn-secondary { background: transparent; color: var(--teal-deep); border: 2px solid var(--teal); }
.btn-secondary:hover { background: var(--teal-tint); transform: translateY(-2px); }
.btn-cream { background: var(--cream); color: var(--teal-deep); }
.btn-cream:hover { background: #fff; transform: translateY(-2px); }

/* Arch-shaped photo frames (kennel-door arch — the brand photo shape) */
.arch {
  border-radius: 999px 999px 28px 28px;
  overflow: hidden;
}
.arch-offset { position: relative; }
.arch-offset::before {
  content: "";
  position: absolute;
  inset: 0;
  transform: translate(16px, 16px);
  border-radius: 999px 999px 28px 28px;
  background: var(--taupe);
  opacity: 0.55;
  z-index: -1;
}

/* Paw bullet list */
.paw-list li {
  position: relative;
  padding-left: 2rem;
}
.paw-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.28em;
  width: 1.15rem;
  height: 1.15rem;
  background: var(--teal);
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cellipse cx='6' cy='8.5' rx='2.1' ry='2.8'/%3E%3Cellipse cx='18' cy='8.5' rx='2.1' ry='2.8'/%3E%3Cellipse cx='10' cy='5.5' rx='2.1' ry='2.9'/%3E%3Cellipse cx='14' cy='5.5' rx='2.1' ry='2.9'/%3E%3Cpath d='M12 11c-3.2 0-6 2.6-6 5.4 0 1.9 1.4 3.1 3.2 3.1 1 0 1.9-.5 2.8-.5s1.8.5 2.8.5c1.8 0 3.2-1.2 3.2-3.1C18 13.6 15.2 11 12 11z'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='currentColor'%3E%3Cellipse cx='6' cy='8.5' rx='2.1' ry='2.8'/%3E%3Cellipse cx='18' cy='8.5' rx='2.1' ry='2.8'/%3E%3Cellipse cx='10' cy='5.5' rx='2.1' ry='2.9'/%3E%3Cellipse cx='14' cy='5.5' rx='2.1' ry='2.9'/%3E%3Cpath d='M12 11c-3.2 0-6 2.6-6 5.4 0 1.9 1.4 3.1 3.2 3.1 1 0 1.9-.5 2.8-.5s1.8.5 2.8.5c1.8 0 3.2-1.2 3.2-3.1C18 13.6 15.2 11 12 11z'/%3E%3C/svg%3E") no-repeat center / contain;
}
.paw-list--cream li::before { background: var(--taupe); }

/* The signature: a hand-drawn lead trail */
.trail-line {
  stroke: var(--taupe-deep);
  stroke-width: 2.5;
  stroke-dasharray: 1 10;
  stroke-linecap: round;
  fill: none;
  opacity: 0.7;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: none; }

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

/* FAQ accordion */
.faq-item { border-bottom: 1.5px solid var(--cream-deep); }
.faq-q {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  text-align: left;
  padding: 1.4rem 0.25rem;
  font-family: 'Baloo 2', sans-serif;
  font-weight: 600;
  font-size: 1.18rem;
  color: var(--teal-deep);
}
.faq-q:focus-visible { outline: 3px solid var(--taupe-deep); outline-offset: 2px; border-radius: 8px; }
.faq-q .chev { transition: transform 0.25s ease; flex: none; }
.faq-item[data-open="true"] .chev { transform: rotate(180deg); }
.faq-a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}
.faq-item[data-open="true"] .faq-a { grid-template-rows: 1fr; }
.faq-a > div { overflow: hidden; }

/* Form fields */
.field label {
  display: block;
  font-weight: 700;
  font-size: 0.92rem;
  margin-bottom: 0.4rem;
  color: var(--teal-deep);
}
.field input, .field select, .field textarea {
  width: 100%;
  background: #fff;
  border: 1.5px solid var(--cream-deep);
  border-radius: 14px;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  color: var(--teal-ink);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px var(--teal-tint);
}
.check-pill { cursor: pointer; }
.check-pill input { position: absolute; opacity: 0; pointer-events: none; }
.check-pill span {
  display: inline-block;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  border: 1.5px solid var(--taupe);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--taupe-deep);
  transition: all 0.15s ease;
}
.check-pill input:checked + span { background: var(--teal); border-color: var(--teal); color: var(--cream); }
.check-pill input:focus-visible + span { outline: 3px solid var(--taupe-deep); outline-offset: 2px; }

/* Mobile nav */
#mobile-menu { display: none; }
#mobile-menu.open { display: block; }
