/* ============================================
   K9 COVENANT — Brand Design System
   Colors from logo: Navy #1B2A4A, Gold #C4943A
   ============================================ */

:root {
  --navy:       #1B2A4A;
  --navy-deep:  #111D33;
  --navy-light: #243556;
  --stone:      #2C3E50;
  --stone-warm: #3D4F5F;
  --slate:      #4A5568;
  --warm-gray:  #F7F5F2;
  --gold:       #C4943A;
  --gold-light: #D4A94F;
  --gold-pale:  #F5EDE0;
  --white:      #FFFFFF;
  --off-white:  #F8F6F3;
  --gray-100:   #F3F1EE;
  --gray-200:   #E5E2DD;
  --gray-400:   #9B9690;
  --gray-600:   #6B665F;
  --gray-800:   #3D3832;
  --font-heading: 'Playfair Display', Georgia, serif;
  --font-body:    'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --section-pad: clamp(60px, 10vw, 120px);
}

/* ---- RESET ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font-body); color: var(--gray-800); line-height: 1.65; background: var(--white); }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ---- UTILITIES ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.center { text-align: center; }
.section-label { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 3px; color: var(--gold); margin-bottom: 12px; }
.section-label.light { color: var(--gold-light); }
.section-title { font-family: var(--font-heading); font-size: clamp(28px, 5vw, 44px); font-weight: 800; color: var(--navy); line-height: 1.15; margin-bottom: 20px; }
.section-title.light { color: var(--white); }
.section-sub { font-size: 17px; color: var(--gray-600); max-width: 680px; margin: 0 auto 48px; line-height: 1.7; }

/* ---- BUTTONS ---- */
.btn { display: inline-block; padding: 14px 32px; font-size: 15px; font-weight: 600; border-radius: 4px; transition: all .25s ease; cursor: pointer; border: 2px solid transparent; letter-spacing: 0.5px; }
.btn-primary { background: var(--gold); color: var(--white); border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-1px); }
.btn-outline { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline:hover { border-color: var(--white); background: rgba(255,255,255,.1); }
.btn-full { width: 100%; text-align: center; }

/* ============================================
   NAVIGATION
   ============================================ */
.nav { position: fixed; top: 0; left: 0; right: 0; z-index: 1000; padding: 16px 0; transition: all .3s ease; }
.nav.scrolled { background: rgba(44,62,80,.97); backdrop-filter: blur(8px); padding: 10px 0; box-shadow: 0 2px 20px rgba(0,0,0,.15); }
.nav-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: baseline; gap: 4px; }
.logo-k9 { font-family: var(--font-body); font-size: 20px; font-weight: 700; color: var(--gold); letter-spacing: 3px; text-transform: uppercase; }
.logo-covenant { font-size: 20px; font-weight: 700; color: var(--white); letter-spacing: 3px; text-transform: uppercase; margin-left: 2px; }
.logo-est { font-size: 10px; color: var(--gold); letter-spacing: 2px; margin-left: 8px; opacity: .7; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a { font-size: 14px; font-weight: 500; color: rgba(255,255,255,.8); transition: color .2s; letter-spacing: 0.3px; }
.nav-links a:hover { color: var(--gold); }
.nav-cta { background: var(--gold) !important; color: var(--white) !important; padding: 8px 20px !important; border-radius: 4px !important; font-weight: 600 !important; }
.nav-cta:hover { background: var(--gold-light) !important; }
.nav-toggle { display: none; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--white); margin: 5px 0; transition: all .3s; }

/* ============================================
   HERO
   ============================================ */
.hero { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; background: var(--stone); overflow: hidden; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(135deg, rgba(44,62,80,.95) 0%, rgba(61,79,95,.85) 50%, rgba(44,62,80,.92) 100%); }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 120px 24px 80px; max-width: 800px; }
/* Hero logo — big, in your face */
.hero-logo-wrap {
  margin: 0 auto 40px;
  padding: 32px 48px;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.92) 0%, rgba(255,255,255,.85) 60%, rgba(255,255,255,0) 100%);
  border-radius: 16px;
  display: inline-block;
}
.hero-logo-img {
  height: clamp(200px, 30vw, 320px);
  width: auto;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 4px 16px rgba(0,0,0,.15));
}

.hero-tagline { font-size: 14px; font-weight: 600; text-transform: uppercase; letter-spacing: 4px; color: var(--gold); margin-bottom: 24px; }
.hero-title { font-family: var(--font-heading); font-size: clamp(40px, 8vw, 72px); font-weight: 800; color: var(--white); line-height: 1.05; margin-bottom: 24px; }
.hero-sub { font-size: 18px; color: rgba(255,255,255,.7); line-height: 1.7; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); text-align: center; z-index: 2; }
.hero-scroll span { font-size: 11px; text-transform: uppercase; letter-spacing: 3px; color: rgba(255,255,255,.4); }
.scroll-line { width: 1px; height: 40px; background: linear-gradient(to bottom, rgba(255,255,255,.3), transparent); margin: 8px auto 0; }

/* Hero logo watermark */
.hero::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  width: 500px; height: 500px;
  transform: translate(-50%, -50%);
  background: url('images/logo-shield.png') center/contain no-repeat;
  opacity: .04;
  z-index: 1;
}

/* ============================================
   CREDENTIALS BAR
   ============================================ */
.cred-bar { background: var(--navy); padding: 40px 0; }
.cred-bar .cred-number { color: var(--gold); }
.cred-bar .cred-label { color: rgba(255,255,255,.8); }
.cred-items { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; text-align: center; position: relative; }
.cred-item { padding: 0 20px; }
.cred-number { font-family: var(--font-heading); font-size: 36px; font-weight: 800; color: var(--gold); }
.cred-label { font-size: 12px; color: rgba(255,255,255,.7); margin-top: 4px; line-height: 1.4; }
.cred-divider { display: none; }

/* ============================================
   ABOUT
   ============================================ */
.about { padding: var(--section-pad) 0; background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 64px; align-items: start; }
.about-image { position: relative; }
.image-placeholder { background: var(--gray-100); border-radius: 8px; aspect-ratio: 3/4; display: flex; flex-direction: column; align-items: center; justify-content: center; border: 2px dashed var(--gray-200); color: var(--gray-400); }
.image-placeholder.tall { aspect-ratio: 2/3; }
.placeholder-icon { font-size: 48px; margin-bottom: 12px; }
.image-placeholder p { font-size: 14px; text-align: center; }
.about-image-caption { display: flex; align-items: center; gap: 12px; margin-top: 16px; font-size: 13px; color: var(--gray-600); font-weight: 500; letter-spacing: 1px; text-transform: uppercase; }
.caption-line { flex: 0 0 40px; height: 2px; background: var(--gold); }
.about-text p { font-size: 16px; color: var(--gray-600); margin-bottom: 16px; line-height: 1.75; }
.about-text p strong { color: var(--navy); }
.about-lead { font-size: 18px !important; color: var(--gray-800) !important; font-weight: 500; }
.about-signature { margin-top: 32px; padding: 24px; background: var(--gold-pale); border-left: 4px solid var(--gold); border-radius: 0 8px 8px 0; }
.signature-text { font-family: var(--font-heading); font-size: 18px; color: var(--navy); line-height: 1.5; font-style: italic; }

/* ============================================
   SERVICES
   ============================================ */
.services { padding: var(--section-pad) 0; background: var(--off-white); }
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card { background: var(--white); border-radius: 8px; padding: 32px 28px; border: 1px solid var(--gray-200); transition: all .3s ease; position: relative; overflow: hidden; }
.service-card:hover { transform: translateY(-4px); box-shadow: 0 12px 40px rgba(27,42,74,.1); border-color: var(--gold); }
.service-card.featured { border-color: var(--gold); }
.service-card.featured::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--gold); }
.service-badge { position: absolute; top: 16px; right: 16px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--gold); background: var(--gold-pale); padding: 4px 10px; border-radius: 4px; }
.service-icon { font-size: 32px; margin-bottom: 16px; }
.service-title { font-family: var(--font-heading); font-size: 20px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.service-desc { font-size: 14px; color: var(--gray-600); line-height: 1.7; margin-bottom: 16px; }
.service-features { margin-bottom: 16px; }
.service-features li { font-size: 13px; color: var(--gray-600); padding: 3px 0 3px 20px; position: relative; }
.service-features li::before { content: '✓'; position: absolute; left: 0; color: var(--gold); font-weight: 700; }
.service-delivery { display: flex; gap: 8px; flex-wrap: wrap; }
.delivery-tag { font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 20px; background: var(--navy); color: rgba(255,255,255,.9); letter-spacing: 0.3px; }

/* ============================================
   APPROACH
   ============================================ */
.approach { padding: var(--section-pad) 0; background: var(--white); }
.approach-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 64px; align-items: center; }
.approach-lead { font-size: 18px; color: var(--gray-800); font-weight: 500; margin-bottom: 16px; }
.approach-text p { font-size: 16px; color: var(--gray-600); line-height: 1.75; margin-bottom: 16px; }
.approach-principles { margin-top: 40px; }
.principle { display: flex; gap: 20px; margin-bottom: 28px; }
.principle-num { font-family: var(--font-heading); font-size: 28px; font-weight: 800; color: var(--gold); flex-shrink: 0; line-height: 1; padding-top: 2px; }
.principle-body h4 { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.principle-body p { font-size: 14px; color: var(--gray-600); line-height: 1.6; }

/* ============================================
   CREDENTIALS / TIMELINE
   ============================================ */
.credentials { padding: var(--section-pad) 0; background: linear-gradient(180deg, var(--stone) 0%, var(--stone-warm) 100%); }
.timeline { max-width: 700px; margin: 0 auto; position: relative; padding-left: 40px; }
.timeline::before { content: ''; position: absolute; left: 8px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--gold), rgba(196,148,58,.3)); }
.timeline-item { position: relative; margin-bottom: 36px; }
.timeline-item::before { content: ''; position: absolute; left: -36px; top: 6px; width: 12px; height: 12px; border-radius: 50%; background: var(--stone); border: 2px solid var(--gold); }
.timeline-item.highlight::before { background: var(--gold); box-shadow: 0 0 0 4px rgba(196,148,58,.3); }
.timeline-year { font-family: var(--font-heading); font-size: 14px; font-weight: 700; color: var(--gold); letter-spacing: 2px; margin-bottom: 4px; }
.timeline-content h4 { font-size: 17px; font-weight: 700; color: var(--white); margin-bottom: 6px; }
.timeline-content p { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ============================================
   TESTIMONIALS
   ============================================ */
.testimonials { padding: var(--section-pad) 0; background: var(--off-white); }
.testimonial-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; max-width: 800px; margin: 0 auto; }
.testimonial-card { background: var(--white); border-radius: 8px; padding: 32px; border: 1px solid var(--gray-200); }
.testimonial-stars { color: var(--gold); font-size: 18px; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 15px; color: var(--gray-600); line-height: 1.7; font-style: italic; margin-bottom: 16px; }
.testimonial-author { font-size: 14px; font-weight: 600; color: var(--navy); }

/* ============================================
   CONTACT
   ============================================ */
.contact { padding: var(--section-pad) 0; background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; }
.contact-info p { font-size: 16px; color: var(--gray-600); line-height: 1.7; margin-bottom: 12px; }
.contact-details { margin-top: 32px; }
.contact-item { display: flex; gap: 16px; margin-bottom: 20px; }
.contact-icon { font-size: 20px; flex-shrink: 0; margin-top: 2px; }
.contact-item strong { font-size: 14px; color: var(--navy); display: block; margin-bottom: 2px; }
.contact-item p { font-size: 14px; color: var(--gray-600); margin: 0; }
.contact-item a { color: var(--gold); font-weight: 500; }
.contact-item a:hover { text-decoration: underline; }
.social-links { margin-top: 32px; display: flex; gap: 12px; flex-wrap: wrap; }
.social-link { font-size: 13px; font-weight: 600; color: var(--navy); padding: 8px 16px; border: 1px solid var(--gray-200); border-radius: 4px; transition: all .2s; }
.social-link:hover { border-color: var(--gold); color: var(--gold); }

/* Contact Form */
.contact-form-wrap { position: relative; }
.contact-form { background: var(--off-white); padding: 36px; border-radius: 8px; border: 1px solid var(--gray-200); }
.contact-form h3 { font-family: var(--font-heading); font-size: 22px; color: var(--navy); margin-bottom: 24px; }
.form-group { margin-bottom: 16px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--gray-800); margin-bottom: 6px; letter-spacing: 0.3px; }
.form-group input,
.form-group select,
.form-group textarea { width: 100%; padding: 12px 14px; font-size: 15px; font-family: var(--font-body); border: 1px solid var(--gray-200); border-radius: 4px; background: var(--white); color: var(--gray-800); transition: border-color .2s; }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 3px rgba(196,148,58,.15); }
.form-group textarea { resize: vertical; }
.form-note { font-size: 13px; color: var(--gray-400); text-align: center; margin-top: 12px; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #1a1a2e; padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; }
.footer-logo { display: flex; align-items: baseline; gap: 4px; margin-bottom: 8px; }
.footer-logo .logo-k9 { font-size: 20px; }
.footer-logo .logo-covenant { font-size: 20px; }
.footer-tagline { font-size: 14px; color: var(--gold); font-style: italic; margin-bottom: 16px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-links h4 { font-size: 13px; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer-links li { margin-bottom: 8px; }
.footer-links a { font-size: 14px; color: rgba(255,255,255,.6); transition: color .2s; }
.footer-links a:hover { color: var(--gold); }
.footer-address { font-size: 14px; color: rgba(255,255,255,.6); line-height: 1.6; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 968px) {
  .about-grid,
  .approach-grid,
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .cred-items { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 768px) {
  .nav-links { display: none; flex-direction: column; position: absolute; top: 100%; left: 0; right: 0; background: rgba(44,62,80,.98); padding: 24px; gap: 16px; backdrop-filter: blur(8px); }
  .nav-links.active { display: flex; }
  .nav-toggle { display: block; }
  .nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
  .nav-toggle.active span:nth-child(2) { opacity: 0; }
  .nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
  .services-grid { grid-template-columns: 1fr; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .hero-sub br { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .cred-items { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .cred-number { font-size: 28px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 36px; }
  .hero-actions { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; }
  .cred-items { grid-template-columns: 1fr 1fr; gap: 16px; }
}
