/* Homepage sections (Task 4). Shared components live in styles.css. */
#hero{
  padding:0;
  background:var(--white);
  min-height:100vh;
  display:flex;
  flex-direction:column;
  position:relative;
  overflow:hidden;
}
#hero::before{
  content:'';
  position:absolute;
  inset:0;
  background-image:radial-gradient(circle,rgba(0,0,0,.045) 1px,transparent 1px);
  background-size:36px 36px;
  pointer-events:none;
  z-index:0;
}
#hero::after{
  content:'';
  position:absolute;
  top:-120px;right:-120px;
  width:560px;height:560px;
  background:radial-gradient(circle,rgba(29,185,84,.13) 0%,transparent 65%);
  pointer-events:none;
  z-index:0;
}
.hero-glow2{
  position:absolute;
  bottom:-80px;left:-80px;
  width:400px;height:400px;
  background:radial-gradient(circle,rgba(29,185,84,.07) 0%,transparent 65%);
  pointer-events:none;
  z-index:0;
}
.hero-inner{
  flex:1;
  display:grid;
  grid-template-columns:1fr 480px;
  gap:48px;
  align-items:center;
  padding-top:80px;
  padding-bottom:80px;
  position:relative;
  z-index:1;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(29,185,84,.12);
  border:1px solid rgba(29,185,84,.3);
  color:var(--green2);
  padding:7px 16px;border-radius:50px;
  font-size:.7rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;
  margin-bottom:28px;
}
.hero-badge::before{
  content:'';width:6px;height:6px;border-radius:50%;background:var(--green2);
  animation:hb-pulse 1.8s infinite;
}
.hero-h1{
  font-family:'Bricolage Grotesque',sans-serif;
  font-size:clamp(2.8rem,5.2vw,4.4rem);
  font-weight:900;
  line-height:1.02;
  letter-spacing:-.03em;
  color:var(--black);
  margin-bottom:24px;
}
.hero-h1 em{font-style:italic;color:var(--green2);}
.hero-h1 .thin{font-weight:300;color:rgba(0,0,0,.3);}
.hero-sub{
  font-size:1.05rem;color:var(--muted);
  line-height:1.7;max-width:460px;margin-bottom:38px;
}
.hero-actions{display:flex;flex-wrap:wrap;gap:12px;margin-bottom:44px;}
.hero-trust-bar{
  display:flex;flex-wrap:wrap;gap:0;
  border:1px solid var(--border);
  border-radius:var(--radius);
  overflow:hidden;
}
.htb-item{
  display:flex;align-items:center;gap:8px;
  padding:14px 20px;
  border-right:1px solid var(--border);
  font-size:.75rem;font-weight:600;color:var(--muted);
  flex:1;
}
.htb-item:last-child{border-right:none;}
.htb-item i{color:var(--green2);font-size:.85rem;}
.hero-visual{position:relative;}
.hero-img-frame{
  border-radius:var(--radius-lg);
  overflow:hidden;
  height:520px;
  position:relative;
  border:1px solid var(--border);
  box-shadow:0 0 0 1px rgba(29,185,84,.15),0 32px 80px rgba(0,0,0,.1);
}
.hero-img-frame img{width:100%;height:100%;}
.hero-img-frame::after{
  content:'';position:absolute;inset:0;
  background:linear-gradient(180deg,transparent 60%,rgba(0,0,0,.25));
}
.hv-card{
  position:absolute;
  background:rgba(255,255,255,.95);
  backdrop-filter:blur(16px);
  border:1px solid rgba(29,185,84,.2);
  border-radius:var(--radius);
  padding:14px 18px;
  z-index:2;
  box-shadow:0 8px 32px rgba(0,0,0,.1);
}
.hv-card-tl{top:20px;left:20px;}
.hv-card-br{bottom:24px;right:20px;display:flex;align-items:center;gap:10px;}
.hvc-num{font-family:'Bricolage Grotesque',sans-serif;font-weight:900;font-size:1.6rem;color:var(--black);line-height:1;}
.hvc-num sup{font-size:.7em;color:var(--green2);vertical-align:top;margin-top:2px;}
.hvc-label{font-size:.68rem;color:var(--muted);margin-top:4px;font-weight:500;}
.hvc-sep{width:1px;height:36px;background:var(--border);}
.hvc-stars{color:var(--green2);font-size:.8rem;letter-spacing:2px;margin-bottom:2px;}
.hvc-name{font-size:.7rem;color:var(--muted);}
#trust-bar{
  background:var(--dark2);
  border-bottom:1px solid var(--border-dark);
  padding:28px 0;
}
.tb-inner{display:flex;align-items:center;justify-content:center;gap:48px;flex-wrap:wrap;}
.tb-item{display:flex;flex-direction:column;align-items:center;gap:5px;}
.tb-item-num{font-family:'Bricolage Grotesque',sans-serif;font-size:1.3rem;font-weight:900;color:#fff;}
.tb-item-label{font-size:.65rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:rgba(255,255,255,.35);}
.tb-divider{width:1px;height:36px;background:rgba(255,255,255,.08);}
#services{background:var(--white);}
.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px;}
.svc-card{border-radius:18px;overflow:hidden;background:var(--white);border:1px solid var(--border);display:flex;flex-direction:column;transition:transform .35s var(--ease-s),box-shadow .35s var(--ease-s),border-color .3s;}
.svc-card:hover{transform:translateY(-8px);box-shadow:0 28px 72px rgba(0,0,0,.11);border-color:var(--green-b);}
.svc-img{height:250px;overflow:hidden;position:relative;}
.svc-img::after{content:'';position:absolute;inset:0;background:linear-gradient(180deg,transparent 45%,rgba(0,0,0,.42));pointer-events:none;}
.svc-img img{width:100%;height:100%;object-fit:cover;transition:transform .7s var(--ease-s),filter .5s;filter:saturate(.78);}
.svc-card:hover .svc-img img{transform:scale(1.09);filter:saturate(1.08);}
.svc-badge{position:absolute;top:14px;left:14px;z-index:2;background:rgba(255,255,255,.92);backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);color:var(--green-dim);font-size:.63rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:5px 13px;border-radius:50px;display:inline-flex;align-items:center;gap:6px;border:none;box-shadow:0 2px 12px rgba(0,0,0,.1);}
.svc-body{padding:24px 26px 28px;flex:1;display:flex;flex-direction:column;}
.svc-h{font-family:'Bricolage Grotesque',sans-serif;font-size:1.18rem;font-weight:800;color:var(--black);margin-bottom:9px;}
.svc-p{font-size:.84rem;color:var(--muted);line-height:1.65;flex:1;margin-bottom:18px;}
.svc-arrow{display:inline-flex;align-items:center;gap:8px;font-size:.82rem;font-weight:700;color:var(--green2);padding-top:14px;border-top:1px solid var(--border);transition:gap .25s var(--ease-s),color .2s;}
.svc-card:hover .svc-arrow{gap:14px;color:var(--green-dim);}
#pricing{padding:0 0 100px;background:var(--white);}
.pricing-card{display:grid;grid-template-columns:1.5fr 1fr;align-items:center;gap:48px;background:var(--green-lt);border:1px solid var(--green-b);border-radius:var(--radius-lg);padding:44px 52px;}
.pricing-copy .section-h{text-align:left;margin-bottom:12px;}
.pricing-copy p{color:var(--muted);font-size:.93rem;line-height:1.65;max-width:480px;}
.pricing-price{text-align:center;background:var(--white);border:1px solid var(--green-b);border-radius:16px;padding:28px 24px;box-shadow:var(--shadow);}
.pp-label{font-size:.68rem;font-weight:700;letter-spacing:.16em;text-transform:uppercase;color:var(--muted);}
.pp-num{font-family:'Bricolage Grotesque',sans-serif;font-size:3.1rem;font-weight:900;color:var(--green-dim);line-height:1.05;margin:6px 0 2px;letter-spacing:-.02em;}
.pp-num span{font-size:1.1rem;font-weight:700;color:var(--black);letter-spacing:0;}
.pp-sub{font-size:.8rem;color:var(--muted);margin-bottom:18px;}
.pricing-price .btn{width:100%;justify-content:center;}
#standard{background:var(--dark);position:relative;overflow:hidden;}
#standard::before{content:'';position:absolute;inset:0;background-image:radial-gradient(circle,rgba(255,255,255,.025) 1px,transparent 1px);background-size:32px 32px;pointer-events:none;}
#standard::after{content:'';position:absolute;top:-150px;right:-100px;width:500px;height:500px;background:radial-gradient(circle,rgba(29,185,84,.1) 0%,transparent 65%);pointer-events:none;}
.standard-head{text-align:center;max-width:560px;margin:0 auto 64px;position:relative;z-index:1;}
.standard-head .section-h{color:#fff;}
.standard-head .section-h em{color:var(--green2);}
.standard-head .section-sub{color:rgba(255,255,255,.45);}
.std-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1px;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.06);border-radius:var(--radius-lg);overflow:hidden;position:relative;z-index:1;}
.std-card{background:var(--dark2);padding:40px 32px;transition:background .25s;}
.std-card:hover{background:rgba(13,26,15,.95);}
.std-icon{width:52px;height:52px;background:rgba(29,185,84,.12);border:1px solid rgba(29,185,84,.2);border-radius:12px;display:flex;align-items:center;justify-content:center;color:var(--green2);font-size:1.15rem;margin-bottom:24px;transition:background .25s,box-shadow .25s;}
.std-card:hover .std-icon{background:rgba(29,185,84,.2);box-shadow:0 0 24px rgba(29,185,84,.2);}
.std-num{font-family:'Bricolage Grotesque',sans-serif;font-size:2.6rem;font-weight:900;color:#fff;line-height:1;margin-bottom:8px;}
.std-num span{color:var(--green2);font-size:1.6rem;}
.std-h{font-family:'Bricolage Grotesque',sans-serif;font-size:1rem;font-weight:800;color:#fff;margin-bottom:10px;}
.std-p{font-size:.83rem;color:rgba(255,255,255,.45);line-height:1.65;}
#why{background:var(--off);}
.why-inner{display:grid;grid-template-columns:1fr 1fr;gap:64px;align-items:stretch;}
.why-img{border-radius:var(--radius-lg);overflow:hidden;position:relative;min-height:420px;}
.why-img img{position:absolute;inset:0;width:100%;height:100%;}
.why-list{display:flex;flex-direction:column;}
.why-item{display:flex;gap:20px;padding:26px 0;border-bottom:1px solid var(--border);}
.why-item:last-child{border-bottom:none;}
.why-icon{width:44px;height:44px;min-width:44px;background:var(--green-lt);border:1px solid var(--green-b);border-radius:10px;display:flex;align-items:center;justify-content:center;color:var(--green-dim);font-size:.95rem;margin-top:2px;}
.why-text h3{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:.97rem;color:var(--black);margin-bottom:6px;}
.why-text p{font-size:.84rem;color:var(--muted);line-height:1.65;}
#process{background:var(--white);}
.process-grid{display:grid;grid-template-columns:repeat(4,1fr);border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;}
.proc-cell{padding:36px 26px;border-right:1px solid var(--border);background:var(--white);transition:background .2s;}
.proc-cell:last-child{border-right:none;}
.proc-cell:hover{background:var(--off);}
.proc-num{font-family:'Bricolage Grotesque',sans-serif;font-size:3.5rem;font-weight:900;color:var(--off2);line-height:1;margin-bottom:20px;}
.proc-icon{width:46px;height:46px;background:var(--black);border-radius:10px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:1rem;margin-bottom:14px;}
.proc-h{font-family:'Bricolage Grotesque',sans-serif;font-size:.97rem;font-weight:800;color:var(--black);margin-bottom:8px;}
.proc-p{font-size:.81rem;color:var(--muted);line-height:1.65;}
#gallery{background:var(--off);}
.gallery-grid{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(2,240px);gap:10px;}
.gallery-item{border-radius:var(--radius);overflow:hidden;position:relative;cursor:pointer;}
.gallery-item:first-child{grid-row:1/3;}
.gallery-item img{width:100%;height:100%;transition:transform .55s var(--ease-s),filter .55s;filter:saturate(.8);}
.gallery-item:hover img{transform:scale(1.05);filter:saturate(1);}
.gallery-cap{position:absolute;inset:0;background:linear-gradient(180deg,transparent 40%,rgba(0,0,0,.75));opacity:0;transition:opacity .3s;display:flex;align-items:flex-end;padding:18px;}
.gallery-item:hover .gallery-cap{opacity:1;}
.gallery-cap span{color:#fff;font-size:.78rem;font-weight:600;}
#compare{background:var(--off);}
.compare-table{width:100%;border-collapse:collapse;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;background:var(--white);}
.compare-table th{padding:16px 22px;font-size:.74rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;color:var(--muted);background:var(--white);text-align:left;border-bottom:1px solid var(--border);}
.compare-table th:not(:first-child){text-align:center;}
.compare-table th.us{background:var(--dark);color:var(--green2);}
.compare-table td{padding:15px 22px;font-size:.86rem;border-bottom:1px solid var(--border);color:var(--text);background:var(--white);}
.compare-table td:not(:first-child){text-align:center;}
.compare-table td.us-col{background:var(--green-lt);}
.compare-table tr:last-child td{border-bottom:none;}
.compare-table tr:hover td{background:var(--off);}
.compare-table tr:hover td.us-col{background:#dcfce7;}
.ct-check{color:var(--green2);}
.ct-x{color:#EF4444;}
.ct-maybe{color:#F59E0B;}
.ct-feature{font-weight:600;color:var(--black);}
.ct-feature small{display:block;font-weight:400;color:var(--muted);font-size:.75rem;margin-top:2px;}
#areas{background:var(--white);}
.areas-inner{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:start;}
.areas-grid{display:grid;grid-template-columns:1fr 1fr;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;}
.area-item{padding:15px 18px;border-right:1px solid var(--border);border-bottom:1px solid var(--border);display:flex;align-items:center;gap:10px;font-size:.86rem;font-weight:500;background:var(--white);transition:background .15s;}
.area-item:hover{background:var(--off);}
.area-item:nth-child(2n){border-right:none;}
.area-item i{color:var(--green2);font-size:.75rem;}
.area-item.primary{font-weight:700;color:var(--black);}
.areas-info h3{font-family:'Bricolage Grotesque',sans-serif;font-size:1.4rem;font-weight:800;color:var(--black);margin-bottom:14px;}
.areas-info p{font-size:.86rem;color:var(--muted);line-height:1.7;margin-bottom:22px;}
#faq{background:var(--off);}
.faq-inner{display:grid;grid-template-columns:340px 1fr;gap:64px;align-items:start;}
.faq-left h2{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(1.8rem,2.8vw,2.4rem);font-weight:800;color:var(--black);line-height:1.15;margin-bottom:14px;}
.faq-left p{font-size:.86rem;color:var(--muted);line-height:1.7;margin-bottom:26px;}
.btt-btn{width:40px;height:40px;background:rgba(13,26,15,.9);border:1px solid rgba(29,185,84,.2);border-radius:50%;display:flex;align-items:center;justify-content:center;color:var(--green2);font-size:.85rem;cursor:pointer;transition:background .2s,box-shadow .2s;backdrop-filter:blur(8px);}
.btt-btn:hover{background:rgba(29,185,84,.15);box-shadow:0 0 16px rgba(29,185,84,.2);}
#about{background:var(--white);}
.about-inner{display:grid;grid-template-columns:480px 1fr;gap:64px;align-items:center;}
.about-img-wrap{position:relative;border-radius:var(--radius-lg);overflow:hidden;height:480px;}
.about-img-wrap img{width:100%;height:100%;}
.about-badge{position:absolute;bottom:24px;left:24px;background:rgba(7,16,10,.92);backdrop-filter:blur(12px);border:1px solid rgba(29,185,84,.2);border-radius:var(--radius);padding:14px 18px;}
.about-badge-name{font-family:'Bricolage Grotesque',sans-serif;font-weight:800;font-size:.95rem;color:#fff;margin-bottom:2px;}
.about-badge-title{font-size:.72rem;color:rgba(255,255,255,.4);font-weight:500;}
.about-content h2{font-family:'Bricolage Grotesque',sans-serif;font-size:clamp(1.8rem,2.8vw,2.4rem);font-weight:800;color:var(--black);line-height:1.15;margin-bottom:16px;}
.about-content h2 em{font-style:italic;color:var(--green2);}
.about-content p{font-size:.9rem;color:var(--muted);line-height:1.75;margin-bottom:14px;}
.about-content p:last-of-type{margin-bottom:28px;}
.about-values{display:flex;flex-direction:column;gap:0;border:1px solid var(--border);border-radius:var(--radius-lg);overflow:hidden;margin-bottom:28px;}
.av-row{display:flex;align-items:center;gap:14px;padding:16px 20px;border-bottom:1px solid var(--border);background:var(--white);transition:background .15s;}
.av-row:last-child{border-bottom:none;}
.av-row:hover{background:var(--off);}
.av-dot{width:8px;height:8px;min-width:8px;border-radius:50%;background:var(--green2);}
.av-text{font-size:.85rem;font-weight:600;color:var(--black);}
.av-sub{font-size:.78rem;color:var(--muted);margin-top:2px;}
@media(max-width:1024px){
  .about-inner{grid-template-columns:1fr;}
  .about-img-wrap{height:320px;}
  .hero-inner{grid-template-columns:1fr;padding-top:56px;}
  .hero-img-frame{height:360px;}
  .why-inner{grid-template-columns:1fr;}
  .why-img{position:relative;top:auto;height:300px;min-height:0;}
  .std-grid{grid-template-columns:1fr;}
  .faq-inner{grid-template-columns:1fr;}
  .areas-inner{grid-template-columns:1fr;}
  .process-grid{grid-template-columns:1fr 1fr;}
  .proc-cell{border-bottom:1px solid var(--border);}
  .proc-cell:nth-child(3),.proc-cell:nth-child(4){border-bottom:none;}
  .tb-inner{gap:28px;}
  .compare-table td,.compare-table th{padding:12px 14px;}
}
@media(max-width:768px){
  .about-inner{grid-template-columns:1fr;}
  .about-img-wrap{height:260px;}
  .hero-inner{grid-template-columns:1fr;padding-top:40px;padding-bottom:40px;}
  .hero-h1{font-size:2.3rem;letter-spacing:-.02em;}
  .hero-sub{font-size:.93rem;margin-bottom:28px;}
  .hero-actions{gap:10px;margin-bottom:28px;}
  .hero-img-frame{height:280px;}
  .hv-card{display:none;}
  .hero-trust-bar{flex-wrap:wrap;}
  .htb-item{padding:10px 12px;font-size:.68rem;flex:1 1 45%;}
  #pricing{padding:0 0 60px;}
  .pricing-card{grid-template-columns:1fr;gap:24px;padding:32px 22px;text-align:center;}
  .pricing-copy .section-h{text-align:center;}
  .pricing-copy p{margin:0 auto;}
  .services-grid{grid-template-columns:1fr;gap:14px;}
  .svc-img{height:210px;}
  .why-item{gap:14px;}
  .process-grid{grid-template-columns:1fr;}
  .proc-cell{border-right:none;border-bottom:1px solid var(--border);}
  .proc-cell:last-child{border-bottom:none;}
  .gallery-grid{grid-template-columns:1fr 1fr;grid-template-rows:none;gap:8px;}
  .gallery-item{height:200px;}
  .gallery-item:first-child{grid-row:auto;}
  .compare-table th:nth-child(3),.compare-table td:nth-child(3),.compare-table th:nth-child(4),.compare-table td:nth-child(4){display:none;}
  .compare-table th,.compare-table td{padding:11px 12px;font-size:.8rem;}
}
@media(max-width:480px){
  .hero-h1{font-size:1.95rem;}
  .hero-sub{font-size:.88rem;line-height:1.65;}
  .hero-badge{font-size:.62rem;padding:6px 12px;}
  .hero-actions{flex-direction:column;}
  .hero-actions .btn{width:100%;justify-content:center;}
  .hero-img-frame{height:220px;}
  .htb-item{flex:1 1 100%;border-right:none;border-bottom:1px solid var(--border);}
  .htb-item:last-child{border-bottom:none;}
  .tb-inner{gap:20px;flex-wrap:wrap;}
  .svc-img{height:190px;}
  .svc-h{font-size:1.05rem;}
  .svc-body{padding:18px 18px 22px;}
  .std-grid{grid-template-columns:1fr;}
  .why-item{flex-direction:row;align-items:flex-start;}
  .why-icon{flex-shrink:0;}
  .gallery-grid{grid-template-columns:1fr;gap:8px;}
  .gallery-item{height:220px;}
  .areas-grid{grid-template-columns:1fr 1fr;}
  #compare .container{overflow-x:auto;-webkit-overflow-scrolling:touch;}
  .compare-table{min-width:340px;}
  .proc-h{font-size:1rem;}
  .proc-p{font-size:.83rem;}
}
.reviews-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:20px;}
.reviews-cta{text-align:center;margin-top:8px;}

/* ── Homepage additions (Task 4) ── */
#hero{min-height:0;}
.hero-inner{padding-top:64px;padding-bottom:72px;}
.hero-h1{font-size:clamp(2.4rem,4.8vw,4rem);}
.hero-h1 em{color:var(--green-ink);}
.hero-sub{max-width:520px;color:#4B5563;}
.hero-actions{margin-bottom:0;}
.hero-img-frame img{object-fit:cover;}
.hvc-sm{font-size:1.1rem!important;}
#trust-bar{padding:22px 0;}
.tb-inner{display:grid;grid-template-columns:repeat(4,auto);justify-content:center;gap:14px 44px;}
.tb-item{flex-direction:row;gap:10px;}
.tb-ic{width:20px;height:20px;color:var(--green2);}
.tb-item-label{color:rgba(255,255,255,.88);font-size:.74rem;}
.services-grid{list-style:none;grid-template-columns:repeat(6,1fr);}
.services-grid li{grid-column:span 2;}
.services-grid li:nth-child(4){grid-column:2/span 2;}
.svc-link{display:flex;flex-direction:column;height:100%;}
.svc-badge .ic{color:var(--green-ink);}
.svc-badge{color:var(--green-ink);}
.svc-p{color:#4B5563;}
.svc-arrow{color:var(--green-ink);}
.svc-card:hover .svc-arrow{color:var(--green-ink-hover);}
.svc-also{text-align:center;margin-top:26px;font-size:.92rem;color:#4B5563;}
.svc-also a{color:var(--green-ink);font-weight:700;}
.pp-num{color:var(--green-ink);}
.pp-sub{color:#4B5563;}
.pricing-copy p,.why-text p,.proc-p{color:#4B5563;}
.process-grid,.std-grid,.why-list{list-style:none;}
.proc-icon .ic{width:20px;height:20px;}
.std-icon .ic,.why-icon .ic{width:22px;height:22px;}
.std-p{color:rgba(255,255,255,.66);}
.why-icon{color:var(--green-ink);}
.gallery-grid{list-style:none;}
.gallery-item{position:relative;}
.gallery-item .gp-open{height:100%;}
.areas-grid{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:10px;max-width:980px;margin:0 auto;border:none;}
.areas-grid .area-item{display:flex;align-items:center;gap:8px;padding:14px 16px;border:1px solid var(--border);border-radius:12px;background:#fff;font-weight:600;font-size:.9rem;color:var(--text);}
.areas-grid a.area-item{color:var(--green-ink);}
.areas-grid a.area-item:hover{border-color:var(--green-b);background:var(--green-lt);}
#reviews{background:var(--white);}
/* Comparison table: all three options visible on phones (B2) */
.compare-wrap{overflow-x:auto;}
.compare-table th[scope=row]{text-align:left;}
.compare-table td,.compare-table th{color:var(--text);}
.ct-check{color:var(--green-ink);} .ct-x{color:#B91C1C;} .ct-minus{color:#B45309;}
.ct-feature small{color:#4B5563;}
@media(max-width:1024px){
  .services-grid{grid-template-columns:1fr 1fr;}
  .services-grid li,.services-grid li:nth-child(4){grid-column:auto;}
}
@media(max-width:768px){
  .hero-inner{display:flex;flex-direction:column;gap:26px;padding-top:26px;padding-bottom:40px;}
  .hero-visual{width:100%;max-width:none;}
  .hero-img-frame{width:100%;height:230px;max-width:none;aspect-ratio:auto;}
  .hero-img-frame img{width:100%;height:100%;}
  .hv-card{display:none;}
  .hero-actions .btn{flex:1 1 auto;justify-content:center;}
  .tb-inner{grid-template-columns:1fr 1fr;gap:12px 18px;justify-content:stretch;}
  .services-grid{grid-template-columns:1fr;}
  .compare-table thead{display:none;}
  .compare-table,.compare-table tbody,.compare-table tr,.compare-table th,.compare-table td{display:block;width:100%;}
  .compare-table tr{border:1px solid var(--border);border-radius:14px;margin-bottom:12px;overflow:hidden;background:#fff;}
  .compare-table th[scope=row]{background:var(--off);padding:12px 14px;border:none;}
  .compare-table td,.compare-table td:nth-child(3),.compare-table td:nth-child(4){display:flex;justify-content:space-between;gap:12px;padding:10px 14px;border:none;border-top:1px solid var(--border);text-align:right;}
  .compare-table td::before{content:attr(data-label);font-weight:700;color:var(--black);text-align:left;}
}
/* 4-photo portfolio preview: tall, two small, one wide (every homepage photo is different) */
@media(min-width:1025px){.gallery-grid .gallery-item:last-child{grid-column:2/4;}}
