/* Katie's Clever Canines
   Colours come from Katie's "Colour Palette Play Page" (Brand Guidelines Template).
   Fonts come from her Brand Guidelines Templates: Karla, EB Garamond, Dancing Script, Caveat.
   To swap a colour, change it here once and the whole site updates. */
:root {
  --teal: #176F70;    /* main brand colour: buttons, headings accents */
  --coral: #E98270;   /* warm accent: highlights, paw prints */
  --gold: #EFB24A;    /* sunny accent: badges, step numbers */
  --cream: #F9F4EB;   /* page background */
  --navy: #082D59;    /* text and dark sections */

  --white: #FFFFFF;
  --teal-dark: #0F5253;   /* hover shade of teal */
  --cream-deep: #F1E8D8;  /* slightly deeper cream for cards on cream */
  --line: rgba(8, 45, 89, 0.12);

  --font-body: "Karla", "Segoe UI", Arial, sans-serif;
  --font-head: "EB Garamond", Georgia, "Times New Roman", serif;
  --font-script: "Dancing Script", "Segoe Script", cursive;
  --font-note: "Caveat", "Segoe Print", cursive;

  --radius: 18px;
  --shadow: 0 10px 30px rgba(8, 45, 89, 0.10);
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); }
a:hover { color: var(--teal-dark); }

h1, h2, h3 {
  font-family: var(--font-head);
  font-weight: 600;
  line-height: 1.15;
  margin: 0 0 0.5em;
  color: var(--navy);
}
h1 { font-size: clamp(2.3rem, 5.5vw, 3.6rem); }
h2 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
h3 { font-size: 1.4rem; }
p { margin: 0 0 1em; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }
.section { padding: 80px 0; }
.section--white { background: var(--white); }
.section--teal { background: var(--teal); color: var(--white); }
.section--teal h2, .section--teal h3 { color: var(--white); }
.section--navy { background: var(--navy); color: var(--cream); }
.section--navy h2, .section--navy h3 { color: var(--cream); }

.eyebrow {
  font-family: var(--font-script);
  font-weight: 700;
  font-size: 1.6rem;
  color: var(--teal);
  display: block;
  margin-bottom: 4px;
}
.section--teal .eyebrow, .section--navy .eyebrow { color: var(--gold); }
.lead { font-size: 1.2rem; max-width: 46rem; }
.center { text-align: center; }
.center .lead { margin-left: auto; margin-right: auto; }
.note {
  font-family: var(--font-note);
  font-size: 1.45rem;
  line-height: 1.3;
  color: var(--teal);
}

/* Placeholders Katie needs to fill in: easy to spot, easy to search for */
.ph {
  display: inline-block;
  background: #FFF6DE;
  border: 2px dashed var(--gold);
  color: var(--navy);
  border-radius: 8px;
  padding: 2px 8px;
  font-size: 0.95em;
  font-style: normal;
}
.ph::before { content: "✎ "; }
.section--teal .ph, .section--navy .ph { color: var(--navy); }

/* Buttons */
.btn {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, background-color .15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn--primary { background: var(--teal); color: var(--white); }
.btn--primary:hover { background: var(--teal-dark); color: var(--white); }
.btn--coral { background: var(--coral); color: var(--navy); }
.btn--coral:hover { background: #E26F5B; color: var(--navy); }
.btn--ghost { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn--ghost:hover { background: var(--navy); color: var(--cream); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(249, 244, 235, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand img { width: 54px; height: 54px; }
.brand-text { line-height: 1; }
.brand-text .k { font-family: var(--font-script); font-weight: 700; font-size: 1.6rem; display: block; }
.brand-text .c { font-size: 0.72rem; letter-spacing: 0.28em; font-weight: 700; }
.nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 22px; align-items: center; }
.nav a { color: var(--navy); text-decoration: none; font-weight: 600; font-size: 0.98rem; }
.nav a:hover { color: var(--teal); }
.nav .btn { padding: 10px 20px; color: var(--white); }
.nav-toggle {
  display: none;
  background: none; border: 2px solid var(--navy); border-radius: 10px;
  padding: 8px 12px; font: inherit; font-weight: 700; color: var(--navy); cursor: pointer;
}

/* Hero */
.hero { padding: 56px 0 72px; position: relative; overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 48px; align-items: center; }
.hero h1 em { font-style: normal; color: var(--teal); }
.hero-logo { position: relative; width: 100%; max-width: 440px; margin: 0 auto; }
.hero-logo img { width: 100%; max-width: 440px; margin: 0 auto; filter: drop-shadow(0 18px 30px rgba(8,45,89,.15)); }
.hero-logo::before {
  content: ""; position: absolute; inset: 6% 2% 0 8%;
  background: var(--gold); opacity: .22; border-radius: 50%; z-index: -1;
  transform: translate(18px, 14px);
}
.hero-facts { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; padding: 0; list-style: none; }
.hero-facts li {
  background: var(--white); border: 1px solid var(--line); border-radius: 999px;
  padding: 6px 14px; font-size: 0.92rem; font-weight: 600;
}
.hero-facts li::before { content: ""; display: inline-block; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); margin-right: 8px; }

/* Before / after */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; margin-top: 36px; }
.card {
  background: var(--white); border-radius: var(--radius); padding: 30px;
  box-shadow: var(--shadow); border: 1px solid var(--line);
}
.card--cream { background: var(--cream); box-shadow: none; }
.card--from { border-top: 6px solid var(--coral); }
.card--to { border-top: 6px solid var(--teal); }
.ticks { list-style: none; padding: 0; margin: 0; }
.ticks li { padding-left: 34px; position: relative; margin-bottom: 12px; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 4px; width: 22px; height: 22px;
  background: url("images/paw.svg") center / contain no-repeat;
}
.ticks--teal li::before { content: "✓"; background: var(--teal); color: var(--white); border-radius: 50%; text-align: center; font-size: 0.8rem; line-height: 22px; font-weight: 700; }
.ticks--x li::before { content: "✕"; background: var(--cream-deep); color: var(--navy); border-radius: 50%; text-align: center; font-size: 0.75rem; line-height: 22px; font-weight: 700; }

/* About */
.about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: center; }
.photo-ph {
  aspect-ratio: 4 / 5; border-radius: var(--radius);
  background: var(--cream-deep);
  border: 2px dashed var(--gold);
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
  padding: 24px; gap: 14px; color: var(--navy);
}
.photo-ph img { width: 80%; opacity: .9; }
.values { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.value { background: var(--cream); border-radius: 14px; padding: 18px 20px; }
.value h3 { font-size: 1.15rem; margin-bottom: 4px; font-family: var(--font-body); font-weight: 700; }
.value p { margin: 0; font-size: 0.98rem; }

/* Course */
.course-top { display: grid; grid-template-columns: 1.2fr 0.8fr; gap: 40px; align-items: start; }
.price-card {
  background: var(--white); color: var(--navy); border-radius: var(--radius); padding: 30px;
  box-shadow: 0 16px 40px rgba(0,0,0,.18);
}
.price-card h3 { color: var(--navy); }
.price-card .price { font-family: var(--font-head); font-size: 2rem; font-weight: 600; margin: 6px 0 2px; }
.price-card .price .ph { font-family: var(--font-body); font-size: 1rem; font-weight: 600; }
.price-card dl { margin: 18px 0; display: grid; grid-template-columns: auto 1fr; gap: 8px 14px; }
.price-card dt { font-weight: 700; }
.price-card dd { margin: 0; }
.included { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 44px; }
.included .item { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.22); border-radius: 14px; padding: 20px; }
.included .item h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.08rem; margin-bottom: 4px; }
.included .item p { margin: 0; font-size: 0.97rem; opacity: .95; }

.weeks { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; margin-top: 36px; counter-reset: wk; }
.week { background: var(--white); border-radius: 16px; padding: 22px 18px; border: 1px solid var(--line); position: relative; }
.week .num {
  display: inline-flex; width: 44px; height: 44px; border-radius: 50%; align-items: center; justify-content: center;
  background: var(--gold); color: var(--navy); font-weight: 700; margin-bottom: 12px;
}
.week:nth-child(5) .num { background: var(--coral); }
.week h3 { font-size: 1.2rem; }
.week p { font-size: 0.95rem; margin: 0; }

.fit { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 40px; }

.bring { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 14px; padding: 0; list-style: none; }
.bring li { background: var(--cream); border-radius: 999px; padding: 6px 14px; font-weight: 600; font-size: 0.95rem; }

/* How it works */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin-top: 40px; position: relative; }
.step { text-align: center; padding: 0 6px; }
.step .dot {
  width: 74px; height: 74px; border-radius: 50%; margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  background: var(--white); border: 3px solid var(--teal); color: var(--teal);
  font-family: var(--font-head); font-weight: 600; font-size: 1.7rem;
}
.step h3 { font-family: var(--font-body); font-weight: 700; font-size: 1rem; letter-spacing: .14em; text-transform: uppercase; color: var(--teal); margin-bottom: 6px; }
.step p { font-size: 0.95rem; margin: 0; }

.journey { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 56px; }
.journey .card { padding: 24px; }
.journey .card h3 { font-size: 1.2rem; }
.journey .card p { margin: 0; font-size: 0.97rem; }
.journey .tag { font-family: var(--font-note); font-size: 1.35rem; color: var(--coral); display: block; line-height: 1; margin-bottom: 6px; }

/* Tools / levels */
.levels { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 36px; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.level { padding: 22px 18px; background: var(--white); border-right: 1px solid var(--line); }
.level:last-child { border-right: 0; }
.level .lv { font-family: var(--font-head); font-size: 2rem; font-weight: 600; color: var(--teal); line-height: 1; }
.level h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin: 8px 0 4px; }
.level p { margin: 0; font-size: 0.93rem; }
.level:nth-child(1) { border-top: 6px solid var(--coral); }
.level:nth-child(2) { border-top: 6px solid var(--gold); }
.level:nth-child(3) { border-top: 6px solid #B7CDC0; }
.level:nth-child(4) { border-top: 6px solid var(--teal); }
.level:nth-child(5) { border-top: 6px solid var(--navy); }
.tools { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 28px; }

/* Coming soon */
.soon { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 32px; }
.soon .card { padding: 20px; box-shadow: none; }
.soon h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.05rem; margin: 0; }

/* Testimonials */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
.quote { background: rgba(255,255,255,.07); border: 1px solid rgba(249,244,235,.22); border-radius: var(--radius); padding: 28px; }
.quote p { font-family: var(--font-head); font-size: 1.2rem; font-style: italic; }
.quote .who { font-family: var(--font-body); font-style: normal; font-weight: 700; color: var(--gold); font-size: 0.95rem; }

/* FAQ */
.faq { max-width: 820px; margin: 36px auto 0; }
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: 14px; margin-bottom: 12px; }
.faq summary {
  cursor: pointer; list-style: none; padding: 18px 54px 18px 22px; font-weight: 700; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  width: 28px; height: 28px; border-radius: 50%; background: var(--cream); color: var(--teal);
  display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 700;
}
.faq details[open] summary::after { content: "–"; background: var(--teal); color: var(--white); }
.faq details > div { padding: 0 22px 18px; }
.faq details > div p:last-child { margin-bottom: 0; }

/* Contact */
.contact { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 48px; align-items: start; }
.contact-info { list-style: none; padding: 0; margin: 20px 0 0; }
.contact-info li { margin-bottom: 12px; }
.contact-info strong { display: block; font-size: 0.85rem; letter-spacing: .12em; text-transform: uppercase; color: var(--teal); }
form.card { display: grid; grid-template-columns: 1fr 1fr; gap: 16px 18px; }
form .full { grid-column: 1 / -1; }
label { display: block; font-weight: 700; font-size: 0.92rem; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; font: inherit; color: var(--navy);
  background: var(--cream); border: 2px solid transparent; border-radius: 12px; padding: 12px 14px;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--teal); background: var(--white); }
textarea { min-height: 120px; resize: vertical; }
.checkbox { display: flex; gap: 10px; align-items: flex-start; font-weight: 400; }
.checkbox input { width: auto; margin-top: 5px; }
.form-note { font-size: 0.9rem; margin: 0; opacity: .85; }
.form-result {
  display: none; grid-column: 1 / -1; background: #FFF6DE; border: 2px dashed var(--gold); border-radius: 12px; padding: 16px;
}
.form-result.show { display: block; }

/* Footer */
.site-footer { background: var(--navy); color: var(--cream); padding: 48px 0 32px; }
.site-footer .wrap { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; }
.site-footer img { width: 96px; }
.site-footer a { color: var(--gold); }
.site-footer .small { font-size: 0.88rem; opacity: .8; margin: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 16px; }

/* Decorative paw trail */
.paw-trail { display: flex; gap: 18px; justify-content: center; margin: 0 0 18px; }
.paw-trail img { width: 22px; opacity: .8; }
.paw-trail img:nth-child(even) { transform: translateY(8px) rotate(14deg); }
.paw-trail img:nth-child(odd) { transform: rotate(-10deg); }

/* ---------- Tablet ---------- */
@media (max-width: 960px) {
  .weeks, .steps { grid-template-columns: repeat(2, 1fr); }
  .weeks .week:last-child, .steps .step:last-child { grid-column: 1 / -1; }
  .steps { gap: 28px 16px; }
  .levels { grid-template-columns: 1fr; }
  .level { border-right: 0; border-bottom: 1px solid var(--line); }
  .level:nth-child(n) { border-top: 0; border-left: 6px solid; }
  .level:nth-child(1) { border-left-color: var(--coral); }
  .level:nth-child(2) { border-left-color: var(--gold); }
  .level:nth-child(3) { border-left-color: #B7CDC0; }
  .level:nth-child(4) { border-left-color: var(--teal); }
  .level:nth-child(5) { border-left-color: var(--navy); }
  .journey, .soon { grid-template-columns: repeat(2, 1fr); }
  .included { grid-template-columns: repeat(2, 1fr); }
  .quotes { grid-template-columns: 1fr; }
  .course-top, .contact, .about { grid-template-columns: 1fr; }
  .about .photo-ph { max-width: 360px; aspect-ratio: 1 / 1; }
}

/* ---------- Phone ---------- */
@media (max-width: 820px) {
  .nav-toggle { display: block; }
  .nav {
    display: none; position: absolute; top: 100%; left: 0; right: 0;
    background: var(--cream); border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  }
  .nav.open { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 0; padding: 8px 16px 18px; }
  .nav li a { display: block; padding: 12px 4px; border-bottom: 1px solid var(--line); }
  .nav li:last-child a { border-bottom: 0; margin-top: 12px; text-align: center; }
}

@media (max-width: 680px) {
  body { font-size: 1rem; }
  .wrap { padding: 0 16px; }
  .section { padding: 56px 0; }
  .hero { padding: 28px 0 48px; }
  .hero .wrap { grid-template-columns: 1fr; gap: 24px; }
  .hero-logo { order: -1; }
  .hero-logo { max-width: 250px; }
  .split, .fit, .tools, .values { grid-template-columns: 1fr; }
  .weeks, .steps, .journey, .included { grid-template-columns: 1fr; }
  .soon { grid-template-columns: 1fr 1fr; }
  .step { display: grid; grid-template-columns: 64px 1fr; gap: 14px; text-align: left; align-items: center; }
  .step .dot { width: 60px; height: 60px; margin: 0; font-size: 1.4rem; }
  .card { padding: 22px; }
  form.card { grid-template-columns: 1fr; }
  .site-footer .wrap { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .footer-links { justify-content: center; }
  .btn-row .btn { flex: 1 1 auto; text-align: center; }
}

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