/* ────────────────────────────────────────────────── */
/*  Design & development by Endless Local Reach        */
/*  https://www.endlesslocalreach.com                  */
/* ────────────────────────────────────────────────── */
/* Dragon Fury Pest Control site styles */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --night: #ffffff;
  --night-deep: #f5f2ea;
  --ash: #1c1712;
  --ash-warm: #3a3128;
  --gold: #ffca00;
  --accent: #2d5a3d;
  --ember: #c0392b;
  --muted: #746b5c;
  --border: rgba(28, 23, 18, 0.12);
  --header-h: 67px;
}

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; max-width: 100vw; }

body {
  font-family: 'Archivo', system-ui, sans-serif;
  color: var(--ash);
  background: var(--night);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  max-width: 100vw;
}

h1, h2, h3 { font-family: 'Cinzel', 'Archivo', serif; font-weight: 700; letter-spacing: 0.01em; line-height: 1.05; color: var(--ash); }

a { color: inherit; text-decoration: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.demo-badge {
  background: var(--gold);
  color: var(--night-deep);
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 9px 16px;
}
.demo-badge a { color: var(--night-deep); text-decoration: underline; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  gap: 20px;
}
.nav-logo { display: flex; align-items: center; gap: 10px; font-family: 'Cinzel', serif; font-size: 1.3rem; letter-spacing: 0.02em; color: var(--ash); font-weight: 700; }
.nav-logo img { height: 38px; width: 38px; display: block; }
.nav-logo span { color: var(--accent); }
.nav-links { display: flex; gap: 30px; list-style: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.07em; font-weight: 600; }
.nav-links a { border-bottom: 2px solid transparent; padding-bottom: 4px; }
.nav-links a:hover:not(.nav-mobile-btn) { border-color: var(--gold); }
.nav-mobile-actions { display: none; }
.nav-cta {
  background: var(--gold);
  color: var(--ash);
  padding: 11px 22px;
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  white-space: nowrap;
}
.nav-cta:hover { background: var(--accent); color: #ffffff; }
.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 34px;
  height: 34px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  flex-shrink: 0;
}
.nav-toggle span { display: block; width: 100%; height: 2px; background: var(--ash); border-radius: 2px; transition: transform 0.2s ease, opacity 0.2s ease; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Bold full-bleed hero */
.hero-bleed {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}
.hero-bleed .img-placeholder { position: absolute; inset: 0; height: 100%; border: none; border-radius: 0; }
.hero-bleed-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(255,255,255,0.88) 0%, rgba(255,255,255,0.55) 38%, rgba(255,255,255,0.12) 70%, rgba(255,255,255,0) 100%);
}
.hero-bleed-content { position: relative; padding: 0 24px 64px; max-width: 1200px; margin: 0 auto; width: 100%; }
.hero-eyebrow { color: var(--accent); font-weight: 700; text-transform: uppercase; letter-spacing: 0.14em; font-size: 0.85rem; margin-bottom: 18px; }
.hero-bleed-content h1 { color: var(--ash); font-size: clamp(2.6rem, 7vw, 5.4rem); max-width: 900px; margin-bottom: 20px; text-shadow: 0 2px 24px rgba(255,255,255,0.5); }
.hero-bleed-content p { color: var(--ash-warm); font-size: 1.1rem; max-width: 520px; margin-bottom: 34px; text-shadow: 0 1px 16px rgba(255,255,255,0.6); }
.hero-cta-group { display: flex; gap: 16px; flex-wrap: wrap; }

.btn-primary {
  background: var(--gold);
  color: var(--ash);
  padding: 15px 32px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  display: inline-block;
  border-radius: 2px;
}
.btn-primary:hover { background: var(--accent); color: #ffffff; }
.btn-secondary {
  border: 2px solid var(--ash);
  color: var(--ash);
  padding: 13px 30px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.9rem;
  display: inline-block;
  border-radius: 2px;
}
.btn-secondary:hover { border-color: var(--accent); color: var(--accent); }

.img-placeholder {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: repeating-linear-gradient(45deg, #201b12, #201b12 16px, #14110b 16px, #14110b 32px);
  color: var(--muted);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  text-align: center;
  padding: 20px;
}
.img-placeholder.card-ph { aspect-ratio: 3/4; }
.img-placeholder.square-ph { aspect-ratio: 1/1; }
.img-placeholder.wide-ph { aspect-ratio: 16/9; }

.img-photo { width: 100%; display: block; object-fit: cover; }
.img-photo.card-ph { aspect-ratio: 3/4; }
.img-photo.square-ph { aspect-ratio: 1/1; }
.img-photo.wide-ph { aspect-ratio: 16/9; }
.hero-bleed .img-photo { position: absolute; inset: 0; width: 100%; height: 100%; }

/* Load-in animation for top-of-page content */
@keyframes fade-rise {
  from { opacity: 0; transform: translateY(22px); }
  to { opacity: 1; transform: translateY(0); }
}
.reveal-in {
  animation: fade-rise 0.7s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.reveal-in-1 { animation-delay: 0.05s; }
.reveal-in-2 { animation-delay: 0.15s; }
.reveal-in-3 { animation-delay: 0.25s; }
.reveal-in-4 { animation-delay: 0.35s; }
.reveal-in-5 { animation-delay: 0.45s; }
.reveal-in-6 { animation-delay: 0.55s; }

@media (prefers-reduced-motion: reduce) {
  .reveal-in { animation: none; }
}

.section { padding: 96px 24px; }
.section-tight { padding: 56px 24px; }
.section-alt { background: var(--night-deep); }
.section-title { font-size: clamp(2rem, 4.6vw, 3.2rem); margin-bottom: 18px; }
.section-title.centered { text-align: center; }
.section-intro { color: var(--muted); max-width: 560px; margin-bottom: 20px; }
.section-intro.centered { margin-left: auto; margin-right: auto; text-align: center; }

/* Even, symmetrical grids — no overlap/offset */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; align-items: center; }

/* Service / pest cards */
.service-card {
  background: var(--night-deep);
  border: 1px solid var(--border);
  border-radius: 4px;
  overflow: hidden;
}
.service-card-body { padding: 26px; }
.service-card .service-photo { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.service-card .service-icon { color: var(--accent); font-size: 1.6rem; margin-bottom: 16px; }
.service-card h3 { font-size: 1.25rem; margin-bottom: 10px; font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: uppercase; letter-spacing: 0.02em; }
.service-card p { color: var(--muted); font-size: 0.95rem; }

/* Trust row */
.trust-row { display: flex; gap: 56px; flex-wrap: wrap; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 32px 0; }
.trust-row div strong { color: var(--accent); font-family: 'Cinzel', serif; font-size: 2.1rem; display: block; }
.trust-row div span { color: var(--muted); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* Pricing / menu-style list */
.menu-list { border-top: 1px solid var(--border); }
.menu-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 24px 0;
  border-bottom: 1px solid var(--border);
  gap: 20px;
}
.menu-item-name { font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.25rem; letter-spacing: 0.01em; }
.menu-item-desc { color: var(--muted); font-size: 0.9rem; margin-top: 4px; }
.menu-item-price { color: var(--accent); font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.2rem; white-space: nowrap; }

/* Team cards */
.team-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; max-width: 720px; margin: 0 auto; }
.team-card { text-align: center; }
.team-photo { border-radius: 50%; max-width: 220px; margin: 0 auto; }
.team-card h3 { font-size: 1.2rem; margin: 16px 0 4px; font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: uppercase; }
.team-card span { color: var(--accent); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.05em; }
.team-card p { color: var(--muted); font-size: 0.9rem; margin-top: 10px; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; background: var(--border); }
.testimonial-card { background: var(--night); padding: 34px 30px; }
.quote-stars { color: var(--accent); margin-bottom: 14px; }
.testimonial-card p { color: var(--ash); margin-bottom: 16px; font-size: 1rem; }
.testimonial-card .quote-author { color: var(--muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }

/* Guarantee / badge strip */
.badge-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.badge-item { text-align: center; padding: 28px 20px; border: 1px solid var(--border); border-radius: 4px; }
.badge-icon-check {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
}
.badge-icon-check svg { width: 22px; height: 22px; stroke: #ffffff; }
.badge-item h3 { font-size: 1.05rem; font-family: 'Archivo', sans-serif; font-weight: 800; text-transform: uppercase; margin-bottom: 8px; }
.badge-item p { color: var(--muted); font-size: 0.88rem; }

/* Service areas list */
.area-list { display: flex; flex-wrap: wrap; gap: 12px; }
.area-chip { border: 1px solid var(--border); padding: 8px 18px; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ash-warm); border-radius: 2px; }

/* Contact */
.contact-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: start; padding: 56px 0 96px; }
.contact-strip-info { padding-right: 64px; border-right: 1px solid var(--border); }
.contact-strip-form { }
.contact-info-item { margin-bottom: 22px; }
.contact-info-item strong { display: block; color: var(--accent); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 4px; }
.map-embed { width: 100%; aspect-ratio: 16/9; }
.contact-form { display: flex; flex-direction: column; gap: 16px; }
.contact-form label { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; font-weight: 700; margin-bottom: 6px; display: block; color: var(--muted); }
.contact-form input, .contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  background: var(--night-deep);
  color: var(--ash);
  font-family: inherit;
  font-size: 1rem;
  border-radius: 2px;
}
.form-note { font-size: 0.82rem; color: var(--muted); }
.form-success {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 460px;
  background: var(--gold);
  color: var(--ash);
  padding: 48px 32px;
  text-align: center;
}
.form-success-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1c1712;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.form-success-icon svg { width: 28px; height: 28px; stroke: #ffca00; }
.form-success h3 { font-family: 'Cinzel', serif; font-size: 1.6rem; margin: 0; color: var(--ash); }
.form-success p { font-weight: 500; font-size: 0.95rem; margin: 0; max-width: 360px; color: var(--ash); }

footer { background: var(--night-deep); padding: 48px 24px 24px; border-top: 1px solid var(--border); }
.footer-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
.footer-logo { display: flex; align-items: center; gap: 10px; font-family: 'Cinzel', serif; font-size: 1.25rem; letter-spacing: 0.02em; font-weight: 700; }
.footer-logo img { height: 30px; width: 30px; }
.footer-links { display: flex; gap: 22px; list-style: none; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.04em; }
.footer-links a:hover { color: var(--accent); }
.footer-social { display: flex; gap: 14px; margin-top: 14px; }
.footer-social a { display: flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); color: var(--muted); transition: color 0.2s, border-color 0.2s; }
.footer-social a:hover { color: var(--accent); border-color: var(--accent); }
.footer-social svg { width: 18px; height: 18px; }
.footer-bottom { text-align: center; margin-top: 28px; font-size: 0.8rem; color: var(--muted); border-top: 1px solid var(--border); padding-top: 20px; }
.footer-credit { text-align: center; margin-top: 8px; font-size: 0.72rem; color: var(--muted); opacity: 0.75; }
.footer-credit a { text-decoration: underline; text-underline-offset: 2px; }
.footer-credit a:hover { color: var(--accent); }

@media (max-width: 860px) {
  .hero-bleed { min-height: 64vh; }
  .hero-bleed-content { padding: 0 20px 40px; }
  .grid-3, .badge-strip { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .img-photo.wide-ph { display: none; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; }
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 22px; }
  .contact-strip { grid-template-columns: 1fr; gap: 32px; padding: 32px 0 52px; }
  .contact-strip-info { padding: 0 0 32px; border-right: none; border-bottom: 1px solid var(--border); }
  .trust-row { gap: 24px; padding: 24px 0; }
  .section { padding: 52px 20px; }
  .section-tight { padding: 36px 20px; }
  .menu-item { padding: 18px 0; }
  footer { padding: 36px 20px 20px; }
  .nav-toggle { display: flex; }
  .nav-cta { display: none; }
  .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    background: var(--night);
    border-bottom: 1px solid var(--border);
    max-height: 0;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    transition: max-height 0.25s ease;
  }
  .nav-links.is-open {
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .nav-links li { width: 100%; }
  .nav-links a { display: block; padding: 16px 24px; border-top: 1px solid var(--border); border-bottom: none; }
  .nav-links > li > a:hover:not(.nav-mobile-btn) { border-color: var(--border); color: var(--accent); }
  .nav-mobile-actions {
    display: flex;
    gap: 10px;
    padding: 16px;
    border-top: 1px solid var(--border);
  }
  .nav-links a.nav-mobile-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-align: center;
    padding: 12px 8px;
    background: var(--accent);
    border: 2px solid var(--accent);
    border-radius: 10px;
    font-size: 0.72rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #ffffff;
  }
  .nav-mobile-btn svg { display: block; flex-shrink: 0; width: 14px; height: 14px; }
  .nav-mobile-btn:hover, .nav-mobile-btn:active { color: #ffffff; border-color: var(--accent); }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-bleed-content { padding: 0 16px 32px; }
  .section { padding: 40px 16px; }
  .section-tight { padding: 28px 16px; }
  .contact-strip-info { padding: 0 0 24px; }
  .testimonial-card { padding: 18px; }
  footer { padding: 28px 16px 16px; }
}
