/* ============================================================
   MICROSITE TEMPLATE — styles.css
   ============================================================
   BRANDING COLORS — edit these to match your niche:
   --blue       : primary color (nav, buttons, links)
   --blue-dark  : darker shade of primary
   --blue-light : lighter shade of primary
   --yellow     : accent/CTA color (main call-to-action buttons)
   --yellow-dark: darker accent

   Examples:
   Plumber  → blue stays blue, yellow stays yellow
   Roofer   → --blue: #374151 (slate), --yellow: #f97316 (orange)
   Locksmith→ --blue: #1d4ed8,          --yellow: #eab308 (amber)
   Pest ctrl→ --blue: #166534 (green),  --yellow: #f59e0b (yellow)
   Cleaner  → --blue: #0891b2 (cyan),   --yellow: #f59e0b (yellow)
   ============================================================ */
/* MICROSITE TEMPLATE — Complete Design System */
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
:root{
  --blue:#255c3a;--blue-dark:#17402a;--blue-light:#3d8659;
  --yellow:#e0821a;--yellow-dark:#bd6a0f;
  --green:#059669;--red:#dc2626;
  --dark:#0f172a;--dark-2:#1e293b;--dark-3:#334155;
  --mid:#64748b;--light:#f1f5f9;--white:#ffffff;--border:#e2e8f0;
  --r:8px;--rl:16px;
  --sh:0 4px 6px -1px rgba(0,0,0,.1),0 2px 4px -1px rgba(0,0,0,.06);
  --sh-lg:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -2px rgba(0,0,0,.05);
  --sh-xl:0 20px 25px -5px rgba(0,0,0,.1),0 10px 10px -5px rgba(0,0,0,.04);
  --t:all .22s ease;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --max:1200px
}
html{scroll-behavior:smooth;overflow-x:hidden}
body{font-family:var(--font);color:var(--dark);background:var(--white);line-height:1.6;-webkit-font-smoothing:antialiased;overflow-x:hidden}
img{max-width:100%;height:auto;display:block}
a{color:inherit;text-decoration:none}
ul,ol{list-style:none}
button{cursor:pointer;border:none;background:none;font-family:var(--font)}
input,select,textarea{font-family:var(--font)}
h1,h2,h3,h4{line-height:1.2;font-weight:700}
h1{font-size:clamp(1.9rem,4.5vw,3.4rem)}
h2{font-size:clamp(1.55rem,3.2vw,2.3rem)}
h3{font-size:clamp(1rem,1.8vw,1.25rem)}
p{line-height:1.7;color:var(--dark-3)}
.container{max-width:var(--max);margin:0 auto;padding:0 1.25rem}
.section{padding:5rem 0}
.section-header{text-align:center;margin-bottom:3rem}
.section-header h2{margin-bottom:.6rem}
.section-header p{font-size:1.05rem;max-width:580px;margin:0 auto}
.section-label{display:inline-block;font-size:.72rem;font-weight:700;letter-spacing:.1em;text-transform:uppercase;color:var(--blue);background:rgba(37,92,58,.09);padding:.28rem .8rem;border-radius:50px;margin-bottom:.6rem}
.grid-2{display:grid;grid-template-columns:1fr 1fr;gap:2rem}
.grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:2rem}
.grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.btn{display:inline-flex;align-items:center;gap:.45rem;padding:.8rem 1.6rem;border-radius:var(--r);font-weight:700;font-size:.95rem;transition:var(--t);line-height:1;white-space:nowrap;border:none;cursor:pointer;font-family:var(--font)}
.btn-primary{background:var(--yellow);color:var(--dark);box-shadow:0 4px 14px rgba(224,130,26,.34)}
.btn-primary:hover{background:var(--yellow-dark);transform:translateY(-2px);box-shadow:0 6px 20px rgba(224,130,26,.45)}
.btn-blue{background:var(--blue);color:var(--white);box-shadow:0 4px 14px rgba(37,92,58,.25)}
.btn-blue:hover{background:var(--blue-dark);transform:translateY(-2px)}
.btn-outline{background:transparent;color:var(--white);border:2px solid rgba(255,255,255,.4)}
.btn-outline:hover{background:rgba(255,255,255,.1);border-color:rgba(255,255,255,.7)}
.btn-ghost{background:transparent;color:var(--blue);border:2px solid var(--blue)}
.btn-ghost:hover{background:var(--blue);color:var(--white)}
.btn-lg{padding:1rem 2rem;font-size:1.05rem}
.btn-sm{padding:.55rem 1.1rem;font-size:.85rem}
.btn-full{width:100%;justify-content:center}
.ann-bar{background:var(--dark);color:var(--white);text-align:center;padding:.45rem 1rem;font-size:.82rem;font-weight:600;letter-spacing:.02em}
.site-header{position:sticky;top:0;z-index:1000;background:var(--white);border-bottom:1px solid var(--border);transition:var(--t)}
.site-header.scrolled{box-shadow:var(--sh)}
.header-inner{display:flex;align-items:center;justify-content:space-between;height:68px}
.header-logo{display:flex;align-items:center;gap:.6rem;font-weight:800;font-size:1.2rem;color:var(--dark)}
.header-logo img{height:42px;width:auto}
.main-nav{display:flex;align-items:center;gap:.1rem}
.main-nav>a,.nav-drop>a{display:flex;align-items:center;gap:.25rem;padding:.45rem .8rem;border-radius:var(--r);font-size:.875rem;font-weight:500;color:var(--dark-3);transition:var(--t)}
.main-nav>a:hover,.nav-drop>a:hover,.main-nav>a.active,.nav-drop>a.active{color:var(--blue);background:rgba(29,78,216,.06)}
.nav-drop{position:relative}
.drop-menu{position:absolute;top:100%;left:0;background:var(--white);border:1px solid var(--border);border-radius:var(--rl);box-shadow:var(--sh-xl);min-width:215px;padding:.8rem .4rem .4rem;opacity:0;pointer-events:none;transform:translateY(-6px);transition:var(--t);z-index:200}
.nav-drop:hover .drop-menu{opacity:1;pointer-events:all;transform:translateY(0)}
.drop-menu a{display:block;padding:.55rem .85rem;border-radius:6px;font-size:.85rem;color:var(--dark-3)}
.drop-menu a:hover{background:var(--light);color:var(--blue)}
.header-actions{display:flex;align-items:center;gap:.6rem}
.mob-btn{display:none;flex-direction:column;gap:5px;padding:.5rem;cursor:pointer;background:none;border:none}
.mob-btn span{display:block;width:22px;height:2px;background:var(--dark);border-radius:2px;transition:var(--t)}
.mob-nav{display:none;flex-direction:column;background:var(--white);border-top:1px solid var(--border);padding:.75rem 1rem}
.mob-nav.open{display:flex}
.mob-nav a{padding:.7rem 1rem;border-radius:var(--r);font-weight:500;color:var(--dark-3);border-bottom:1px solid var(--border)}
.mob-nav a:last-child{border-bottom:none}
.mob-nav a:hover{color:var(--blue);background:var(--light)}
.hero{position:relative;background:linear-gradient(135deg,var(--dark) 0%,var(--dark-2) 50%,#1a2744 100%);color:var(--white);overflow:hidden;min-height:90vh;display:flex;align-items:center}
.hero-bg{position:absolute;inset:0;background-image:url('/images/hero.jpg');background-size:cover;background-position:center;opacity:.15}
.hero-pat{position:absolute;inset:0;background-image:radial-gradient(circle at 18% 50%,rgba(29,78,216,.3) 0%,transparent 50%),radial-gradient(circle at 82% 20%,rgba(245,158,11,.12) 0%,transparent 40%)}
.hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:1fr 1fr;gap:3.5rem;align-items:center;padding:5rem 0 4rem}
.hero-badge{display:inline-flex;align-items:center;gap:.5rem;background:rgba(220,38,38,.15);border:1px solid rgba(220,38,38,.35);color:#fca5a5;font-size:.75rem;font-weight:700;letter-spacing:.08em;text-transform:uppercase;padding:.35rem .9rem;border-radius:50px;margin-bottom:1.1rem}
.badge-dot{width:7px;height:7px;background:var(--red);border-radius:50%;animation:pdot 1.5s infinite;display:inline-block}
@keyframes pdot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(1.4)}}
.hero h1{font-size:clamp(2.1rem,4.5vw,3.4rem);font-weight:900;line-height:1.1;margin-bottom:1.1rem;color:var(--white)}
.hero h1 span{color:var(--yellow)}
.hero-sub{font-size:1.05rem;color:rgba(255,255,255,.75);margin-bottom:2rem;max-width:460px}
.hero-feats{display:flex;flex-direction:column;gap:.55rem;margin-bottom:2rem}
.hero-feat{display:flex;align-items:center;gap:.7rem;font-size:.9rem;color:rgba(255,255,255,.9)}
.hero-feat-ic{width:20px;height:20px;background:var(--green);border-radius:50%;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:.65rem;color:var(--white)}
.hero-actions{display:flex;gap:.9rem;flex-wrap:wrap;margin-bottom:2rem}
.hero-trust{display:flex;gap:1.5rem;padding-top:1.75rem;border-top:1px solid rgba(255,255,255,.12);flex-wrap:wrap}
.hero-trust-item .num{font-size:1.5rem;font-weight:900;color:var(--yellow);line-height:1}
.hero-trust-item .lbl{font-size:.7rem;color:rgba(255,255,255,.55)}
.hero-form-card{background:var(--white);border-radius:var(--rl);padding:1.75rem;box-shadow:var(--sh-xl);color:var(--dark)}
.hfc-title{font-size:1.1rem;font-weight:800;margin-bottom:.3rem;color:var(--dark)}
.hfc-sub{font-size:.82rem;color:var(--mid);margin-bottom:1.2rem}
.response-badge{display:inline-flex;align-items:center;gap:.45rem;background:linear-gradient(135deg,#16a34a,#15803d);color:#fff;font-size:.82rem;font-weight:700;padding:.45rem .9rem;border-radius:999px;margin-bottom:1rem;box-shadow:0 2px 10px rgba(22,163,74,.35);letter-spacing:.02em;animation:pulse-green 2.5s infinite}
@keyframes pulse-green{0%,100%{box-shadow:0 2px 10px rgba(22,163,74,.35)}50%{box-shadow:0 2px 18px rgba(22,163,74,.65)}}
.hfc-sub-enhanced{font-size:.88rem;color:#16a34a;font-weight:700;margin-bottom:1.1rem;display:flex;align-items:center;gap:.4rem;background:rgba(22,163,74,.08);border:1.5px solid rgba(22,163,74,.25);border-radius:.5rem;padding:.5rem .75rem}
.cta-response-note{display:inline-flex;align-items:center;gap:.4rem;background:rgba(22,163,74,.12);border:1.5px solid rgba(22,163,74,.3);color:#15803d;font-size:.85rem;font-weight:700;padding:.35rem .75rem;border-radius:.5rem;margin-top:.4rem}
.lf-response-note{display:inline-flex;align-items:center;gap:.4rem;background:rgba(22,163,74,.15);border:2px solid rgba(22,163,74,.4);color:#bbf7d0;font-size:.95rem;font-weight:700;padding:.5rem 1rem;border-radius:.5rem;margin-top:.5rem}
.hfc-grid{display:grid;grid-template-columns:1fr 1fr;gap:0 .75rem}
.hfc-full{grid-column:1/-1}
.trust-bar{background:var(--dark-2);padding:1.1rem 0}
.trust-bar-inner{display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.trust-bar-item{display:flex;align-items:center;gap:.5rem;color:rgba(255,255,255,.8);font-size:.82rem;font-weight:500}
.feature-card{background:var(--white);border:1px solid var(--border);border-radius:var(--rl);padding:1.75rem;transition:var(--t)}
.feature-card:hover{border-color:var(--blue-light);box-shadow:var(--sh-lg);transform:translateY(-3px)}
.feat-icon{width:52px;height:52px;background:rgba(37,92,58,.09);border-radius:var(--rl);display:flex;align-items:center;justify-content:center;font-size:1.4rem;margin-bottom:1.1rem}
.feature-card h3{margin-bottom:.4rem}
.service-card{background:var(--white);border:1px solid var(--border);border-radius:var(--rl);overflow:hidden;transition:var(--t);display:flex;flex-direction:column}
.service-card:hover{box-shadow:var(--sh-lg);transform:translateY(-3px);border-color:var(--blue-light)}
.sc-img{height:175px;background:var(--light);overflow:hidden;display:flex;align-items:center;justify-content:center;font-size:3rem}
.sc-img img{width:100%;height:100%;object-fit:cover;transition:transform .4s ease}
.service-card:hover .sc-img img{transform:scale(1.05)}
.sc-body{padding:1.4rem;flex:1;display:flex;flex-direction:column}
.sc-body h3{margin-bottom:.5rem}
.sc-body p{font-size:.875rem;flex:1;margin-bottom:1.1rem}
.sc-link{font-size:.82rem;font-weight:700;color:var(--blue);display:flex;align-items:center;gap:.3rem;transition:gap .2s}
.sc-link:hover{gap:.6rem}
.stats-band{background:linear-gradient(135deg,var(--blue-dark),var(--blue));padding:4rem 0}
.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:2rem;text-align:center}
.stat-item .num{font-size:2.8rem;font-weight:900;color:var(--yellow);line-height:1;margin-bottom:.35rem}
.stat-item .label{font-size:.85rem;color:rgba(255,255,255,.7)}
.t-card{background:var(--white);border:1px solid var(--border);border-radius:var(--rl);padding:1.6rem;transition:var(--t)}
.t-card:hover{box-shadow:var(--sh-lg)}
.t-stars{color:#f59e0b;margin-bottom:.6rem}
.t-text{font-size:.9rem;font-style:italic;margin-bottom:.9rem}
.t-author{display:flex;align-items:center;gap:.65rem}
.t-avatar{width:38px;height:38px;border-radius:50%;background:var(--light);display:flex;align-items:center;justify-content:center;font-size:1rem}
.t-name{font-weight:700;font-size:.875rem}
.t-loc{font-size:.75rem;color:var(--mid)}
.price-card{background:var(--white);border:2px solid var(--border);border-radius:var(--rl);padding:1.75rem;text-align:center;transition:var(--t);position:relative;overflow:visible}
.price-card:hover{border-color:var(--blue);box-shadow:var(--sh-lg)}
.price-card.featured{background:var(--blue);border-color:var(--blue);color:var(--white)}
.price-card.featured p,.price-card.featured h3{color:rgba(255,255,255,.85)}
.price-badge{position:absolute;top:-13px;left:50%;transform:translateX(-50%);background:var(--yellow);color:var(--dark);font-size:.72rem;font-weight:700;padding:.28rem .9rem;border-radius:50px;white-space:nowrap}
.price-amount{font-size:2.3rem;font-weight:900;margin:.8rem 0 .4rem;color:var(--blue)}
.price-card.featured .price-amount{color:var(--yellow)}
.price-list{text-align:left;margin:1rem 0}
.price-list li{display:flex;align-items:flex-start;gap:.45rem;font-size:.85rem;padding:.35rem 0;color:var(--dark-3);border-bottom:1px solid var(--border)}
.price-list li:last-child{border-bottom:none}
.price-card.featured .price-list li{color:rgba(255,255,255,.82);border-color:rgba(255,255,255,.15)}
.chk{color:var(--green);font-size:.85rem;flex-shrink:0;margin-top:2px}
.price-card.featured .chk{color:var(--yellow)}
.faq-item{border:1px solid var(--border);border-radius:var(--r);overflow:hidden;margin-bottom:.6rem}
.faq-q{display:flex;align-items:center;justify-content:space-between;padding:1.1rem 1.35rem;cursor:pointer;font-weight:600;font-size:.95rem;color:var(--dark);background:var(--white);transition:background .18s;gap:1rem;user-select:none}
.faq-q:hover{background:var(--light)}
.faq-chv{font-size:.75rem;transition:transform .22s;flex-shrink:0;color:var(--blue)}
.faq-item.open .faq-chv{transform:rotate(180deg)}
.faq-a{display:none;padding:.9rem 1.35rem 1.1rem;color:var(--dark-3);line-height:1.7;border-top:1px solid var(--border);background:var(--white)}
.faq-item.open .faq-a{display:block}
.lf-section{background:linear-gradient(135deg,#0f172a 0%,#1e3a8a 100%);padding:5rem 0}
.lf-card{background:var(--white);border-radius:var(--rl);padding:2.25rem;max-width:680px;margin:0 auto;box-shadow:var(--sh-xl)}
.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:.9rem}
.form-group{display:flex;flex-direction:column;gap:.35rem}
.form-group.full{grid-column:1/-1}
.form-group label{font-size:.82rem;font-weight:600;color:var(--dark-3)}
.form-group input,.form-group select,.form-group textarea{padding:.7rem .95rem;border:2px solid var(--border);border-radius:var(--r);font-size:.95rem;color:var(--dark);background:var(--white);transition:border-color .18s;outline:none;width:100%}
.form-group input:focus,.form-group select:focus,.form-group textarea:focus{border-color:var(--blue)}
.form-group textarea{resize:vertical;min-height:85px}
.form-group select{-webkit-appearance:none;appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%2364748b' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right .7rem center;padding-right:2.2rem}
.form-submit{width:100%;padding:1rem;background:var(--yellow);color:var(--dark);font-size:1.05rem;font-weight:800;border-radius:var(--r);transition:var(--t);margin-top:.4rem;box-shadow:0 4px 14px rgba(224,130,26,.34);cursor:pointer;border:none;font-family:var(--font)}
.form-submit:hover{background:var(--yellow-dark);transform:translateY(-2px)}
.form-submit:disabled{opacity:.65;cursor:not-allowed;transform:none}
.form-note{text-align:center;font-size:.75rem;color:var(--mid);margin-top:.6rem}
.form-note a{color:var(--blue);text-decoration:underline}
.areas-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(155px,1fr));gap:.65rem}
.area-chip{display:flex;align-items:center;gap:.4rem;padding:.55rem .9rem;background:var(--white);border:1px solid var(--border);border-radius:var(--r);font-size:.85rem;color:var(--dark-3);transition:var(--t)}
.area-chip:hover{border-color:var(--blue);color:var(--blue);background:rgba(37,92,58,.05)}
.area-chip-dot{width:6px;height:6px;background:var(--blue);border-radius:50%;flex-shrink:0}
.cta-band{background:var(--yellow);padding:3rem 0}
.cta-inner{display:flex;align-items:center;justify-content:space-between;gap:2rem;flex-wrap:wrap}
.cta-inner h2{color:var(--dark);margin-bottom:.4rem}
.cta-inner p{color:var(--dark-3)}
.page-hero{background:linear-gradient(135deg,var(--dark) 0%,var(--blue-dark) 100%);padding:3.5rem 0 3rem;color:var(--white)}
.page-hero h1{color:var(--white);margin-bottom:.65rem}
.page-hero p{color:rgba(255,255,255,.72);font-size:1.05rem;max-width:560px}
.breadcrumb{padding:.65rem 0}
.bc-list{display:flex;align-items:center;gap:.4rem;font-size:.82rem;flex-wrap:wrap}
.bc-list a{color:rgba(255,255,255,.6)}
.bc-list a:hover{color:var(--white)}
.bc-sep{color:rgba(255,255,255,.3)}
.card{background:var(--white);border:1px solid var(--border);border-radius:var(--rl);padding:1.6rem;transition:var(--t)}
.card:hover{box-shadow:var(--sh-lg)}
.modal-ov{position:fixed;inset:0;background:rgba(0,0,0,.55);z-index:9999;display:flex;align-items:center;justify-content:center;padding:1rem;opacity:0;pointer-events:none;transition:opacity .22s}
.modal-ov.open{opacity:1;pointer-events:all}
.modal-box{background:var(--white);border-radius:var(--rl);padding:2.25rem;max-width:440px;width:100%;text-align:center;transform:scale(.94);transition:transform .22s}
.modal-ov.open .modal-box{transform:scale(1)}
.modal-icon{width:65px;height:65px;background:rgba(5,150,105,.1);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:1.9rem;margin:0 auto 1.1rem}
.modal-box h3{margin-bottom:.5rem}
.modal-box p{margin-bottom:1.25rem}
.float-cta{position:fixed;bottom:0;left:0;right:0;background:var(--white);padding:.65rem 1rem;box-shadow:0 -4px 18px rgba(0,0,0,.11);z-index:998;display:none;gap:.65rem}
.site-footer{background:var(--dark);color:rgba(255,255,255,.65);padding:4rem 0 0}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:2.5rem;margin-bottom:2.75rem}
.footer-logo{display:flex;align-items:center;gap:.65rem;margin-bottom:.9rem}
.footer-logo img{height:38px;filter:brightness(0) invert(1)}
.footer-logo span{color:var(--white);font-weight:800;font-size:1rem}
.footer-desc{font-size:.85rem;line-height:1.7;margin-bottom:1.1rem}
.footer-badges{display:flex;flex-wrap:wrap;gap:.4rem}
.f-badge{padding:.25rem .7rem;background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.09);border-radius:50px;font-size:.72rem;color:rgba(255,255,255,.55)}
.footer-col h4{font-size:.72rem;font-weight:700;letter-spacing:.09em;text-transform:uppercase;color:rgba(255,255,255,.35);margin-bottom:.9rem}
.footer-col ul{display:flex;flex-direction:column;gap:.45rem}
.footer-col a{font-size:.85rem;color:rgba(255,255,255,.58);transition:color .18s}
.footer-col a:hover{color:var(--white)}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);padding:1.35rem 0;display:flex;align-items:center;justify-content:space-between;gap:1rem;flex-wrap:wrap}
.footer-bottom-l{font-size:.78rem}
.footer-bottom-r{display:flex;gap:1.4rem}
.footer-bottom-r a{font-size:.78rem;color:rgba(255,255,255,.4)}
.footer-bottom-r a:hover{color:var(--white)}
.dist-meta{display:flex;gap:1.25rem;flex-wrap:wrap;margin-top:1.25rem}
.dist-meta-item{display:flex;align-items:center;gap:.45rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.14);border-radius:var(--r);padding:.45rem .9rem;font-size:.85rem;color:rgba(255,255,255,.88)}
.alert{padding:.9rem 1.1rem;border-radius:var(--r);display:flex;gap:.65rem;align-items:flex-start;font-size:.88rem}
.alert-blue{background:rgba(29,78,216,.06);border-left:4px solid var(--blue);color:var(--dark-3)}
.alert-yellow{background:rgba(245,158,11,.07);border-left:4px solid var(--yellow);color:var(--dark-3)}
#rq-container{position:fixed;bottom:1.4rem;right:1.4rem;z-index:1000;display:flex;flex-direction:column;align-items:flex-end;gap:.65rem}
#rq-launcher{width:54px;height:54px;border-radius:50%;background:var(--blue);color:var(--white);display:flex;align-items:center;justify-content:center;box-shadow:var(--sh-lg);transition:var(--t)}
#rq-launcher:hover{background:var(--blue-dark);transform:scale(1.06)}
#rq-greeting{background:var(--white);border-radius:var(--rl);padding:.7rem .95rem;box-shadow:var(--sh-lg);display:flex;align-items:center;gap:.65rem;max-width:200px;font-size:.85rem;border:1px solid var(--border);position:relative}
.rq-av-sm{width:34px;height:34px;border-radius:50%;object-fit:cover}
#rq-close-greeting{position:absolute;top:-.45rem;right:-.45rem;width:18px;height:18px;background:var(--mid);color:var(--white);border-radius:50%;font-size:.75rem;display:flex;align-items:center;justify-content:center;border:none;cursor:pointer}
#rq-panel{position:fixed;bottom:4.8rem;right:1.4rem;width:310px;background:var(--white);border-radius:var(--rl);box-shadow:var(--sh-xl);border:1px solid var(--border);overflow:hidden;transform:scale(.9) translateY(18px);opacity:0;pointer-events:none;transition:var(--t)}
#rq-panel.open{transform:scale(1) translateY(0);opacity:1;pointer-events:all}
.rq-ph{background:var(--blue);color:var(--white);padding:.9rem 1.1rem;display:flex;align-items:center;gap:.65rem}
.rq-av{width:38px;height:38px;border-radius:50%;object-fit:cover;border:2px solid rgba(255,255,255,.25)}
.rq-ht h3{font-size:.9rem;color:var(--white)}
.rq-ht p{font-size:.72rem;color:rgba(255,255,255,.65)}
#rq-close-panel{margin-left:auto;color:rgba(255,255,255,.65);font-size:1.1rem;background:none;border:none;cursor:pointer}
.rq-pc{padding:1.1rem}
.rq-fg{margin-bottom:.85rem}
.rq-fg label{font-size:.78rem;font-weight:600;display:block;margin-bottom:.25rem;color:var(--dark-3)}
.rq-fg input,.rq-fg textarea{width:100%;padding:.6rem .85rem;border:1.5px solid var(--border);border-radius:var(--r);font-size:.88rem;font-family:var(--font)}
.rq-fg input:focus,.rq-fg textarea:focus{border-color:var(--blue);outline:none}
.rq-dis{font-size:.68rem;color:var(--mid);margin-bottom:.65rem}
#rq-submit{width:100%;padding:.7rem;background:var(--blue);color:var(--white);border-radius:var(--r);font-weight:700;font-size:.88rem;transition:var(--t);cursor:pointer;border:none;font-family:var(--font)}
#rq-submit:hover{background:var(--blue-dark)}
.rq-hidden{display:none}
#rq-success{text-align:center;padding:1.35rem 0;font-size:.9rem}
.fade-up{opacity:0;transform:translateY(22px);transition:opacity .5s ease,transform .5s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}
.text-center{text-align:center}.font-bold{font-weight:700}.font-black{font-weight:900}
.text-blue{color:var(--blue)}.text-yellow{color:var(--yellow-dark)}.text-green{color:var(--green)}.text-red{color:var(--red)}.text-mid{color:var(--mid)}
.text-sm{font-size:.875rem}.text-xs{font-size:.8rem}
.mt-1{margin-top:.5rem}.mt-2{margin-top:1rem}.mt-3{margin-top:1.5rem}.mt-4{margin-top:2rem}
.mb-1{margin-bottom:.5rem}.mb-2{margin-bottom:1rem}.mb-3{margin-bottom:1.5rem}.mb-4{margin-bottom:2rem}
.flex{display:flex}.items-center{align-items:center}.gap-1{gap:.5rem}.gap-2{gap:1rem}
.hidden{display:none!important}
.divider{height:1px;background:var(--border);margin:1.75rem 0}
.data-table{width:100%;border-collapse:collapse}
.data-table th{background:var(--light);padding:.7rem 1rem;text-align:left;font-size:.85rem;font-weight:700;border-bottom:2px solid var(--border)}
.data-table td{padding:.7rem 1rem;border-bottom:1px solid var(--border);font-size:.88rem}
.data-table tr:hover td{background:var(--light)}
.process-step{display:flex;gap:1.5rem;align-items:flex-start;margin-bottom:2rem}
.step-num{width:48px;height:48px;background:var(--blue);color:var(--white);border-radius:50%;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:1.1rem;flex-shrink:0}
.lang-switcher{display:flex;align-items:center;gap:.25rem}
.lang-btn{display:inline-flex;align-items:center;gap:.25rem;padding:.25rem .55rem;border-radius:.375rem;font-size:.75rem;font-weight:700;letter-spacing:.04em;border:1.5px solid transparent;cursor:pointer;text-decoration:none;transition:all .18s}
.lang-btn.active{background:var(--blue);color:#fff;border-color:var(--blue)}
.lang-btn:not(.active){background:transparent;color:var(--dark-3);border-color:var(--border)}
.lang-btn:not(.active):hover{border-color:var(--blue);color:var(--blue)}
.mob-nav .lang-switcher{justify-content:center;padding:.6rem 1rem;border-top:1px solid var(--border);margin-top:.25rem}
/* LANGUAGE SWITCH (LV / EN) */
.lang-switch{display:inline-flex;align-items:center;gap:.3rem;padding:.25rem .5rem;
  border:1px solid var(--border);border-radius:var(--r);background:var(--white);
  font-size:.78rem;font-weight:700;letter-spacing:.04em;line-height:1;flex-shrink:0}
.lang-switch a{color:var(--mid);padding:.2rem .1rem;transition:var(--t)}
.lang-switch a:hover{color:var(--blue)}
.lang-switch a.is-active{color:var(--blue)}
.lang-sep{color:var(--border);font-weight:400}
.lang-switch-mob{display:flex;justify-content:center;margin-top:.75rem;
  align-self:center;padding:.4rem .8rem}
@media(max-width:640px){.lang-switch a{min-height:32px;display:inline-flex;align-items:center}}
/* three-language switch needs slightly tighter padding to fit the header */
.lang-switch{gap:.25rem;padding:.25rem .45rem;font-size:.75rem}
.lang-switch a{padding:.2rem .15rem}
@media(max-width:1100px){.lang-switch{font-size:.72rem;padding:.2rem .35rem}}
/* QUICK FORM (phone-only callback form) */
.quick-form-section{background:var(--dark-2);padding:3.5rem 0}
.quick-form-inner{display:flex;align-items:center;justify-content:space-between;gap:2.5rem;flex-wrap:wrap}
.quick-form-inner>div{flex:1;min-width:260px}
.quick-form-inner h2{color:var(--white);margin-bottom:.4rem}
.quick-form-inner p{color:rgba(255,255,255,.65)}
.quick-form{flex:1;min-width:260px}
.quick-form-fields{display:flex;gap:.65rem}
.quick-form-fields input{flex:1;padding:.85rem 1rem;border:2px solid rgba(255,255,255,.15);border-radius:var(--r);font-size:.95rem;font-family:var(--font);outline:none;background:rgba(255,255,255,.08);color:var(--white);transition:border-color .18s}
.quick-form-fields input::placeholder{color:rgba(255,255,255,.4)}
.quick-form-fields input:focus{border-color:var(--yellow);background:rgba(255,255,255,.12)}
.quick-form-note{font-size:.72rem;color:rgba(255,255,255,.35);margin-top:.5rem}
.quick-form-note a{color:rgba(255,255,255,.5);text-decoration:underline}
/* ALERT BOXES */
.alert{padding:.9rem 1.1rem;border-radius:var(--r);display:flex;gap:.65rem;align-items:flex-start;font-size:.88rem}
.alert-orange{background:rgba(234,88,12,.07);border-left:4px solid var(--yellow);color:var(--dark-3)}
.alert-blue{background:rgba(30,41,59,.06);border-left:4px solid var(--blue);color:var(--dark-3)}
/* CONTENT ARTICLE (legal / about / blog pages) */
.content-article h2{margin:2rem 0 .75rem;color:var(--dark)}
.content-article h3{margin:1.5rem 0 .5rem;color:var(--dark)}
.content-article p{margin-bottom:1rem}
.content-article ul{margin-bottom:1rem;padding-left:1.25rem}
.content-article ul li{list-style:disc;margin-bottom:.35rem;color:var(--dark-3)}
@media(max-width:1024px){.grid-4{grid-template-columns:repeat(2,1fr)}.stats-grid{grid-template-columns:repeat(2,1fr)}.footer-grid{grid-template-columns:1fr 1fr}.hero-inner{gap:2rem}}
@media(max-width:768px){
  .section{padding:3.5rem 0}
  h1{font-size:1.85rem}h2{font-size:1.5rem}
  .main-nav,.header-actions{display:none}
  .mob-btn{display:flex}
  .hero-inner{grid-template-columns:1fr;gap:1.75rem;padding:3rem 0 2rem}
  .hero-form-card{display:block}.hfc-grid{grid-template-columns:1fr}
  .hero-actions{flex-direction:column}
  .hero-actions .btn{justify-content:center}
  .hero-trust{gap:.9rem;justify-content:center}
  .trust-bar-inner{justify-content:center}
  .grid-2,.grid-3{grid-template-columns:1fr}
  .form-grid{grid-template-columns:1fr}
  .form-group.full{grid-column:1}
  .stats-grid{grid-template-columns:repeat(2,1fr);gap:1.25rem}
  .stat-item .num{font-size:2.1rem}
  .cta-inner{flex-direction:column;text-align:center}
  .footer-grid{grid-template-columns:1fr;gap:1.75rem}
  .footer-bottom{flex-direction:column;text-align:center}
  .float-cta{display:flex}
  #rq-container{bottom:4.5rem}
  #rq-panel{width:calc(100vw - 2rem);right:1rem}
  .lf-card{padding:1.4rem}
  .areas-grid{grid-template-columns:repeat(2,1fr)}
  .quick-form-inner{flex-direction:column}
  .quick-form-fields{flex-direction:column}
}
@media(max-width:480px){.hero h1{font-size:1.7rem}.areas-grid{grid-template-columns:1fr}.stats-grid{grid-template-columns:repeat(2,1fr)}}

/* ============================================================
   ARBORISTSRIGA.LV — additions
   Form-only contact model, wide services dropdown, prose pages
   ============================================================ */
.skip-link{position:absolute;left:-9999px;top:0;background:var(--dark);color:#fff;padding:.7rem 1.1rem;z-index:200;border-radius:0 0 var(--r) 0}
.skip-link:focus{left:0}
:focus-visible{outline:3px solid var(--yellow);outline-offset:2px}

/* wide grouped services dropdown */
.drop-wide{width:min(940px,94vw);left:50%;transform:translateX(-50%) translateY(8px);
  display:grid;grid-template-columns:repeat(3,1fr);gap:.4rem 1.5rem;padding:1.4rem 1.6rem}
.nav-drop:hover .drop-wide{transform:translateX(-50%) translateY(0)}
.drop-col h5{font-size:.7rem;letter-spacing:.09em;text-transform:uppercase;color:var(--blue);
  font-weight:800;margin:.35rem 0 .45rem;padding-bottom:.3rem;border-bottom:1px solid var(--border)}
.drop-col a{display:block;padding:.34rem .3rem;font-size:.86rem;border-radius:6px;color:var(--dark-3)}
.drop-col a:hover{background:var(--light);color:var(--blue);padding-left:.55rem}
.main-nav a.active{color:var(--blue);font-weight:700}

/* breadcrumbs */
.crumbs{background:var(--light);border-bottom:1px solid var(--border);font-size:.83rem;padding:.7rem 0;color:var(--mid)}
.crumbs a{color:var(--blue);font-weight:600}
.crumbs a:hover{text-decoration:underline}
.crumb-sep{margin:0 .5rem;opacity:.5}
.crumbs span[aria-current]{color:var(--dark-3)}

/* page hero (non-home) */
.page-hero{background:linear-gradient(135deg,var(--blue-dark),var(--blue));color:#fff;padding:3.4rem 0 3rem;position:relative;overflow:hidden}
.page-hero::after{content:"";position:absolute;inset:0;background-image:radial-gradient(rgba(255,255,255,.07) 1px,transparent 1px);background-size:22px 22px}
.page-hero .container{position:relative;z-index:1}
.page-hero h1{color:#fff;max-width:19ch;margin-bottom:.85rem}
.page-hero .lead{color:rgba(255,255,255,.9);font-size:1.09rem;max-width:62ch;line-height:1.65}
.page-hero-badge{display:inline-block;background:rgba(255,255,255,.14);border:1px solid rgba(255,255,255,.24);
  padding:.3rem .85rem;border-radius:50px;font-size:.76rem;font-weight:700;margin-bottom:1rem;letter-spacing:.02em}
.ph-actions{display:flex;gap:.7rem;flex-wrap:wrap;margin-top:1.6rem}

/* prose */
.prose{max-width:none}
.prose h2{margin:2.4rem 0 .9rem;font-size:clamp(1.35rem,2.4vw,1.8rem)}
.prose h2:first-child{margin-top:0}
.prose h3{margin:1.7rem 0 .6rem;font-size:1.1rem;color:var(--dark)}
.prose p{margin-bottom:1rem}
.prose ul,.prose ol{margin:0 0 1.15rem;padding-left:0}
.prose li{position:relative;padding-left:1.6rem;margin-bottom:.55rem;color:var(--dark-3);line-height:1.65}
.prose ul li::before{content:"";position:absolute;left:.35rem;top:.62em;width:6px;height:6px;border-radius:50%;background:var(--blue-light)}
.prose ol{counter-reset:n}
.prose ol li{counter-increment:n}
.prose ol li::before{content:counter(n);position:absolute;left:0;top:.05em;width:1.15rem;height:1.15rem;
  background:var(--blue);color:#fff;border-radius:50%;font-size:.7rem;font-weight:800;
  display:flex;align-items:center;justify-content:center}
.prose strong{color:var(--dark);font-weight:700}
.prose a:not(.btn){color:var(--blue);font-weight:600;text-decoration:underline;text-underline-offset:2px}
.prose table{width:100%;border-collapse:collapse;margin:0 0 1.4rem;font-size:.92rem}
.prose th,.prose td{padding:.62rem .8rem;text-align:left;border-bottom:1px solid var(--border);vertical-align:top}
.prose th{background:var(--light);font-weight:700;font-size:.83rem;text-transform:uppercase;letter-spacing:.04em;color:var(--dark-2)}
.table-wrap{overflow-x:auto;-webkit-overflow-scrolling:touch}

/* content + sticky sidebar layout */
.content-wrap{display:grid;grid-template-columns:minmax(0,1fr) 340px;gap:3rem;align-items:start}
.side-card{background:var(--light);border:1px solid var(--border);border-radius:var(--rl);padding:1.5rem;position:sticky;top:92px}
.side-card h3{font-size:1.05rem;margin-bottom:.6rem}
.side-card p{font-size:.9rem;margin-bottom:1rem}
.side-card ul{margin-bottom:1.1rem}
.side-card li{font-size:.88rem;padding-left:1.35rem;position:relative;margin-bottom:.45rem;color:var(--dark-3)}
.side-card li::before{content:"✓";position:absolute;left:0;color:var(--blue-light);font-weight:800}
.side-nav{margin-top:1.4rem}
.side-nav h4{font-size:.72rem;text-transform:uppercase;letter-spacing:.09em;color:var(--mid);margin-bottom:.6rem}
.side-nav a{display:block;font-size:.87rem;padding:.4rem 0;border-bottom:1px solid var(--border);color:var(--dark-3)}
.side-nav a:hover{color:var(--blue)}

/* callouts */
.callout{border-left:4px solid var(--blue-light);background:var(--light);padding:1.1rem 1.3rem;border-radius:0 var(--r) var(--r) 0;margin:1.5rem 0}
.callout p:last-child{margin-bottom:0}
.callout-title{font-weight:800;color:var(--dark);margin-bottom:.35rem;font-size:.95rem}
.callout-warn{border-left-color:var(--red);background:rgba(220,38,38,.05)}
.callout-ok{border-left-color:var(--green);background:rgba(5,150,105,.06)}

/* factor grid (pricing) */
.factor-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:1.1rem;margin:1.5rem 0}
.factor{background:var(--white);border:1px solid var(--border);border-radius:var(--rl);padding:1.2rem}
.factor h4{font-size:.97rem;margin-bottom:.4rem;color:var(--dark)}
.factor p{font-size:.88rem;margin:0}

/* steps */
.steps{counter-reset:s;margin:1.6rem 0}
.step{position:relative;padding-left:3.1rem;margin-bottom:1.4rem;counter-increment:s}
.step::before{content:counter(s);position:absolute;left:0;top:-.1rem;width:2.1rem;height:2.1rem;border-radius:50%;
  background:var(--blue);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;font-size:.95rem}
.step h4{font-size:1rem;margin-bottom:.25rem}
.step p{font-size:.92rem;margin:0}

/* form extras */
.fld-hint{display:block;font-size:.78rem;color:var(--mid);margin-top:.3rem;line-height:1.45}

/* ============================================================
   Photo picker — replaces the bare <input type="file">
   Real input stays in the DOM (focusable, form-associated),
   visually hidden; the label/buttons are the visible control.
   ============================================================ */
.photo-field{position:relative}
.photo-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap;border:0}

/* Drop zone — the resting state */
.photo-drop{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.3rem;
  padding:1.15rem .9rem;border:2px dashed var(--border);border-radius:var(--r);background:var(--light);
  text-align:center;cursor:pointer;transition:border-color .18s,background .18s;min-height:104px}
.photo-drop:hover{border-color:var(--blue-light);background:#eef4f0}
.photo-input:focus-visible+.photo-drop{border-color:var(--blue);box-shadow:0 0 0 3px rgba(37,92,58,.18)}
.photo-drop.dragging{border-color:var(--blue);background:#e7f0ea;border-style:solid}
.photo-drop svg{width:22px;height:22px;stroke:var(--blue);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.photo-drop-main{font-size:.87rem;font-weight:600;color:var(--dark-2)}
.photo-drop-sub{font-size:.75rem;color:var(--mid);line-height:1.4}

/* Mobile action pair — camera + gallery, hidden on desktop */
.photo-actions{display:none;gap:.5rem}
.photo-btn{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.35rem;
  padding:.85rem .5rem;border:2px solid var(--border);border-radius:var(--r);background:var(--white);
  font-family:var(--font);font-size:.8rem;font-weight:600;color:var(--dark-2);line-height:1.25;
  cursor:pointer;transition:border-color .18s,background .18s;min-height:76px;text-align:center}
.photo-btn:active{background:var(--light)}
.photo-btn:focus-visible{border-color:var(--blue);outline:none;box-shadow:0 0 0 3px rgba(37,92,58,.18)}
.photo-btn svg{width:20px;height:20px;stroke:var(--blue);stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}

/* Thumbnail row — up to 3 photos */
.photo-list{display:none;gap:.5rem;flex-wrap:wrap}
.photo-field.has-file .photo-list{display:flex}
.photo-item{position:relative;width:74px;border-radius:var(--r);overflow:hidden;background:var(--light);
  border:2px solid var(--border)}
.photo-thumb{display:block;width:100%;height:60px;object-fit:cover;background:var(--light)}
.photo-item-size{display:block;padding:.18rem .3rem;font-size:.66rem;line-height:1.3;color:var(--mid);
  text-align:center;background:var(--white)}
.photo-remove{position:absolute;top:3px;right:3px;width:22px;height:22px;display:flex;align-items:center;
  justify-content:center;border-radius:50%;background:rgba(15,23,42,.62);color:#fff;transition:background .18s}
.photo-remove:hover{background:var(--red)}
.photo-remove:focus-visible{outline:none;box-shadow:0 0 0 3px rgba(255,255,255,.85)}
.photo-remove svg{width:12px;height:12px;stroke:currentColor;stroke-width:2.6;fill:none;stroke-linecap:round}

/* Per-thumbnail upload progress, cleared as each file lands */
.photo-item-bar{display:none;position:absolute;left:0;right:0;bottom:16px;height:3px;background:rgba(15,23,42,.18)}
.photo-field.uploading .photo-item:not(.done) .photo-item-bar{display:block}
.photo-item-bar span{display:block;width:40%;height:100%;background:var(--blue);
  animation:photoBar 1.1s cubic-bezier(.4,0,.2,1) infinite}
.photo-field.uploading .photo-item.done{border-color:var(--blue-light)}

/* "n of 3" counter */
.photo-count{display:none;font-size:.72rem;color:var(--mid);margin-top:.35rem}
.photo-field.has-file .photo-count{display:block}

/* Upload progress bar (indeterminate) */
@keyframes photoBar{0%{transform:translateX(-100%)}100%{transform:translateX(350%)}}

/* Once 3 photos are attached there is nothing more to add */
.photo-field.is-full .photo-drop,.photo-field.is-full .photo-actions{display:none}

/* Compact the drop zone once photos exist — it becomes a secondary "add more" */
.photo-field.has-file .photo-drop{min-height:0;padding:.6rem;margin-top:.5rem}
.photo-field.has-file .photo-drop svg,.photo-field.has-file .photo-drop-sub{display:none}
.photo-field.has-file .photo-actions{margin-top:.5rem}
.photo-field.has-file .photo-btn{flex-direction:row;gap:.4rem;min-height:44px;padding:.5rem;font-size:.76rem}

/* Touch devices: show the explicit camera / gallery pair instead of the drop zone */
@media(hover:none),(max-width:640px){
  .photo-drop{display:none}
  .photo-field:not(.is-full) .photo-actions{display:flex}
}
@media(prefers-reduced-motion:reduce){
  .photo-item-bar span{animation-duration:2.4s}
  .photo-drop,.photo-btn,.photo-remove{transition:none}
}
.lf-note{background:rgba(37,92,58,.08);border:1px solid rgba(37,92,58,.2);color:var(--blue-dark);
  font-size:.87rem;font-weight:600;padding:.65rem .9rem;border-radius:var(--r);margin-bottom:.85rem;text-align:center}
input[type=file]{width:100%;padding:.6rem .7rem;border:2px dashed var(--border);border-radius:var(--r);
  font-size:.85rem;background:var(--white);cursor:pointer}
input[type=file]:hover{border-color:var(--blue-light)}
.label-accent{background:rgba(224,130,26,.16)!important;color:var(--yellow)!important}

/* service/guide card grids */
.link-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(270px,1fr));gap:1.2rem}
.link-card{background:var(--white);border:1px solid var(--border);border-radius:var(--rl);padding:1.35rem;transition:var(--t);display:block}
.link-card:hover{border-color:var(--blue-light);box-shadow:var(--sh-lg);transform:translateY(-3px)}
.link-card h3{font-size:1.03rem;margin-bottom:.4rem;color:var(--dark)}
.link-card p{font-size:.89rem;margin:0}
.link-card .arrow{color:var(--blue);font-weight:700;font-size:.87rem;margin-top:.7rem;display:inline-block}

/* group block on hub */
.svc-group{margin-bottom:2.6rem}
.svc-group-head{display:flex;align-items:baseline;gap:.8rem;margin-bottom:1.1rem;padding-bottom:.55rem;border-bottom:2px solid var(--border)}
.svc-group-head h2{font-size:1.3rem;margin:0}
.svc-group-head span{font-size:.8rem;color:var(--mid);font-weight:600}

/* testimonials without stars */
.t-card .t-quote{font-size:1.5rem;color:var(--blue-light);line-height:1;margin-bottom:.5rem;font-weight:800}

/* trust strip */
.trust-strip{background:var(--dark);color:#fff;padding:1.15rem 0}
.trust-strip-inner{display:flex;justify-content:center;gap:2.5rem;flex-wrap:wrap;text-align:center}
.tsi{display:flex;flex-direction:column;gap:.1rem}
.tsi .n{font-size:1.5rem;font-weight:900;color:var(--yellow);line-height:1.1}
.tsi .l{font-size:.78rem;color:rgba(255,255,255,.7);letter-spacing:.02em}

/* related */
.related{background:var(--light);padding:3rem 0}
.related h2{font-size:1.3rem;margin-bottom:1.2rem}

@media(max-width:1024px){
  .content-wrap{grid-template-columns:1fr;gap:2rem}
  .side-card{position:static}
  .drop-wide{grid-template-columns:repeat(2,1fr);width:min(680px,94vw)}
}
@media(max-width:860px){
  .drop-wide{display:none}
  .trust-strip-inner{gap:1.5rem}
  .tsi .n{font-size:1.25rem}
}
@media(max-width:640px){
  .page-hero{padding:2.4rem 0 2.2rem}
  .prose h2{margin:1.9rem 0 .7rem}
  .section{padding:3.2rem 0}
}

/* footer layout for the expanded link set */
.footer-top{display:grid;grid-template-columns:320px 1fr;gap:3rem;padding-bottom:2.5rem}
.footer-links{display:grid;grid-template-columns:repeat(4,1fr);gap:1.8rem}
.footer-contact-note{font-size:.83rem;color:rgba(255,255,255,.55);line-height:1.6;margin:.9rem 0 1.1rem}
.footer-col ul li{margin-bottom:.4rem}
.footer-col ul li a{font-size:.86rem}
@media(max-width:1024px){
  .footer-top{grid-template-columns:1fr;gap:2.2rem}
  .footer-links{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:700px){.footer-links{grid-template-columns:repeat(2,1fr)}}
@media(max-width:460px){.footer-links{grid-template-columns:1fr}}

/* hero: leave room for sticky header, keep form legible */
.hero{position:relative;overflow:hidden;background:linear-gradient(135deg,var(--blue-dark),var(--blue));color:#fff}
.hero h1{color:#fff}
.hero h1 span{color:var(--yellow)}
.hero-sub{color:rgba(255,255,255,.88);font-size:1.1rem;margin:1rem 0 1.5rem;max-width:56ch;line-height:1.65}
.hero-form-card .form-grid{grid-template-columns:1fr 1fr;gap:.75rem}
.hero-form-card .form-group.full{grid-column:1/-1}
.hero-form-card label{font-size:.82rem}
.hero-form-card .fld-hint{font-size:.73rem}
@media(max-width:640px){.hero-form-card .form-grid{grid-template-columns:1fr}}
.hfc-title{font-size:1.15rem;font-weight:800;margin-bottom:.35rem;color:var(--dark)}
.hfc-sub-enhanced{font-size:.87rem;color:var(--mid);margin-bottom:1.1rem;line-height:1.5}
.footer-brand{max-width:340px}
.footer-brand .footer-logo{margin-bottom:1rem}
.footer-brand .footer-logo img{height:auto;max-width:180px}

/* ---- audit fixes ---- */
/* logo must never be squashed by neighbouring header items */
.header-logo img{max-width:200px;width:auto;height:auto;flex-shrink:0}
@media(max-width:860px){.header-logo img{max-width:170px}}

/* graceful fallback while photography is pending: hide broken-image chrome */
.prose img[src$=".jpg"],.sc-img img{background:var(--light)}
/* in-content lead image: cap height so it never dominates the fold */
.prose > img{max-height:420px;object-fit:cover;width:100%}
@media(max-width:640px){.prose > img{max-height:260px}}

/* WCAG 2.5.5 — minimum 44x44 tap targets on touch devices */
@media(max-width:860px){
  .mob-btn{min-width:44px;min-height:44px;display:flex;flex-direction:column;
    align-items:center;justify-content:center;gap:5px}
  .btn{min-height:44px}
  .btn-sm{min-height:44px;padding:.7rem 1.2rem}
  .modal-box .btn{min-height:46px}
  .faq-q{min-height:52px}
  .side-nav a{min-height:40px;display:flex;align-items:center}
  .crumbs a{padding:.15rem 0;display:inline-block}
}

/* in-body figure with caption */
.inline-fig{margin:2rem 0;padding:0}
.inline-fig img{width:100%;height:auto;max-height:460px;object-fit:cover;
  border-radius:var(--rl);display:block}
.inline-fig figcaption{font-size:.85rem;color:var(--mid);margin-top:.6rem;
  line-height:1.5;padding-left:.1rem}
@media(max-width:640px){.inline-fig img{max-height:280px}.inline-fig{margin:1.5rem 0}}
