/* =========================================================
   GLOBAL / BASE
========================================================= */

:root{
  --text: #111827;
  --muted: #6b7280;
  --line: #e5e7eb;
  --bg: #ffffff;

  --card: #ffffff;
  --shadow: 0 18px 40px rgba(15, 23, 42, 0.10);

  --green: #16a34a;   /* headings accent */
  --greenDark: #15803d;

  --radius: 18px;
  --max: 1120px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body{
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
}

img{ max-width: 100%; height: auto; display: block; }

a{ color: inherit; }

/* =========================================================
   HEADER (LOCKED SOURCE OF TRUTH)
========================================================= */

.site-header{
  position: sticky;
  top: 0;
  z-index: 9999;
  background: #fff;
  border-bottom: 1px solid var(--line);
}

.header-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 0.75rem 1.5rem;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.header-logo{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.logo-text{
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.logo-img{
  height: 56px;
  width: auto;
  max-width: none;
}

.header-nav{
  display: flex;
  align-items: center;
  gap: 1.75rem;
  flex-wrap: nowrap;
}

.header-nav > a{
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

.header-nav > a:hover{ color: #111827; }

/* ---------------------------------------------------------
   SERVICES DROPDOWN (details/summary)
--------------------------------------------------------- */

.header-nav details.nav-dropdown{
  position: relative;
  display: inline-flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.header-nav summary.nav-dropdown-summary{
  cursor: pointer;
  list-style: none;
  margin: 0;
  padding: 0;

  display: inline-flex;
  align-items: center;

  font-size: 0.95rem;
  font-weight: 700;
  color: #1f2937;
  white-space: nowrap;
}

/* remove default markers (fixes the weird triangle) */
.header-nav summary.nav-dropdown-summary::-webkit-details-marker{ display:none; }
.header-nav summary.nav-dropdown-summary::marker{ content:""; }

/* caret */
.header-nav summary.nav-dropdown-summary::after{
  content:"▾";
  margin-left: 6px;
  font-size: 0.9em;
  opacity: .75;
}

/* dropdown panel */
.header-nav details.nav-dropdown > .dropdown{
  position: absolute;
  top: calc(100% + 12px);
  left: 0;
  min-width: 240px;

  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 10px;
  box-shadow: var(--shadow);

  z-index: 99999;

  display: none;
}

.header-nav details.nav-dropdown[open] > .dropdown{
  display: block;
}

.header-nav .dropdown-link{
  display: block;
  padding: 10px 12px;
  border-radius: 10px;
  text-decoration: none;
  color: #111827;
  font-weight: 800;
  font-size: 0.95rem;
  white-space: nowrap;
}

.header-nav .dropdown-link:hover{
  background: #f9fafb;
}

/* =========================================================
   MAIN / SECTIONS
========================================================= */

.main{ width: 100%; }

.section{
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
}

.section-header h2{
  margin: 0 0 0.5rem 0;
  color: var(--green);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.15;
}

.section-header p{
  margin: 0;
  color: #374151;
  max-width: 70ch;
}

/* =========================================================
   HERO
========================================================= */

.hero{
  border-bottom: 1px solid var(--line);
}

.hero-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;

  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.25rem;
  align-items: center;
}

.hero-text h1{
  margin: 0 0 0.75rem 0;
  font-size: clamp(2.0rem, 3.3vw, 3.25rem);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-subtitle{
  margin: 0 0 1.5rem 0;
  color: #4b5563;
  font-size: 1.05rem;
  max-width: 70ch;
}

.hero-actions{ margin: 0 0 1.25rem 0; }

.btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  border-radius: 999px;
  padding: 0.95rem 1.25rem;
  font-weight: 900;
  border: 1px solid transparent;
}

.btn-primary{
  background: var(--green);
  color: #fff;
}

.btn-primary:hover{ background: var(--greenDark); }

.hero-trust{
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.trust-chip{
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 0.9rem;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  font-weight: 800;
  color: #111827;
}

.hero-image img{
  border-radius: var(--radius);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
}

/* =========================================================
   INCLUDES GRID
========================================================= */

.includes-grid{
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.include-item{
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;

  display: flex;
  align-items: center;
  gap: 0.9rem;

  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.include-icon{
  width: 46px;
  height: 46px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  background: rgba(22,163,74,0.10);
  color: var(--green);
}

.include-text{
  font-weight: 800;
  color: #111827;
}

/* =========================================================
   SERVICE CARDS
========================================================= */

.cards-grid{
  margin-top: 1.25rem;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.card{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  background: #fff;
}

.service-card h3{
  margin: 0.75rem 0 0.5rem 0;
  color: var(--green);
  font-size: 1.25rem;
  line-height: 1.15;
}

.service-card p{
  margin: 0 0 1rem 0;
  color: #374151;
}

.card-link{
  font-weight: 900;
  color: var(--green);
  text-decoration: none;
}

.card-link:hover{ text-decoration: underline; }

.service-icon svg{
  width: 28px;
  height: 28px;
  display: block;
  color: var(--green);
}

/* =========================================================
   REASONS LIST
========================================================= */

.reasons-list{
  list-style: none;
  padding: 0;
  margin: 1rem 0 0 0;
}

.reasons-list li{
  margin: 0.5rem 0;
  color: #111827;
  font-weight: 700;
}

/* =========================================================
   AREA CHIPS
========================================================= */

.chips{
  margin-top: 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.chip{
  text-decoration: none;
  border: 1px solid var(--line);
  background: #fff;
  border-radius: 999px;
  padding: 0.55rem 0.85rem;
  font-weight: 800;
  color: #111827;

  /* NEW: align pin + text nicely */
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

/* NEW: restore 📍 pin (this was previously coming from other CSS) */
.chip::before{
  content: "📍";
  line-height: 1;
  font-size: 1rem;
}

.chip:hover{
  border-color: #d1d5db;
}

/* =========================================================
   FAQ
========================================================= */

.faq-list{
  margin-top: 1.25rem;
  display: grid;
  gap: 0.85rem;
}

.faq-item{
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0.85rem 1rem;
  background: #fff;
}

.faq-item summary{
  cursor: pointer;
  font-weight: 900;
  color: #111827;
  list-style: none;
}

.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::marker{ content:""; }

.faq-answer{
  margin-top: 0.75rem;
  color: #374151;
}

/* =========================================================
   FOOTER
========================================================= */

.site-footer{
  margin-top: 2.5rem;
  border-top: 1px solid var(--line);
  background: #fff;
}

.footer-inner{
  max-width: var(--max);
  margin: 0 auto;
  padding: 2.5rem 1.5rem;

  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 2rem;
  align-items: start;
}

.footer-brand h2{
  margin: 0 0 0.5rem 0;
  color: var(--green);
}

.footer-brand p{ margin: 0.35rem 0; color: #374151; }

.footer-contact-line a{
  color: var(--green);
  font-weight: 900;
  text-decoration: none;
}

.footer-contact-line a:hover{ text-decoration: underline; }

.footer-columns{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.footer-col h3{
  margin: 0 0 0.75rem 0;
  color: #6b7280;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  font-size: 0.9rem;
}

.footer-col ul{
  margin: 0;
  padding-left: 1.1rem;
  color: #374151;
}

.footer-bottom{
  border-top: 1px solid var(--line);
  text-align: center;
  padding: 1.25rem 1.5rem;
  color: #6b7280;
}

.footer-small{ margin: 0.35rem 0 0 0; }

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 980px){
  .hero-inner{ grid-template-columns: 1fr; }
  .cards-grid{ grid-template-columns: repeat(2, 1fr); }
  .includes-grid{ grid-template-columns: 1fr; }
  .footer-inner{ grid-template-columns: 1fr; }
}

@media (max-width: 768px){
  .header-inner{
    padding: 0.75rem 1rem;
    gap: 1rem;
  }

  .logo-img{ height: 44px; }

  .header-nav{
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: flex-end;
  }

  .cards-grid{ grid-template-columns: 1fr; }
}

/* =========================================================
   TYPOGRAPHY SPACING (FIXES "NO GAP" BETWEEN PARAGRAPHS + HEADINGS)
   Paste at VERY BOTTOM of style.css
========================================================= */

/* Kirby usually outputs content inside .text
   This gives you nice “Airbnb-style” vertical rhythm */
.text{
  line-height: 1.7;
  color: #111827;
}

/* Paragraph spacing */
.text p{
  margin: 0 0 1.25rem 0;
  color: #374151;
  max-width: 75ch;
}

/* Headings spacing */
.text h1{
  margin: 0 0 1rem 0;
  line-height: 1.1;
}

.text h2{
  margin: 2.25rem 0 0.85rem 0;   /* <-- creates the gap you’re missing */
  color: var(--green);
  font-size: clamp(1.6rem, 2.2vw, 2.2rem);
  line-height: 1.15;
}

.text h3{
  margin: 1.6rem 0 0.6rem 0;
  font-weight: 800;
  color: #111827;
}

/* Lists */
.text ul,
.text ol{
  margin: 0 0 1.25rem 1.25rem;
}

.text li{
  margin: 0.4rem 0;
}

/* Links inside body copy */
.text a{
  text-decoration: underline;
  text-underline-offset: 2px;
}

.text a:hover{
  text-decoration-thickness: 2px;
}

/* -----------------------------------------------------------------
   Fallback: if your template outputs raw h2/p inside .section
   (without wrapping in .text), this still fixes spacing.
   Scoped so it won’t mess up cards/hero.
------------------------------------------------------------------ */
.section > p{
  margin: 0 0 1.25rem 0;
  color: #374151;
  max-width: 75ch;
}

.section > h2{
  margin: 2.25rem 0 0.85rem 0;
}

.section > h3{
  margin: 1.6rem 0 0.6rem 0;
}
