/* ============================================================
   COASTAL DOG TRAINING LLC — Main Stylesheet
   coastaldogtrainingllc.com
   ============================================================ */

/* ── IMPORTS ── */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;1,9..40,300;1,9..40,400&family=DM+Serif+Display:ital@0;1&display=swap');

/* ── TOKENS ── */
:root {
  /* Brand colors */
  --teal:       #00C9C8;
  --teal-dark:  #00A8A7;
  --blue:       #1B5FA8;
  --blue-dark:  #0D3D6E;
  --cyan:       #48B4E0;
  --foam:       #A8EEE8;
  --light:      #E8F9F9;
  --white:      #FFFFFF;

  /* Neutrals */
  --ink:        #1A1F2E;
  --ink-soft:   #4A5568;
  --ink-faint:  #718096;
  --border:     #E2E8F0;
  --bg:         #FFFFFF;

  /* Typography */
  --font-display: 'DM Serif Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;

  /* Spacing scale */
  --space-xs:   8px;
  --space-sm:   16px;
  --space-md:   24px;
  --space-lg:   40px;
  --space-xl:   64px;
  --space-2xl:  96px;

  /* Layout */
  --max-width:  1140px;
  --radius-sm:  6px;
  --radius-md:  12px;
  --radius-lg:  20px;

  /* Shadows */
  --shadow-sm:  0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md:  0 4px 16px rgba(0,0,0,0.08), 0 2px 4px rgba(0,0,0,0.04);
  --shadow-lg:  0 12px 40px rgba(0,0,0,0.10), 0 4px 8px rgba(0,0,0,0.04);
}

/* ── RESET ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font-family: var(--font-body); cursor: pointer; }
ul, ol { list-style: none; }

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.section { padding: var(--space-xl) 0; }
.section--alt { background: var(--light); }
.section--dark { background: var(--blue-dark); }
.section--teal { background: var(--teal); }
.section--blue { background: var(--blue); }

/* ── WAVE DIVIDER ── */
.wave-divider {
  height: 48px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
  margin-top: -1px;
}
.wave-divider--light { background: var(--light); }
.wave-divider--dark  { background: var(--blue-dark); }

/* ── TYPOGRAPHY ── */
.eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: var(--space-xs);
}
.eyebrow--light { color: var(--foam); }

h1, h2, h3 { font-family: var(--font-display); font-weight: 400; line-height: 1.2; }
h1 { font-size: clamp(32px, 5vw, 52px); }
h2 { font-size: clamp(24px, 3.5vw, 36px); }
h3 { font-size: clamp(18px, 2.5vw, 24px); }
h4 { font-size: 16px; font-weight: 600; line-height: 1.4; }
h5 { font-size: 13px; font-weight: 600; line-height: 1.4; }

p { font-size: 15px; line-height: 1.8; color: var(--ink-soft); }
p + p { margin-top: var(--space-sm); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2px;
  border: 2px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
}
.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn--primary:hover {
  background: var(--blue-dark);
  border-color: var(--blue-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--teal {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn--teal:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover {
  background: var(--blue);
  color: var(--white);
  transform: translateY(-1px);
}
.btn--outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn--outline-white:hover {
  background: var(--white);
  color: var(--blue);
  transform: translateY(-1px);
}
.btn--white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
}
.btn--white:hover {
  background: var(--light);
  border-color: var(--light);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn--white-teal {
  background: var(--white);
  color: var(--teal-dark);
  border-color: var(--white);
}
.btn--white-teal:hover {
  background: var(--light);
  border-color: var(--light);
  transform: translateY(-1px);
}
.btn--lg { padding: 15px 32px; font-size: 15px; }
.btn--sm { padding: 8px 16px; font-size: 13px; }

/* ── BADGES ── */
.badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}
.badge--teal { background: var(--teal); color: var(--white); }
.badge--light { background: var(--light); color: var(--blue); border: 1px solid var(--teal); }
.badge--coming { background: rgba(255,255,255,0.15); color: var(--white); border: 1px solid rgba(255,255,255,0.3); }

/* ── CARDS ── */
.card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.card:hover { border-color: var(--teal); box-shadow: var(--shadow-md); }
.card__body { padding: var(--space-md); }

/* ── INCLUDE LISTS ── */
.include-list { display: flex; flex-direction: column; gap: 10px; }
.include-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.5;
}
.include-list li::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
  margin-top: 6px;
}

/* ── AREA TAGS ── */
.area-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: var(--space-sm); }
.area-tag {
  background: var(--white);
  border: 1px solid var(--teal);
  color: var(--blue);
  border-radius: 20px;
  padding: 5px 14px;
  font-size: 12px;
  font-weight: 500;
}

/* ── NAVIGATION ── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.nav__logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav__logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}
.nav__logo-text {
  font-family: var(--font-display);
  font-size: 16px;
  color: var(--blue-dark);
  line-height: 1.2;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav__link {
  padding: 8px 12px;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-soft);
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  text-decoration: none;
}
.nav__link:hover { color: var(--blue); background: var(--light); }
.nav__link--active { color: var(--blue); font-weight: 600; }
.nav__cta { margin-left: var(--space-sm); }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 4px;
  cursor: pointer;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
  transition: all 0.2s;
}
.nav__mobile {
  display: none;
  flex-direction: column;
  padding: var(--space-sm) var(--space-lg);
  border-top: 1px solid var(--border);
  gap: 4px;
}
.nav__mobile.open { display: flex; }
.nav__mobile .nav__link { display: block; padding: 10px 12px; }

/* ── PAGE HERO ── */
.page-hero {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--cyan) 100%);
  padding: var(--space-xl) 0 calc(var(--space-xl) + 48px);
  position: relative;
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 48px;
  background: var(--white);
  clip-path: ellipse(55% 100% at 50% 100%);
}
.page-hero__eyebrow { color: var(--foam); margin-bottom: var(--space-xs); }
.page-hero__title { color: var(--white); margin-bottom: var(--space-sm); }
.page-hero__desc { color: #cceef0; max-width: 520px; font-size: 16px; }

/* ── TRUST BAR ── */
.trust-bar {
  background: var(--light);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
}
.trust-bar__inner {
  display: flex;
  gap: var(--space-lg);
  flex-wrap: wrap;
  justify-content: center;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--blue);
}
.trust-item::before {
  content: '';
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  flex-shrink: 0;
}

/* ── FOOTER ── */
.footer {
  background: var(--blue-dark);
  color: #cceef0;
  padding: var(--space-xl) 0 var(--space-md);
}
.footer__grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--space-xl);
  margin-bottom: var(--space-xl);
}
.footer__brand-logo {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: var(--space-sm);
}
.footer__brand-name {
  font-family: var(--font-display);
  font-size: 18px;
  color: var(--white);
  margin-bottom: var(--space-xs);
}
.footer__brand-desc {
  font-size: 13px;
  color: #99d6d5;
  line-height: 1.7;
  max-width: 220px;
}
.footer__social { display: flex; gap: 10px; margin-top: var(--space-sm); }
.footer__social-link {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  color: var(--white);
  text-decoration: none;
  transition: background 0.15s;
}
.footer__social-link:hover { background: var(--teal); border-color: var(--teal); }
.footer__col h4 {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: var(--space-sm);
}
.footer__col a {
  display: block;
  font-size: 13px;
  color: #99d6d5;
  margin-bottom: 8px;
  text-decoration: none;
  transition: color 0.15s;
}
.footer__col a:hover { color: var(--teal); }
.footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--space-md);
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 12px;
  color: #7ab8b8;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: var(--space-sm); }
.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--blue);
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 14px;
  font-family: var(--font-body);
  font-size: 14px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s;
  appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(0,201,200,0.12);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
.form-note { font-size: 11px; color: var(--ink-faint); line-height: 1.6; text-align: center; margin-top: var(--space-xs); }

/* ── FAQ ACCORDION ── */
.faq-list { display: flex; flex-direction: column; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:first-child { border-top: 1px solid var(--border); }
.faq-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: var(--space-sm);
  padding: 20px 0;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
}
.faq-question { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.4; }
.faq-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 16px;
  color: var(--blue);
  transition: all 0.2s;
  margin-top: 1px;
}
.faq-item.open .faq-icon {
  background: var(--teal);
  border-color: var(--teal);
  color: var(--white);
  transform: rotate(45deg);
}
.faq-answer {
  display: none;
  padding-bottom: 20px;
  font-size: 14px;
  color: var(--ink-soft);
  line-height: 1.8;
  max-width: 680px;
}
.faq-answer a { color: var(--blue); font-weight: 500; text-decoration: underline; }
.faq-item.open .faq-answer { display: block; }

/* ── REVIEW STARS ── */
.stars { color: #F5A623; font-size: 14px; letter-spacing: 1px; }

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .nav__links, .nav__cta { display: none; }
  .nav__toggle { display: flex; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: var(--space-lg); }
  .form-row { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .container { padding: 0 var(--space-sm); }
  .section { padding: var(--space-lg) 0; }
  .footer__grid { grid-template-columns: 1fr; }
  .trust-bar__inner { gap: var(--space-sm); }
}

/* ── UTILITIES ── */
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-foam { color: var(--foam) !important; }
.text-muted { color: #99d6d5 !important; }
.mt-xs { margin-top: var(--space-xs); }
.mt-sm { margin-top: var(--space-sm); }
.mt-md { margin-top: var(--space-md); }
.mt-lg { margin-top: var(--space-lg); }
.mb-sm { margin-bottom: var(--space-sm); }
.mb-md { margin-bottom: var(--space-md); }
.gap-sm { gap: var(--space-sm); }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-xl); }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--space-md); }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--space-md); }
@media (max-width: 900px) {
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
}
