/* ============================================================
   JLS Property Maintenance — styles.css
   Brand palette: army green / cream / charcoal · Font: Montserrat
   ============================================================ */

:root {
  --green:        #4f5d2c;   /* primary army green */
  --green-dark:   #3b4720;
  --green-darker: #2c3518;
  --green-soft:   #6b7a45;
  --cream:        #ece6d6;   /* light cream */
  --cream-deep:   #ded6c0;
  --paper:        #f6f3ea;   /* off-white background */
  --ink:          #23251f;   /* near-black */
  --muted:        #5d6152;
  --white:        #ffffff;
  --gold:         #c0974a;   /* brass accent */
  --gold-dark:    #a87f37;

  --radius:   14px;
  --radius-sm:10px;
  --shadow:   0 10px 30px rgba(35, 37, 31, 0.12);
  --shadow-sm:0 4px 14px rgba(35, 37, 31, 0.08);
  --maxw: 1140px;
  --ease: cubic-bezier(.4,.0,.2,1);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  margin: 0;
  font-family: "Montserrat", system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  color: var(--ink);
  background: var(--paper);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 22px; }

h1, h2, h3 { line-height: 1.15; margin: 0 0 .5em; font-weight: 800; letter-spacing: -.01em; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); }
h3 { font-size: 1.15rem; font-weight: 700; }
p  { margin: 0 0 1rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  font-family: inherit; font-weight: 700; font-size: .95rem;
  padding: .8rem 1.5rem; border-radius: 50px; border: 2px solid transparent;
  cursor: pointer; transition: transform .15s var(--ease), background .2s var(--ease), box-shadow .2s var(--ease);
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--green); color: var(--cream); }
.btn-primary:hover { background: var(--green-dark); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.btn-ghost { background: transparent; color: var(--white); border-color: rgba(255,255,255,.7); }
.btn-ghost:hover { background: rgba(255,255,255,.14); transform: translateY(-2px); }
.btn-cta { background: var(--gold); color: #2c2410; border-color: var(--gold); }
.btn-cta:hover { background: var(--gold-dark); border-color: var(--gold-dark); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.btn-lg { padding: 1rem 1.9rem; font-size: 1.02rem; }
.btn-block { width: 100%; }

.eyebrow {
  text-transform: uppercase; letter-spacing: .18em; font-size: .78rem;
  font-weight: 700; color: var(--green); margin: 0 0 .5rem;
}
.eyebrow-light { color: var(--cream-deep); }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(246,243,234,.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--cream-deep);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand-mark { border-radius: 9px; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-weight: 800; font-size: 1.35rem; color: var(--green); letter-spacing: .02em; }
.brand-sub { font-size: .62rem; letter-spacing: .22em; text-transform: uppercase; color: var(--muted); font-weight: 600; }

.main-nav { display: flex; align-items: center; gap: 1.6rem; }
.main-nav a { font-weight: 600; font-size: .95rem; color: var(--ink); transition: color .15s var(--ease); }
.main-nav a:hover { color: var(--green); }
.nav-cta { background: var(--green); color: var(--cream) !important; padding: .55rem 1.1rem; border-radius: 50px; }
.nav-cta:hover { background: var(--green-dark); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { width: 26px; height: 3px; background: var(--green); border-radius: 3px; transition: .25s var(--ease); }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative; color: var(--white);
  background:
    linear-gradient(120deg, rgba(44,53,24,.92) 0%, rgba(79,93,44,.78) 55%, rgba(79,93,44,.55) 100%),
    radial-gradient(circle at 80% 20%, #6b7a45 0%, #3b4720 70%);
  overflow: hidden;
}
/* Subtle texture lines */
.hero-overlay {
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 22px);
  pointer-events: none;
}
.hero-inner { position: relative; padding: clamp(3.5rem, 9vw, 7rem) 0 clamp(3rem, 7vw, 5.5rem); }
.hero-content { max-width: 620px; }
.hero-eyebrow {
  text-transform: uppercase; letter-spacing: .15em; font-size: .8rem; font-weight: 700;
  color: var(--cream); margin-bottom: 1rem;
}
.hero h1 { font-size: clamp(2.3rem, 6.2vw, 4rem); color: var(--white); margin-bottom: 1rem; }
.hero-lead { font-size: clamp(1.02rem, 2.2vw, 1.25rem); color: rgba(255,255,255,.92); max-width: 540px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; margin: 1.8rem 0 1.6rem; }
.hero-badges { list-style: none; display: flex; flex-wrap: wrap; gap: 1.4rem; padding: 0; margin: 0; font-weight: 600; font-size: .92rem; color: var(--cream); }

/* ---------- Trust bar ---------- */
.trust-bar { background: var(--green-darker); color: var(--cream); }
.trust-inner { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem 2.5rem; padding: .9rem 22px; font-size: .88rem; font-weight: 600; text-align: center; }

/* ---------- Sections ---------- */
.section { padding: clamp(3.2rem, 7vw, 5.5rem) 0; }
.section-alt { background: var(--cream); }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 2.6rem; }
.section-sub { color: var(--muted); font-size: 1.05rem; }

/* ---------- Services ---------- */
.services-grid {
  display: grid; gap: 1.2rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}
.service-card {
  background: var(--white); border: 1px solid var(--cream-deep);
  border-radius: var(--radius); padding: 1.6rem 1.4rem;
  transition: transform .18s var(--ease), box-shadow .18s var(--ease), border-color .18s var(--ease);
}
.service-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: var(--green-soft); }
.service-icon {
  width: 54px; height: 54px; border-radius: 12px;
  background: var(--cream); color: var(--green);
  display: grid; place-items: center; margin-bottom: 1rem;
}
.service-icon svg { width: 30px; height: 30px; }
.service-card h3 { color: var(--green-dark); }
.service-card p { color: var(--muted); font-size: .95rem; margin: 0; }

.service-card { cursor: pointer; position: relative; }
.card-cue { display: inline-block; margin-top: .9rem; font-weight: 700; font-size: .88rem; color: var(--green); letter-spacing: .02em; transition: transform .15s var(--ease); }
.service-card:hover .card-cue { transform: translateX(4px); }
.service-card:focus-visible { outline: 3px solid var(--green-soft); outline-offset: 3px; }

.services-cta { text-align: center; margin-top: 2.6rem; }
.services-cta p { color: var(--muted); margin-bottom: 1rem; }

/* ---------- Lightbox ---------- */
.lightbox { position: fixed; inset: 0; z-index: 100; display: none; align-items: center; justify-content: center; padding: 20px; }
.lightbox.open { display: flex; }
.lightbox-backdrop { position: absolute; inset: 0; background: rgba(35,37,31,.82); backdrop-filter: blur(3px); }
.lightbox-box { position: relative; background: var(--paper); border-radius: var(--radius); padding: 1.4rem; max-width: 760px; width: 100%; box-shadow: var(--shadow); text-align: center; }
.lightbox-close { position: absolute; top: 8px; right: 12px; background: none; border: 0; font-size: 2rem; line-height: 1; color: var(--muted); cursor: pointer; }
.lightbox-close:hover { color: var(--ink); }
.lightbox-title { color: var(--green-dark); margin: .2rem 0 1rem; }
.lightbox-stage { position: relative; display: flex; align-items: center; justify-content: center; }
.lightbox-stage img { width: 100%; border-radius: var(--radius-sm); background: var(--cream); aspect-ratio: 4 / 3; object-fit: cover; }
.lightbox-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border-radius: 50%; border: 0; background: rgba(255,255,255,.9); color: var(--green-dark); font-size: 1.7rem; line-height: 1; cursor: pointer; box-shadow: var(--shadow-sm); }
.lightbox-nav:hover { background: var(--white); }
.lightbox-nav.prev { left: 10px; }
.lightbox-nav.next { right: 10px; }
.lightbox-count { color: var(--muted); font-size: .85rem; margin: .8rem 0 1.1rem; }

/* ---------- Before & After ---------- */
.ba-grid { display: grid; gap: 1.4rem; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.ba-card { margin: 0; }
.ba-card figcaption { margin-top: .7rem; font-weight: 700; color: var(--green-dark); text-align: center; }
.ba-desc { margin: .3rem auto 0; max-width: 30ch; font-size: .9rem; line-height: 1.45; color: var(--muted); text-align: center; }
.ba-slider { position: relative; width: 100%; aspect-ratio: 3 / 4; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); user-select: none; touch-action: none; background: var(--cream); }
.ba-slider img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; pointer-events: none; }
.ba-before-wrap { position: absolute; inset: 0; width: 100%; clip-path: inset(0 50% 0 0); }
.ba-range { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: ew-resize; }
.ba-handle { position: absolute; top: 0; bottom: 0; left: 50%; width: 3px; background: var(--white); transform: translateX(-50%); pointer-events: none; box-shadow: 0 0 8px rgba(0,0,0,.3); }
.ba-handle::after { content: "\2194"; position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); width: 38px; height: 38px; border-radius: 50%; background: var(--green); color: var(--cream); display: grid; place-items: center; font-size: 1.1rem; font-weight: 700; box-shadow: var(--shadow-sm); }
.ba-note { text-align: center; color: var(--muted); font-size: .9rem; margin-top: 1.6rem; }

/* ---------- Why choose us ---------- */
.why-grid { display: grid; gap: 1.2rem; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); }
.why-item { background: var(--white); border-radius: var(--radius); padding: 1.8rem 1.5rem; box-shadow: var(--shadow-sm); border-top: 4px solid var(--green); }
.why-num { font-size: 1.6rem; font-weight: 800; color: var(--green-soft); margin-bottom: .5rem; }
.why-item h3 { color: var(--green-dark); }
.why-item p { color: var(--muted); font-size: .95rem; margin: 0; }

/* ---------- Service areas ---------- */
.areas-list { list-style: none; padding: 0; margin: 0 0 1.6rem; display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.area-bubble {
  background: var(--green); color: var(--cream);
  font-family: inherit; font-weight: 700; font-size: 1.05rem;
  padding: .85rem 1.8rem; border-radius: 50px; border: 2px solid transparent;
  box-shadow: var(--shadow-sm); cursor: pointer;
  transition: transform .15s var(--ease), background .2s var(--ease), border-color .2s var(--ease);
}
.area-bubble:hover { transform: translateY(-3px); background: var(--green-dark); }
.area-bubble.active { background: var(--green-dark); border-color: var(--gold); }
.area-bubble:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; }

.areas-map { height: 420px; width: 100%; border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; z-index: 0; }
.areas-map-note { text-align: center; margin: .9rem 0 0; font-weight: 600; color: var(--muted); }
.areas-map-note a { color: var(--green); border-bottom: 2px solid var(--gold); padding-bottom: 1px; }
.areas-map-note a:hover { color: var(--green-dark); }
.area-tip { background: var(--green); color: var(--cream); border: 0; box-shadow: var(--shadow-sm); font-weight: 700; font-size: .8rem; padding: 2px 8px; border-radius: 6px; }
.area-tip::before { display: none; }

/* ---------- Gallery "coming soon" panel ---------- */
.lightbox-soon { text-align: center; padding: 2.4rem 1.5rem 1rem; max-width: 460px; margin: 0 auto; }
.lightbox-soon .soon-icon { color: var(--green-soft); margin-bottom: .8rem; }
.lightbox-soon .soon-icon svg { width: 56px; height: 56px; margin: 0 auto; }
.lightbox-soon .soon-title { font-size: 1.3rem; font-weight: 800; color: var(--cream); margin: 0 0 .6rem; }
.lightbox-soon .soon-text { color: var(--cream-deep); font-size: .98rem; line-height: 1.6; margin: 0; }

/* ---------- About ---------- */
.section-dark { background: var(--green-darker); color: var(--cream); }
.section-dark h2 { color: var(--white); }
.about-inner { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.about-text p { color: rgba(236,230,214,.88); }
.about-stats { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(236,230,214,.18); border-radius: var(--radius); padding: 1.4rem; text-align: center; }
.stat-num { display: block; font-size: 2.1rem; font-weight: 800; color: var(--white); }
.stat-label { font-size: .82rem; letter-spacing: .04em; color: var(--cream-deep); }

/* ---------- Quote / Contact ---------- */
.quote-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: start; }
.contact-list { list-style: none; padding: 0; margin: 1.5rem 0 0; display: grid; gap: 1rem; }
.contact-list li { display: flex; align-items: center; gap: .8rem; font-weight: 600; }
.contact-ico { width: 42px; height: 42px; border-radius: 10px; background: var(--green); color: var(--cream); display: grid; place-items: center; flex: none; }
.contact-ico svg { width: 22px; height: 22px; }
.contact-list a:hover { color: var(--green); }

.quote-form { background: var(--white); border-radius: var(--radius); padding: 2rem; box-shadow: var(--shadow); border: 1px solid var(--cream-deep); }
.form-row { margin-bottom: 1rem; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-row label { display: block; font-size: .82rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--green-dark); margin-bottom: .35rem; }
.form-row input, .form-row select, .form-row textarea {
  width: 100%; font-family: inherit; font-size: .98rem; color: var(--ink);
  padding: .75rem .85rem; border: 1.5px solid var(--cream-deep); border-radius: var(--radius-sm);
  background: var(--paper); transition: border-color .15s var(--ease), box-shadow .15s var(--ease);
}
.form-row input:focus, .form-row select:focus, .form-row textarea:focus {
  outline: none; border-color: var(--green); box-shadow: 0 0 0 3px rgba(79,93,44,.15); background: var(--white);
}
.form-row textarea { resize: vertical; }
.form-status { margin: 1rem 0 0; font-weight: 600; text-align: center; min-height: 1.2em; }
.form-status.success { color: var(--green); }
.form-status.error { color: #b23a2e; }
.form-fineprint { margin: 1rem 0 0; text-align: center; font-size: .85rem; color: var(--muted); }
.form-fineprint a { color: var(--green); font-weight: 700; }

/* ---------- Footer ---------- */
.site-footer { background: var(--green-darker); color: var(--cream); padding-top: 2.8rem; }
.footer-inner { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 2rem; padding-bottom: 2.2rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; }
.footer-brand strong { display: block; font-size: 1.05rem; color: var(--white); }
.footer-brand span { font-size: .82rem; color: var(--cream-deep); }
.footer-nav { display: flex; flex-direction: column; gap: .55rem; }
.footer-nav a:hover { color: var(--white); text-decoration: underline; }
.footer-contact { display: flex; flex-direction: column; gap: .55rem; font-weight: 600; }
.footer-contact span { font-weight: 400; font-size: .85rem; color: var(--cream-deep); }
.footer-bottom { border-top: 1px solid rgba(236,230,214,.18); padding: 1.1rem 0; font-size: .82rem; }
.footer-bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; color: var(--cream-deep); }

/* ---------- Sticky mobile call ---------- */
.mobile-call {
  display: none; position: fixed; left: 16px; right: 16px; bottom: 16px; z-index: 60;
  background: var(--green); color: var(--cream); font-weight: 700;
  align-items: center; justify-content: center; gap: .5rem;
  padding: .95rem; border-radius: 50px; box-shadow: var(--shadow);
}
.mobile-call svg { width: 20px; height: 20px; }

/* ---------- Hero microcopy ---------- */
.hero-microcopy { margin: .9rem 0 0; font-size: .9rem; color: var(--cream-deep); font-weight: 600; }

/* ---------- How it works ---------- */
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; margin-top: .5rem; }
.step { background: var(--white); border: 1px solid var(--cream-deep); border-radius: var(--radius); padding: 1.8rem 1.5rem; text-align: center; box-shadow: var(--shadow-sm); }
.step-num { width: 46px; height: 46px; margin: 0 auto .9rem; border-radius: 50%; background: var(--green); color: var(--cream); font-weight: 800; font-size: 1.25rem; display: flex; align-items: center; justify-content: center; }
.step h3 { margin-bottom: .4rem; }
.step p { color: var(--muted); margin: 0; font-size: .95rem; }
.step a { color: var(--green); font-weight: 700; }

/* ---------- Reviews ---------- */
.reviews-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.review-card { margin: 0; background: var(--white); border: 1px solid var(--cream-deep); border-left: 4px solid var(--gold); border-radius: var(--radius); padding: 1.6rem 1.5rem; box-shadow: var(--shadow-sm); }
.review-card .stars { color: var(--gold); letter-spacing: 2px; margin-bottom: .6rem; }
.review-card blockquote { margin: 0 0 .8rem; font-size: .98rem; line-height: 1.6; color: var(--ink); }
.review-card figcaption { font-weight: 700; color: var(--green-dark); font-size: .9rem; }
.reviews-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 1.4rem 2.2rem; margin-top: 2rem; }
.reviews-links a { font-weight: 700; color: var(--green); border-bottom: 2px solid var(--gold); padding-bottom: 2px; }
.reviews-links a:hover { color: var(--green-dark); }

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 860px) {
  .main-nav {
    position: fixed; inset: 70px 0 auto 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--paper); border-bottom: 1px solid var(--cream-deep);
    padding: .5rem 22px 1.2rem; box-shadow: var(--shadow);
    transform: translateY(-130%); transition: transform .28s var(--ease);
  }
  .main-nav.open { transform: translateY(0); }
  .main-nav a { padding: .9rem .2rem; border-bottom: 1px solid var(--cream-deep); }
  .nav-cta { margin-top: .8rem; text-align: center; border-bottom: 0 !important; }
  .nav-toggle { display: flex; }

  .about-inner, .quote-inner { grid-template-columns: 1fr; gap: 2rem; }
  .footer-inner { grid-template-columns: 1fr; gap: 1.6rem; }
  .steps-grid, .reviews-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .form-grid { grid-template-columns: 1fr; }
  .about-stats { grid-template-columns: 1fr 1fr; }
  .hero-actions .btn { flex: 1 1 auto; }
  .mobile-call { display: flex; }
  body { padding-bottom: 80px; }
  .trust-inner { font-size: .8rem; gap: .5rem 1.4rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { scroll-behavior: auto !important; transition: none !important; }
}
