/* ============ JJC EV LANDER - faithful rebuild of the JJC Unbounce template ============
   Palette from the source page + JJC logo:
   orange pills #e8863b (as source; note: white-on-orange matches source page),
   darker orange #c2560c for small accent text on white (4.5:1+),
   charcoal ink #2b2b2b, warm hero overlay, alternating white / #0d0c0b sections. */
:root{
  /* measured off the live lander: buttons/eyebrows rgb(243,117,33), hero CALL rgb(249,129,28) */
  --orange: #f37521;
  --orange-hero: #f9811c;
  --orange-deep: #f37521;
  --ink: #2b2b2b;
  --ink-dim: #565656;
  --paper: #ffffff;
  --black: #0d0c0b;
  --on-black-dim: #d8d4cf;
  --hero-tint: rgba(0,0,0,0.7);   /* live hero overlay: neutral black 0.7 */
  --radius: 22px;
  --pill: 999px;
  --font: 'Poppins', -apple-system, BlinkMacSystemFont, sans-serif;
}
*,*::before,*::after{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; overflow-x: clip; }
body{ font-family:var(--font); color:var(--ink); background:var(--paper); line-height:1.65; font-size:16px; overflow-x: clip; }
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
.container{ max-width:1140px; margin:0 auto; padding:0 24px; }
h1,h2,h3{ font-weight:600; line-height:1.2; letter-spacing:-0.01em; }
h1{ font-size:clamp(32px,3.6vw,46px); line-height:1.35; letter-spacing:normal; }
h2{ font-size:32px; letter-spacing:normal; }
.section{ padding:72px 0; }

/* eyebrow: plain 14px orange label, exactly as the live lander (no dash) */
.eyebrow{ display:block; color:var(--orange); font-size:14px; font-weight:400; margin-bottom:12px; }
.black .eyebrow{ color:var(--orange); }

/* pills / buttons */
/* live buttons: 17px/400, ~58px tall, 42px radius */
.btn{ display:inline-flex; align-items:center; justify-content:center; gap:10px;
  border-radius:42px; padding:15px 34px; font-weight:400; font-size:17px;
  transition:transform .2s ease, background .2s ease; }
.btn:hover{ transform:translateY(-2px); }
.btn-orange{ background:var(--orange); color:#fff; }
.btn-outline{ border:2px solid var(--orange); color:var(--orange-deep); }
.black .btn-outline{ color:#fff; }
.btn-block{ width:100%; }

/* hero layout (source desktop): small pill top-left, logo left + CALL btn right,
   copy left + white quote card right, all over one tinted photo */
.hero-inner{ position:relative; z-index:2; padding-top:22px; padding-bottom:64px; max-width:1240px; }
.hero-topbar{ margin-bottom:26px; }
.hero-topbar span{ display:inline-block; background:var(--orange); color:#fff; font-weight:600;
  border-radius:10px; padding:9px 20px; font-size:15.5px; }
.hero-headrow{ display:flex; align-items:center; justify-content:space-between; margin-bottom:34px; gap:20px; }
.hero-logo{ height:77px; width:auto; }
/* live: 36px/300 on #f9811c, 22px radius, 57px tall */
.callbtn{ background:var(--orange-hero); color:#fff; font-weight:300; font-size:clamp(24px,2.8vw,36px);
  border-radius:22px; padding:6px 28px; line-height:1.25; white-space:nowrap; }
.hero-grid{ display:grid; grid-template-columns:minmax(0,1fr) 600px; gap:48px; align-items:center; }
@media (max-width:1080px){ .hero-grid{ grid-template-columns:1fr; gap:40px; } .quote-card{ max-width:600px; margin:0 auto; width:100%; } }
.checks-2col{ display:grid; grid-template-columns:1fr 1fr; gap:4px 26px; }
@media (max-width:980px){
  .hero-grid{ grid-template-columns:1fr; gap:40px; }
  .hero-headrow{ flex-direction:column; gap:18px; }
  .hero-logo{ height:84px; }
  .checks-2col{ grid-template-columns:1fr; }
}
.callpill{ display:inline-flex; align-items:center; gap:10px; background:var(--orange); color:#fff;
  border-radius:42px; padding:15px 34px; font-weight:400; font-size:17px; }
.callpill small{ display:block; font-size:14px; font-weight:500; opacity:.95; }
.callpill .num{ font-size:22px; }

/* hero */
.hero{ position:relative; color:#fff; overflow:hidden; }
.hero-bg{ position:absolute; inset:0; width:100%; height:100%; object-fit:cover; }
.hero::after{ content:""; position:absolute; inset:0; background:var(--hero-tint); }

.hero .eyebrow{ color:#fff; }
.hero .eyebrow::before{ background:#fff; }
.hero p.lead{ font-size:16px; max-width:52ch; margin:16px 0 22px; color:#fff; }
.checks{ margin:0 0 30px; }
.checks li{ display:flex; align-items:center; gap:10px; font-size:16px; font-weight:400; margin-bottom:10px; }
.checks .tick{ width:22px; height:22px; border-radius:50%; background:var(--orange); color:#fff;
  display:inline-flex; align-items:center; justify-content:center; font-size:14px; flex-shrink:0; }
.hero-cta{ display:flex; gap:14px; flex-wrap:wrap; }

/* form card */
.quote-card{ background:#fff; color:var(--ink); border-radius:var(--radius);
  box-shadow:0 24px 60px rgba(0,0,0,.25); padding:30px 26px 14px; }
.quote-card h2{ margin-bottom:10px; font-size:clamp(22px,2vw,28px); }

/* card is 600px -> iframe ~548px -> GHL renders single column (content 720px). */
iframe[id^="inline-"]{ width:100%; border:none; height:720px !important; }
@media (max-width:560px){ iframe[id^="inline-"]{ height:872px !important; } }

/* services grid */
.svc-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:26px; margin-top:44px; }
.svc-card{ background:#fff; border-radius:var(--radius); overflow:hidden;
  box-shadow:0 14px 40px rgba(0,0,0,.10); display:flex; flex-direction:column; }
.svc-card img{ height:190px; width:100%; object-fit:cover; }
.svc-body{ padding:22px 22px 26px; display:flex; flex-direction:column; flex:1; }
.svc-body h3{ font-size:19px; margin-bottom:8px; }
.svc-body p{ color:var(--ink-dim); font-size:15.5px; flex:1; margin-bottom:18px; }
@media (max-width:900px){ .svc-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .svc-grid{ grid-template-columns:1fr; } }

/* split feature (about / emergency) */
.split{ display:grid; grid-template-columns:1fr 1fr; gap:56px; align-items:center; }
.split .photo{ position:relative; }
.split .photo > img{ border-radius:var(--radius); width:100%; height:460px; object-fit:cover; }
.split .photo .overlap{ position:absolute; right:-16px; bottom:-38px; width:44%;
  border-radius:18px; border:6px solid #fff; box-shadow:0 18px 44px rgba(0,0,0,.18); }
.split p{ color:var(--ink-dim); margin-bottom:16px; }
@media (max-width:900px){ .split{ grid-template-columns:1fr; gap:34px; } .split .photo > img{ height:340px; } }

/* CTA band */
/* live: CTA sits on the why-homeowners photo band (image sized to the BAND, not the
   viewport - background-attachment:fixed breaks the crop). Parallax = the oversized
   .cta-bg layer drifting a few px on scroll (main.js). */
.cta-band{ position:relative; overflow:hidden; text-align:center; background:#fff; }
.cta-bg{ position:absolute; left:0; right:0; top:-44px; bottom:-44px; z-index:0;
  background:url('../assets/images/why-homeowners.webp') center/cover no-repeat;
  will-change:transform; }
.cta-band .container{ position:relative; z-index:1; }
@media (prefers-reduced-motion:reduce){ .cta-bg{ top:0; bottom:0; } }
.cta-band h2{ max-width:22ch; margin:0 auto 12px; }
.cta-band p{ color:var(--ink-dim); max-width:60ch; margin:0 auto 26px; }

/* black sections */
.black{ background:var(--black); color:#fff; }
.black p{ color:var(--on-black-dim); }

/* why cards */
.why-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; margin-top:40px; }
.why-card{ background:#fff; border-radius:var(--radius); padding:28px 24px;
  box-shadow:0 14px 40px rgba(0,0,0,.10); }
.why-card h3{ font-size:19px; margin-bottom:8px; }
.why-card p{ color:var(--ink-dim); font-size:15px; }
@media (max-width:900px){ .why-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .why-grid{ grid-template-columns:1fr; } }

/* reviews */
.rev-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; margin-top:40px; }
.rev-card{ background:#fff; border-radius:var(--radius); padding:26px;
  box-shadow:0 14px 40px rgba(0,0,0,.10); }
.rev-stars{ color:#f5a623; letter-spacing:2px; margin-bottom:10px; }
.rev-card p{ color:var(--ink-dim); font-size:15px; }
.rev-card .name{ font-weight:600; margin-top:14px; color:var(--ink); }
.rev-tbc{ outline:2px dashed var(--orange-deep); outline-offset:-2px; opacity:.75; }
@media (max-width:900px){ .rev-grid{ grid-template-columns:1fr; } }

/* gallery (exact live-lander mosaic: 4 cols, tiles 3 + 5 double-width, photo bg as-is) */
.gallery-bg{
  /* live lander: photo bg under a rgba(255,255,255,0.94) white overlay */
  background: linear-gradient(rgba(255,255,255,0.94), rgba(255,255,255,0.94)),
              url('../assets/images/gallery/our-project-gallery-bg.webp') center/cover no-repeat;
}
.gal-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:40px; max-width:1196px; margin-left:auto; margin-right:auto; }
.gal-grid img{ width:100%; height:100%; object-fit:cover; aspect-ratio:290/313; border-radius:16px; }
.gal-grid img.gal-wide{ grid-column:span 2; aspect-ratio:591/313; }
@media (max-width:700px){
  .gal-grid{ grid-template-columns:1fr 1fr; }
  .gal-grid img{ aspect-ratio:290/313; }
  .gal-grid img.gal-wide{ aspect-ratio:591/313; }
}

/* process steps */
/* live spec: #f7f7f7 card, 1px #efefef border, 16px radius, no shadow,
   50px orange icon, ghost number top-right rgba(43,43,43,0.2) */
.steps{ display:grid; grid-template-columns:repeat(4,1fr); gap:12px; margin-top:44px; }
.step{ position:relative; background:#f7f7f7; border:1px solid #efefef; border-radius:16px;
  padding:26px 22px 22px; text-align:left; }
.step img{ width:50px; height:50px; object-fit:contain; margin-bottom:14px; }
.step .ghost-n{ position:absolute; top:20px; right:22px; font-size:22px; font-weight:700; color:rgba(43,43,43,.2); }
.step h3{ font-size:22px; font-weight:500; margin-bottom:6px; }
.step p{ color:var(--ink); font-size:16px; line-height:26px; }
@media (max-width:900px){ .steps{ grid-template-columns:1fr 1fr; } }
@media (max-width:600px){ .steps{ grid-template-columns:1fr; } }

/* faq */
/* live spec: white card, 12px radius, 1px #EFEFEF border, no shadow,
   22px/500 question in #1A1A1A, 32px orange plus at right */
.faq{ max-width:820px; margin:40px auto 0; }
.faq details{ background:#fff; border-radius:12px; border:1px solid #efefef;
  margin-bottom:20px; padding:20px 40px 20px 32px; }
.faq summary{ font-weight:500; font-size:22px; line-height:1.3; color:#1a1a1a;
  cursor:pointer; list-style:none; position:relative; padding-right:40px; }
.faq summary::-webkit-details-marker{ display:none; }
.faq summary::after{ content:"+"; position:absolute; right:0; top:-4px; font-size:32px; color:var(--orange); font-weight:400; }
.faq details[open] summary::after{ content:"\2212"; }
.faq details[open] summary{ border-bottom:1px solid #dcdcdc; padding-bottom:16px; }
.faq details p{ color:var(--ink); font-size:16px; line-height:1.5; padding-top:16px; }
@media (max-width:1024px){ .faq summary{ font-size:18px; } }

/* footer */
.footer{ background:var(--black); color:#fff; text-align:center; padding:56px 24px 40px; }
.footer img{ height:72px; margin:0 auto 18px; }
.footer p{ color:var(--on-black-dim); margin-bottom:22px; }

.center{ text-align:center; }
.center .eyebrow{ justify-content:center; }
.mt-30{ margin-top:30px; }

/* icon trio strip below banner */
/* live spec: #f7f7f7, 142px tall, small icon inline-left of 20px/500 text rgb(50,45,45) */
.icon-strip{ background:#f7f7f7; padding:46px 0; }
.icon-strip-grid{ display:flex; justify-content:space-between; align-items:center; gap:24px; }
.icon-item{ display:flex; align-items:center; gap:14px; }
.icon-item img{ width:42px; height:42px; object-fit:contain; flex-shrink:0; }
.icon-item p{ font-weight:500; font-size:20px; color:rgb(50,45,45); line-height:26px; white-space:nowrap; }
@media (max-width:860px){
  .icon-strip{ padding:34px 0; }
  .icon-strip-grid{ flex-direction:column; gap:22px; align-items:center; }
}

.rev-summary{ font-size:20px; margin-top:14px; }
.rev-when{ font-weight:400; color:var(--ink-dim); font-size:14px; }

/* services photo tiles (source style: black section, full-bleed tiles, hover reveal) */
.svc-black{ padding-bottom:0; }
.svc-sub{ max-width:64ch; margin:14px auto 44px; }
.tile-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:14px; padding:0 14px 14px; }
.tile{ position:relative; display:block; aspect-ratio:16/10; overflow:hidden; }
.tile img{ width:100%; height:100%; object-fit:cover; transition:transform .5s ease; }
.tile:hover img{ transform:scale(1.05); }
.tile-overlay{
  position:absolute; inset:0; display:flex; flex-direction:column; justify-content:flex-end;
  padding:22px; background:linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.78));
  transition:background .3s ease;
}
.tile-overlay h3{ color:#fff; font-size:19px; }
.tile-more{ max-height:0; overflow:hidden; transition:max-height .4s ease, margin .3s; }
.tile-more p{ color:#e8e4df; font-size:14.5px; margin:10px 0 14px; }
.tile-more .btn{ padding:11px 22px; font-size:15px; }
.tile:hover .tile-overlay{ background:linear-gradient(180deg, rgba(0,0,0,.15), rgba(0,0,0,.85)); }
.tile:hover .tile-more{ max-height:190px; }
@media (max-width:900px){ .tile-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:640px){
  .tile-grid{ grid-template-columns:1fr; }
  .tile-more{ max-height:none; }  /* no hover on touch - show all */
  .tile-overlay{ background:linear-gradient(180deg, rgba(0,0,0,.1), rgba(0,0,0,.85)); }
}

/* reviews: auto-scrolling marquee (like the live widget's movement) */
.rev-marquee{ overflow:hidden; margin-top:36px;
  mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent); }
.rev-track{ display:flex; gap:22px; width:max-content; animation:rev-scroll 45s linear infinite; }
.rev-marquee:hover .rev-track{ animation-play-state:paused; }
@keyframes rev-scroll{ to{ transform:translateX(-33.333%); } }
@media (prefers-reduced-motion:reduce){ .rev-track{ animation:none; } }
.rev-card{ width:380px; flex-shrink:0; text-align:left; }
.rev-top{ display:flex; align-items:center; gap:12px; margin-bottom:10px; }
.rev-avatar{ width:42px; height:42px; border-radius:50%; color:#fff; display:inline-flex;
  align-items:center; justify-content:center; font-weight:700; font-size:14px; flex-shrink:0; }
.rev-name{ font-weight:600; }
.rev-g{ width:22px; height:22px; margin-left:auto; }
@media (max-width:640px){ .rev-card{ width:300px; } }

/* video testimonials (live spec: plain 26px/400 brand line, 3-across grid of
   380-wide portrait videos, 28px gaps, white section, no shadow) */
.vid-brand{ font-size:26px; font-weight:400; color:var(--ink); margin-bottom:26px; text-align:center; }
.vid-row{ display:grid; grid-template-columns:repeat(3,1fr); gap:28px; padding-top:0; }
.vid-card{ aspect-ratio:380/663; border-radius:16px; overflow:hidden; background:#000; }
.vid-card iframe{ width:100%; height:100%; border:0; display:block; }
@media (max-width:860px){ .vid-row{ grid-template-columns:1fr; max-width:420px; margin:0 auto; } }
.gbadge{ display:inline-flex; align-items:center; gap:12px; text-align:left; font-size:14px; font-weight:600; }
.gbadge img{ width:34px; height:34px; }
.gbadge strong{ font-size:16px; }
.gstars{ color:#f5a623; letter-spacing:1px; }

/* Google reviews widget style (matches live) */
.grev-banner{ background:#f6f6f8; border-radius:20px; padding:26px 30px; max-width:1100px; margin:30px auto 0; }
.grev-banner-title{ font-weight:700; font-size:20px; display:flex; align-items:center; justify-content:center; gap:10px; color:#1c1c1c; }
.grev-banner-title img{ width:26px; height:26px; }
.grev-banner-sub{ margin-top:4px; color:#3a3a3a; }
.grev-banner-sub .star{ color:#f5a623; }
.grev-marquee{ overflow:hidden; margin-top:28px; padding:6px 0;
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.grev-track{ display:flex; gap:22px; width:max-content; animation:grev-ltr 50s linear infinite; }
.grev-marquee:hover .grev-track{ animation-play-state:paused; }
/* left-to-right drift */
@keyframes grev-ltr{ from{ transform:translateX(-50%);} to{ transform:translateX(0);} }
@media (prefers-reduced-motion:reduce){ .grev-track{ animation:none; } }
.grev-card{ width:300px; flex-shrink:0; background:#f6f6f8; border-radius:18px; padding:22px; text-align:left; }
.grev-top{ display:flex; gap:12px; align-items:center; margin-bottom:10px; }
.grev-avatar{ position:relative; width:44px; height:44px; border-radius:50%; color:#fff; font-weight:700;
  display:inline-flex; align-items:center; justify-content:center; font-size:15px; flex-shrink:0; }
.grev-avatar img{ position:absolute; right:-3px; bottom:-3px; width:18px; height:18px; background:#fff; border-radius:50%; padding:1px; }
.grev-name{ font-weight:700; font-size:15px; color:#1c1c1c; }
.grev-check{ display:inline-flex; width:15px; height:15px; border-radius:50%; background:#1a73e8; color:#fff;
  font-size:9px; align-items:center; justify-content:center; vertical-align:2px; margin-left:3px; }
.grev-when{ display:block; font-size:13px; color:#777; }
.grev-stars{ color:#f5a623; letter-spacing:2px; font-size:17px; margin-bottom:8px; }
.grev-text{ font-size:14.5px; color:#3a3a3a; line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden; }
.grev-more{ color:#1a73e8; font-size:14px; display:inline-block; margin-top:6px; }

/* "What Our Customers Say": counter-scrolling marquee rows (house pattern, JJC styling) */
.rv-header{ text-align:center; margin-bottom:40px; padding:0 32px; }
.rv-title{ font-size:clamp(24px,2.6vw,34px); font-weight:600; letter-spacing:-0.01em; color:var(--ink); margin-bottom:12px; }
.rv-summary{ display:inline-flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap; row-gap:4px;
  font-size:clamp(18px,2vw,22px); font-weight:600; color:var(--ink); }
.rv-summary strong{ color:var(--orange-deep); }
.rv-glogo{ width:28px; height:28px; object-fit:contain; }
.rv-gstars{ color:#fbbc04; letter-spacing:2px; }
.rv-card{ background:#f6f6f8; border-radius:18px; padding:24px; width:360px; flex-shrink:0;
  display:flex; flex-direction:column; text-align:left; }
.rv-top{ display:flex; gap:12px; align-items:center; margin-bottom:10px; }
.rv-avatar{ width:42px; height:42px; border-radius:50%; color:#fff; flex-shrink:0;
  display:flex; align-items:center; justify-content:center; font-weight:700; font-size:14px; }
.rv-name{ font-weight:600; font-size:15px; color:#1c1c1c; }
.rv-check{ display:inline-flex; width:14px; height:14px; border-radius:50%; background:#1a73e8; color:#fff;
  font-size:9px; align-items:center; justify-content:center; vertical-align:middle; }
.rv-date{ font-size:13px; color:#777; }
.rv-stars{ color:#fbbc04; font-size:16px; letter-spacing:1px; margin-bottom:8px; }
.rv-text{ font-size:14.5px; line-height:1.55; color:#3a3a3a; margin:0;
  display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:4; overflow:hidden; }
.rv-marquee{ overflow:hidden; position:relative; margin-bottom:22px;
  mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent);
  -webkit-mask-image:linear-gradient(90deg,transparent,#000 5%,#000 95%,transparent); }
.rv-track{ display:flex; gap:22px; width:max-content; }
.rv-track-l{ animation:rv-left 70s linear infinite; }
.rv-track-r{ animation:rv-right 70s linear infinite; }
.rv-marquee:hover .rv-track{ animation-play-state:paused; }
@keyframes rv-left{ to{ transform:translateX(-50%); } }
@keyframes rv-right{ from{ transform:translateX(-50%); } to{ transform:translateX(0); } }
.rv-cta{ display:flex; justify-content:center; margin-top:32px; padding:0 32px; }
@media (prefers-reduced-motion:reduce){ .rv-track{ animation:none; } }
@media (max-width:760px){
  .rv-marquee{ mask-image:none; -webkit-mask-image:none; margin-bottom:0; }
  .rv-track{ animation:none; flex-direction:column; width:auto; gap:16px; padding:0 24px; }
  .rv-card{ width:100%; }
  .rv-track .rv-card:nth-child(n+4){ display:none; }
  .rv-row-2{ display:none; }
  .rv-cta{ margin-top:24px; }
}
