/* Kindly K9 Training — v3 design system
   Brand: flyer blue (sourced from the owner's real flyer, kept exact) + leather-leash
   tan, on a warm canvas ground instead of stark white. Signature: the leash line as a
   structural horizon under every hero. No build step. Edit, save, redeploy. */

:root {
  --blue: #1479c9;
  --blue-dark: #0d5a99;
  --navy: #0c1f33;
  --navy-2: #14304c;
  --canvas: #f6f1e6;       /* warm ground — replaces stark white as the page bg */
  --canvas-alt: #ede3cd;   /* deeper canvas tint for alternating sections */
  --tile: #efe6d2;         /* icon-tile fill */
  --white: #ffffff;        /* reserved for cards/surfaces — "paper on canvas" */
  --ink: #21303e;
  --muted: #5b6a76;
  --line: #e3d7bd;         /* warm hairline, replaces cool blue-grey border */
  --leash: #b9772e;        /* leather leash — signature accent, now structural */
  --leash-dark: #93601f;
  --radius: 10px;
  --radius-lg: 18px;
  --shadow: 0 8px 22px rgba(20, 22, 15, 0.14);
  --font-display: "Bevan", Georgia, "Times New Roman", serif;
  --font-body: "Karla", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-cond: "Barlow Condensed", "Arial Narrow", sans-serif;
}

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

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--canvas);
  line-height: 1.65;
  font-size: 1.0325rem;
  -webkit-font-smoothing: antialiased;
}

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

a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  border-radius: 4px;
}

.container { width: min(1120px, 92%); margin-inline: auto; }
.container-narrow { width: min(780px, 92%); }

h1, h2 {
  font-family: var(--font-display);
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: -0.005em;
  line-height: 1.14;
  color: var(--navy);
}
h1 { font-size: clamp(1.9rem, 4.8vw, 3.1rem); }
h2 { font-size: clamp(1.35rem, 3vw, 2rem); margin-bottom: 0.5em; }
h3 {
  font-size: 1.16rem;
  margin-bottom: 0.35em;
  color: var(--navy);
  font-weight: 700;
  line-height: 1.25;
}

.center { text-align: center; }

/* eyebrow labels read as small tags — a short leash-tan tick, not decoration */
.eyebrow {
  display: block;
  font-family: var(--font-cond);
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 0.75em;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 30px;
  height: 3px;
  border-radius: 2px;
  background: var(--leash);
  margin-top: 0.55em;
}
.eyebrow.center::after { margin-inline: auto; }
.page-hero .eyebrow::after, .hero .eyebrow::after { background: var(--leash); }

.section { padding: clamp(3.2rem, 7.5vw, 5.2rem) 0; }
.section-alt { background: var(--canvas-alt); }
.section-lede { max-width: 660px; margin: 0 auto 2.4rem; color: var(--muted); }

.prose p { margin-bottom: 1em; }
.prose p:last-child { margin-bottom: 0; }
.prose a { color: var(--blue); font-weight: 600; }
.prose strong { color: var(--navy); }

/* ---------- inline icons (replace all emoji) ---------- */
.icon-inline {
  width: 1.15em;
  height: 1.15em;
  vertical-align: -0.18em;
  margin-right: 0.4em;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.icon-tile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: var(--tile);
  border: 1px solid var(--line);
  margin-bottom: 0.85rem;
}
.icon-tile svg {
  width: 26px;
  height: 26px;
  stroke: var(--blue);
  fill: none;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-tile svg.icon-fill { fill: var(--blue); stroke: none; }

/* ---------- signature: the leash line ---------- */
.leash-divider {
  display: block;
  width: min(420px, 85%);
  height: 40px;
  margin: 0.5rem 0 0;
}
.leash-divider.centered { margin: 0.5rem auto 0; }
.leash-divider .leash-path {
  fill: none;
  stroke: var(--leash);
  stroke-width: 4;
  stroke-linecap: round;
}
.leash-divider .leash-clip { fill: var(--leash-dark); }
.on-dark .leash-path { stroke: var(--leash); }

/* ---------- header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(246, 241, 230, 0.94);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 0;
}

.brand { display: flex; align-items: center; gap: 0.55rem; text-decoration: none; }

.brand-badge {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: var(--white);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.05rem;
  box-shadow: var(--shadow);
}

.brand-name {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--navy);
  font-size: 1.2rem;
}
.brand-name em { color: var(--blue); font-style: normal; }

.nav-links { display: flex; align-items: center; gap: 1.35rem; list-style: none; }
.nav-links a {
  text-decoration: none;
  color: var(--ink);
  font-weight: 600;
  font-size: 0.97rem;
}
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--blue); }

.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  padding: 0.5rem 1.05rem;
  border-radius: 999px;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--blue-dark); }

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 10px;
  cursor: pointer;
}
.nav-toggle span {
  width: 24px; height: 3px; border-radius: 2px;
  background: var(--navy);
  transition: transform 0.2s, opacity 0.2s;
}

/* ---------- home hero + interior page hero (shared: flat ink, leash horizon) ---------- */
.hero, .page-hero {
  background: linear-gradient(180deg, var(--navy-2), var(--navy) 75%);
  color: var(--white);
  border-bottom: 4px solid var(--leash);
}
.hero {
  padding: clamp(3.2rem, 8vw, 6rem) 0 clamp(3.6rem, 8vw, 6.2rem);
  overflow: hidden;
}
.hero h1 { color: var(--white); max-width: 13em; }
.hero .eyebrow { color: #8ec7ef; }
.hero .hl { color: #6db9ee; }

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 3rem;
  align-items: center;
}

.lede {
  margin: 1.2rem 0 1.7rem;
  font-size: 1.12rem;
  max-width: 34rem;
}
.hero .lede { color: #c3d6e7; }
.hero .lede strong { color: var(--white); }

.cta-row { display: flex; flex-wrap: wrap; gap: 0.8rem; }

.btn {
  display: inline-block;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.12s ease, background 0.15s, color 0.15s;
  cursor: pointer;
  font-size: 1rem;
  font-family: var(--font-body);
  text-align: center;
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--blue); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-secondary { border-color: var(--blue); color: var(--blue); background: var(--white); }
.btn-secondary:hover { background: var(--canvas); }
.btn-ghost-dark { border-color: rgba(255,255,255,0.55); color: var(--white); background: transparent; }
.btn-ghost-dark:hover { background: rgba(255,255,255,0.12); }
.btn-youtube { background: #cc0000; color: var(--white); }
.btn-youtube:hover { background: #a30000; }
.btn-block { display: block; width: 100%; }

.cta-sub { margin-top: 0.7rem; font-size: 0.94rem; color: var(--muted); }
.hero .cta-sub { color: #9db8ce; }
.cta-sub a { color: var(--blue); }
.hero .cta-sub a { color: #8ec7ef; }

.hero-points {
  list-style: none;
  margin-top: 1.7rem;
  display: grid;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  color: #dce9f4;
}
.hero-points li { padding-left: 1.6em; position: relative; }
.hero-points li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--leash);
  font-weight: 800;
}

.hero-art { position: relative; }
.hero-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(4px);
}
.hero-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.16);
}
.hero-card-title {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 1.25rem;
}
.hero-card-sub { color: #b7cde0; font-size: 0.95rem; }

/* ---------- interior page hero ---------- */
.page-hero {
  padding: clamp(2.6rem, 6vw, 4.2rem) 0 clamp(2.8rem, 6vw, 4.4rem);
}
.page-hero h1 { color: var(--white); max-width: 18em; }
.page-hero .lede { color: #c3d6e7; margin-bottom: 0; }
.page-hero .lede strong { color: var(--white); }
.page-hero .cta-row { margin-top: 1.6rem; }

.breadcrumbs {
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.92rem;
  margin-bottom: 1.1rem;
  color: #9db8ce;
}
.breadcrumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 0.45em; }
.breadcrumbs li + li::before { content: "/"; margin-right: 0.45em; color: #5d7a94; }
.breadcrumbs a { color: #8ec7ef; text-decoration: none; }
.breadcrumbs a:hover { text-decoration: underline; }

/* ---------- trust bar ---------- */
.trustbar {
  background: var(--navy);
  color: var(--white);
  padding: 0.8rem 0;
  font-weight: 600;
  font-size: 0.95rem;
}
.trustbar a { color: #9fd0f5; text-decoration: none; }
.trustbar-row { display: flex; flex-wrap: wrap; gap: 0.5rem 2.2rem; justify-content: center; }
.trustbar-row span { display: inline-flex; align-items: center; }
.trustbar .icon-inline { stroke: var(--leash); }

/* ---------- cards ---------- */
.cards {
  margin-top: 2.2rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.2rem;
}
.cards-2 { grid-template-columns: repeat(2, 1fr); }
.cards-3 { grid-template-columns: repeat(3, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem 1.4rem;
  box-shadow: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--blue); }
.card p { color: var(--muted); font-size: 0.97rem; }
a.card { display: block; text-decoration: none; }
a.card .card-more {
  display: inline-block;
  margin-top: 0.8rem;
  color: var(--blue);
  font-weight: 700;
  font-size: 0.95rem;
}
a.card:hover .card-more { text-decoration: underline; }

/* ---------- steps ---------- */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: 2rem; }
.steps-4 { grid-template-columns: repeat(4, 1fr); }
.step {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  border: 1px solid var(--line);
}
.step-num {
  display: inline-grid;
  place-items: center;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--leash);
  color: var(--navy);
  font-family: var(--font-cond);
  font-weight: 700;
  font-size: 1.15rem;
  margin-bottom: 0.9rem;
}
.step p { color: var(--muted); font-size: 0.96rem; }

/* ---------- content lists ---------- */
.checklist, .bullet-list { list-style: none; display: grid; gap: 0.65rem; margin: 1.2rem 0; }
.checklist li, .bullet-list li { padding-left: 1.7em; position: relative; }
.checklist li::before {
  content: "✓";
  position: absolute; left: 0;
  color: var(--blue);
  font-weight: 800;
}
.bullet-list li::before {
  content: "";
  position: absolute; left: 0.2em; top: 0.62em;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--leash);
}

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.6rem; align-items: start; }

/* ---------- CTA band ---------- */
.cta-band {
  background: var(--navy);
  color: var(--white);
  padding: clamp(2.6rem, 6vw, 4rem) 0;
  text-align: center;
  border-top: 4px solid var(--leash);
}
.cta-band h2 { color: var(--white); }
.cta-band p { color: #c3d6e7; max-width: 560px; margin: 0.4rem auto 1.5rem; }
.cta-band .cta-row { justify-content: center; }

/* ---------- reviews ---------- */
.reviews { margin-top: 2.2rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.review {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.6rem;
}
.review blockquote { color: var(--ink); font-size: 0.97rem; }
.review blockquote::before { content: "\201C"; color: var(--blue); font-size: 1.6rem; line-height: 0; margin-right: 2px; }
.review figcaption { margin-top: 0.9rem; font-weight: 700; color: var(--navy); font-size: 0.9rem; }
.placeholder-review { border-style: dashed; border-color: #cdb488; }
.placeholder-review blockquote, .placeholder-review figcaption { color: var(--muted); }
.reviews-note { margin-top: 1.4rem; font-size: 0.88rem; color: var(--muted); display: flex; align-items: center; justify-content: center; gap: 0.4rem; }
.reviews-note .icon-inline { margin-right: 0; stroke: var(--leash); }

/* ---------- video embeds ---------- */
.video-embed {
  aspect-ratio: 16 / 9;
  width: 100%;
  border: 0;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: var(--navy);
}
.video-caption { margin-top: 0.7rem; font-size: 0.92rem; color: var(--muted); }

/* ---------- FAQ ---------- */
.faq details {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.3rem;
  margin-top: 0.8rem;
}
.faq summary {
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--blue); font-size: 1.3rem; font-weight: 800; flex-shrink: 0; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { margin-top: 0.7rem; color: var(--muted); }
.faq a { color: var(--blue); }

/* ---------- link hubs / chips ---------- */
.chip-row { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.chip {
  display: inline-block;
  padding: 0.5rem 1.1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--line);
  background: var(--white);
  color: var(--navy);
  font-family: var(--font-cond);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  text-decoration: none;
  font-size: 0.98rem;
}
.chip:hover { border-color: var(--blue); color: var(--blue); }

/* ---------- area list ---------- */
.area-grid { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 3rem; align-items: center; }
.area-grid p { color: var(--muted); margin: 0.6rem 0 1.4rem; }
.area-list {
  list-style: none;
  display: grid;
  gap: 0.9rem;
  font-family: var(--font-cond);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--navy);
  background: var(--tile);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.area-list li { display: flex; align-items: center; gap: 0.7rem; }
.area-list a { color: var(--navy); text-decoration: none; }
.area-list a:hover { color: var(--blue); }
.area-dot {
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 0 4px rgba(20, 121, 201, 0.18);
  flex-shrink: 0;
}

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 3rem; align-items: start; }
.contact-copy p { color: var(--muted); margin: 0.6rem 0 1.2rem; }
.contact-direct { display: grid; gap: 0.7rem; max-width: 340px; }
.contact-direct .btn { display: flex; align-items: center; justify-content: center; }
.contact-social { font-size: 0.95rem; }
.contact-social a { color: var(--blue); font-weight: 700; }

.contact-form {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  padding: 1.8rem;
  display: grid;
  gap: 1rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.contact-form label {
  display: grid;
  gap: 0.35rem;
  font-weight: 700;
  color: var(--navy);
  font-size: 0.9rem;
}
.contact-form input, .contact-form textarea {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 0.7rem 0.9rem;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  background: #fbf8f0;
  color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(20, 121, 201, 0.15);
}
.form-status { min-height: 1.2em; font-weight: 700; font-size: 0.95rem; }
.form-status.ok { color: #1a7f4b; }
.form-status.err { color: #b3261e; }
.hidden { display: none; }

/* ---------- footer ---------- */
.site-footer {
  background: var(--navy);
  color: #c8d8e6;
  padding: 2.8rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 2rem;
}
.footer-brand {
  font-family: var(--font-cond);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--white);
  font-size: 1.25rem;
  margin-bottom: 0.4rem;
}
.footer-brand em { color: #6db9ee; font-style: normal; }
.footer-col h3 {
  color: var(--white);
  font-family: var(--font-cond);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 1rem;
  margin-bottom: 0.7rem;
}
.footer-col ul { list-style: none; display: grid; gap: 0.45rem; font-size: 0.95rem; }
.site-footer a { color: #9fd0f5; text-decoration: none; font-weight: 600; }
.site-footer a:hover { text-decoration: underline; }
.footer-fine { margin-top: 2rem; font-size: 0.85rem; color: #7f95a8; }

/* ---------- mobile action bar ---------- */
.action-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 60;
  background: var(--navy);
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.55rem 0.7rem calc(0.55rem + env(safe-area-inset-bottom));
  gap: 0.6rem;
}
.action-bar a {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  text-decoration: none;
  font-weight: 700;
  padding: 0.65rem 0.5rem;
  border-radius: 10px;
  font-size: 0.98rem;
}
.action-bar a .icon-inline { margin-right: 0; }
.action-bar .ab-text { background: var(--blue); color: var(--white); }
.action-bar .ab-call { background: rgba(255, 255, 255, 0.12); color: var(--white); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .hero-grid, .area-grid, .contact-grid, .two-col { grid-template-columns: 1fr; gap: 2rem; }
  .cards, .cards-3 { grid-template-columns: 1fr 1fr; }
  .steps, .steps-4 { grid-template-columns: 1fr; }
  .reviews { grid-template-columns: 1fr; }
  .hero-art { max-width: 380px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 720px) {
  .nav-toggle { display: flex; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%; left: 0; right: 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: var(--canvas);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
    padding: 0.5rem 0;
  }
  .nav-links.open { display: flex; }
  .nav-links li { text-align: center; }
  .nav-links a { display: block; padding: 0.8rem 1rem; }
  .nav-cta { border-radius: 0; margin-top: 0.3rem; }
  .cards, .cards-2, .cards-3 { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .action-bar { display: flex; }
  body { padding-bottom: 64px; }
  .footer-grid { grid-template-columns: 1fr; }
}
