
:root{--blue:#1184f6;--blue-dark:#0a66c7;--ink:#101820;--text:#24313b;--muted:#6b7780;--soft:#f5f8fa;--panel:#fff;--line:#dfe7eb;--slate:#4b666c;--cream:#f7f3ec;--max:1200px;--shadow:0 22px 70px rgba(16,24,32,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Arial,sans-serif;line-height:1.55;-webkit-font-smoothing:antialiased}a{color:inherit;text-decoration:none}img{max-width:100%;display:block}button,input,select,textarea{font:inherit}.wrap{max-width:var(--max);margin:0 auto;padding:0 22px}.skip{position:absolute;left:-999px;top:auto}.skip:focus{left:12px;top:12px;background:#fff;padding:10px 14px;z-index:999;border:1px solid var(--line)}
.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}.nav{height:82px;display:flex;align-items:center;justify-content:space-between;gap:24px}.brand img{height:42px;width:auto}.nav-links,.header-actions{display:flex;align-items:center;gap:22px}.nav-links a{font-size:14px;color:#43505a;font-weight:750;padding:9px 0;border-bottom:2px solid transparent}.nav-links a:hover,.nav-links a.active{color:var(--ink);border-bottom-color:var(--blue)}.mobile-toggle{display:none;background:#fff;border:1px solid var(--line);border-radius:10px;padding:8px 11px;color:var(--ink);font-size:22px}.btn{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:46px;padding:0 18px;border-radius:999px;border:1px solid transparent;font-weight:850;font-size:14px;cursor:pointer;transition:.18s ease}.btn-blue{background:var(--blue);color:#fff;box-shadow:0 14px 36px rgba(17,132,246,.22)}.btn-blue:hover{background:var(--blue-dark);transform:translateY(-1px)}.btn-dark{background:var(--ink);color:#fff}.btn-line{border-color:#cbd6dc;background:#fff;color:var(--ink)}.btn-line:hover{border-color:var(--ink)}.btn-soft{background:#edf6ff;color:#0a66c7;border-color:#d2e9ff}.btn svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none;stroke-linecap:round;stroke-linejoin:round}
.hero{padding:64px 0 34px;background:linear-gradient(180deg,#fff,#f8fbfd)}.hero-grid{display:grid;grid-template-columns:.92fr 1.08fr;gap:44px;align-items:center}.eyebrow,.kicker,.crumb{font-size:12px;letter-spacing:.18em;text-transform:uppercase;font-weight:950;color:var(--blue);margin-bottom:14px}.hero h1,.page-hero h1{font-size:clamp(42px,6.2vw,78px);line-height:.95;letter-spacing:-.064em;margin:0 0 22px;color:var(--ink);font-weight:950}.hero-copy,.page-hero p,.lead{font-size:18px;color:#58656e;max-width:780px}.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin:28px 0 34px}.trust-row{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;max-width:660px}.trust-tile{padding:14px 16px;border:1px solid var(--line);border-radius:18px;background:#fff}.trust-tile strong{display:block;color:var(--ink);font-size:18px;letter-spacing:-.03em}.trust-tile span{font-size:13px;color:var(--muted)}
.hero-media{display:grid;grid-template-columns:1.06fr .7fr;grid-template-rows:270px 210px 130px;gap:14px}.hero-media figure{margin:0;border-radius:28px;overflow:hidden;position:relative;background:#dde5e9;box-shadow:var(--shadow);border:1px solid rgba(16,24,32,.06)}.hero-media figure:nth-child(1){grid-row:1/3}.hero-media figure:nth-child(4){grid-column:1/3}.hero-media img{width:100%;height:100%;object-fit:cover}.hero-media figcaption{position:absolute;left:14px;bottom:14px;background:rgba(255,255,255,.92);color:var(--ink);padding:8px 11px;border-radius:999px;font-size:12px;font-weight:850;border:1px solid rgba(255,255,255,.65)}
.section{padding:82px 0}.section-soft{background:var(--soft)}.section-cream{background:var(--cream)}.section h2{font-size:clamp(32px,4.6vw,56px);line-height:1.02;letter-spacing:-.055em;margin:0 0 16px;color:var(--ink)}.section-head{display:flex;align-items:end;justify-content:space-between;gap:32px;margin-bottom:34px}.section-head .lead{margin:0}.split{display:grid;grid-template-columns:.86fr 1.14fr;gap:54px;align-items:start}.mini-link{font-weight:900;color:var(--blue)}
.service-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}.service-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:24px;min-height:226px;position:relative;overflow:hidden;transition:.2s ease}.service-card:hover{transform:translateY(-3px);box-shadow:var(--shadow);border-color:#cce6ff}.service-icon{width:48px;height:48px;border-radius:16px;background:#edf6ff;color:var(--blue);display:flex;align-items:center;justify-content:center;margin-bottom:20px}.service-icon svg,.portfolio-service-icon svg{width:25px;height:25px;stroke:currentColor;stroke-width:1.9;fill:none;stroke-linecap:round;stroke-linejoin:round}.service-card h3{font-size:20px;line-height:1.12;letter-spacing:-.025em;color:var(--ink);margin:0 0 10px}.service-card p{font-size:14px;color:#5e6b74;margin:0}.service-card .mini-link{display:inline-flex;margin-top:18px;font-size:13px}.service-card:after{content:"";position:absolute;right:-34px;bottom:-34px;width:92px;height:92px;border-radius:50%;background:rgba(17,132,246,.06)}
.image-led-strip{display:grid;grid-template-columns:repeat(12,1fr);grid-auto-rows:150px;gap:14px}.strip-card{margin:0;position:relative;border-radius:24px;overflow:hidden;background:#dfe7eb;border:1px solid rgba(16,24,32,.06)}.strip-card img{width:100%;height:100%;object-fit:cover;transition:.35s}.strip-card:hover img{transform:scale(1.045)}.strip-card:nth-child(1){grid-column:span 5;grid-row:span 2}.strip-card:nth-child(2){grid-column:span 3;grid-row:span 2}.strip-card:nth-child(3){grid-column:span 4}.strip-card:nth-child(4){grid-column:span 4}.strip-card:nth-child(5){grid-column:span 4}.strip-card:nth-child(6){grid-column:span 4}.strip-card figcaption,.gallery-card figcaption{position:absolute;left:0;right:0;bottom:0;padding:46px 16px 16px;color:#fff;background:linear-gradient(transparent,rgba(0,0,0,.72));font-weight:850;letter-spacing:-.015em}.tag{display:inline-block;font-size:11px;letter-spacing:.12em;text-transform:uppercase;color:#cfe7ff;margin-bottom:4px}
.portfolio-category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin:26px 0 38px}.portfolio-category{border:1px solid var(--line);background:#fff;border-radius:22px;padding:20px;display:flex;align-items:center;gap:14px}.portfolio-service-icon{width:44px;height:44px;border-radius:15px;background:#edf6ff;color:var(--blue);display:flex;align-items:center;justify-content:center;flex:0 0 auto}.portfolio-category strong{display:block;color:var(--ink);letter-spacing:-.02em}.portfolio-category span{font-size:13px;color:var(--muted)}
.gallery-tools{display:flex;justify-content:space-between;gap:18px;align-items:end;flex-wrap:wrap;margin-bottom:28px}.filters{display:flex;gap:8px;flex-wrap:wrap}.filter{border:1px solid #cfd9df;background:#fff;border-radius:999px;padding:10px 14px;cursor:pointer;font-weight:850;color:#34424d}.filter.active,.filter:hover{background:var(--ink);border-color:var(--ink);color:#fff}.portfolio-section{margin:0 0 58px}.portfolio-section:last-child{margin-bottom:0}.portfolio-section-head{display:grid;grid-template-columns:1fr auto;gap:28px;align-items:end;margin-bottom:18px;border-top:1px solid var(--line);padding-top:28px}.portfolio-section h2{font-size:clamp(28px,3.6vw,46px);margin:0 0 8px}.photo-count{font-size:13px;color:var(--muted);font-weight:850}.gallery-grid{display:grid;grid-template-columns:repeat(12,1fr);gap:14px}.gallery-card{grid-column:span 3;margin:0;border-radius:20px;overflow:hidden;position:relative;background:#e1e8ec;border:1px solid rgba(16,24,32,.06);cursor:pointer;min-height:220px}.gallery-card:nth-child(1),.gallery-card:nth-child(10){grid-column:span 6;grid-row:span 2}.gallery-card:nth-child(2),.gallery-card:nth-child(7){grid-column:span 3;grid-row:span 2}.gallery-card img{width:100%;height:100%;object-fit:cover;min-height:220px}.gallery-card figcaption{font-size:14px}.page-hero{padding:62px 0 42px;background:linear-gradient(180deg,#fff,#f8fbfd);border-bottom:1px solid var(--line)}
.process{display:grid;grid-template-columns:repeat(4,1fr);gap:14px;margin-top:34px}.process-card,.area-box,.form-panel,.contact-card,.text-card{background:#fff;border:1px solid var(--line);border-radius:24px}.process-card{padding:24px;min-height:178px}.process-card b{display:inline-flex;width:34px;height:34px;border-radius:50%;align-items:center;justify-content:center;background:var(--blue);color:#fff;margin-bottom:18px}.process-card h3{margin:0 0 10px;color:var(--ink)}.small{font-size:14px;color:#65717a}.cta-band{background:linear-gradient(135deg,#101820,#233741);color:#fff;border-radius:30px;padding:42px;display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;position:relative;overflow:hidden}.cta-band:after{content:"";position:absolute;right:-120px;top:-130px;width:360px;height:360px;border-radius:50%;background:rgba(17,132,246,.24)}.cta-band>*{position:relative;z-index:1}.cta-band h2{font-size:clamp(30px,4vw,50px);margin:0 0 10px;letter-spacing:-.05em;line-height:1;color:#fff}.cta-band p{margin:0;color:rgba(255,255,255,.76)}.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.text-card{padding:28px}.text-card h3{margin:0 0 10px;color:var(--ink);font-size:24px;letter-spacing:-.03em}.text-card p{color:#59656d;margin:0}.wide-card{grid-column:span 2}.areas-grid{display:grid;grid-template-columns:1fr 1fr;gap:30px}.area-box{padding:30px}.area-list{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0 0;padding:0;list-style:none}.area-list li{padding:10px 0;border-bottom:1px solid #edf1f2;color:#3a454d}
.contact-layout{display:grid;grid-template-columns:.78fr 1.22fr;gap:34px;align-items:start}.contact-card{padding:30px;position:sticky;top:110px}.contact-card h2{margin-top:0}.contact-card dt{color:var(--blue);font-size:12px;text-transform:uppercase;letter-spacing:.14em;font-weight:900;margin-top:20px}.contact-card dd{margin:5px 0 0;color:#52606a}.form-panel{padding:32px}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.field{display:flex;flex-direction:column;gap:8px}.field.full{grid-column:1/-1}label{font-weight:850;font-size:14px;color:var(--ink)}.input,select,textarea{border:1px solid #cbd6dc;background:#fff;border-radius:14px;padding:14px 15px;min-height:50px;outline:none}.input:focus,select:focus,textarea:focus{border-color:var(--blue);box-shadow:0 0 0 4px rgba(17,132,246,.1)}textarea{resize:vertical;min-height:140px}.notice{background:#edf6ff;border:1px solid #cfe7ff;color:#0e4779;border-radius:14px;padding:12px 14px;font-size:14px;margin-bottom:18px}.consent{display:flex;align-items:flex-start;gap:10px;font-size:13px;color:#5e6b74}.consent input{margin-top:4px}
.site-footer{background:#101820;color:#fff;padding:58px 0 32px}.footer-grid{display:grid;grid-template-columns:1fr auto auto;gap:44px}.footer-logo{height:42px;width:auto;margin-bottom:18px;filter:brightness(0) invert(1) saturate(0)}.footer-grid p,.footer-grid a{color:rgba(255,255,255,.66);font-size:14px}.footer-links{display:grid;gap:10px}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);margin-top:36px;padding-top:22px;color:rgba(255,255,255,.5);font-size:13px;display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.lightbox{display:none;position:fixed;z-index:200;inset:0;background:rgba(6,12,18,.88);align-items:center;justify-content:center;padding:28px}.lightbox.open{display:flex}.lightbox-inner{max-width:min(1080px,94vw);max-height:88vh;position:relative}.lightbox img{max-height:86vh;border-radius:18px;box-shadow:0 30px 80px rgba(0,0,0,.5)}.lightbox-close{position:absolute;right:-12px;top:-12px;width:42px;height:42px;border-radius:50%;background:#fff;border:0;font-size:24px;cursor:pointer}.quote-floating{position:fixed;right:18px;bottom:18px;z-index:40;display:none}
@media(max-width:1050px){.service-grid,.portfolio-category-grid{grid-template-columns:repeat(2,1fr)}.gallery-card{grid-column:span 4}.gallery-card:nth-child(1),.gallery-card:nth-child(10){grid-column:span 8}.gallery-card:nth-child(2),.gallery-card:nth-child(7){grid-column:span 4}.hero-grid,.split,.contact-layout,.areas-grid{grid-template-columns:1fr}.contact-card{position:static}.hero-media{max-width:760px}.cards{grid-template-columns:1fr 1fr}.wide-card{grid-column:span 2}.process{grid-template-columns:1fr 1fr}}
@media(max-width:860px){.nav-links,.header-actions{display:none}.mobile-toggle{display:block}.site-header.open .nav{height:auto;align-items:flex-start;padding:18px 0;flex-wrap:wrap}.site-header.open .nav-links{display:flex;width:100%;flex-direction:column;align-items:flex-start;padding:12px 0}.site-header.open .header-actions{display:flex;width:100%;padding-bottom:12px}.image-led-strip{grid-auto-rows:130px}.strip-card:nth-child(n){grid-column:span 6;grid-row:span 2}.quote-floating{display:inline-flex}.section-head{display:block}.section-head .lead{margin-top:10px}}
@media(max-width:640px){.wrap{padding:0 18px}.brand img{height:34px}.nav{height:70px}.hero{padding-top:42px}.hero h1,.page-hero h1{font-size:43px}.hero-copy,.page-hero p,.lead{font-size:16px}.trust-row,.service-grid,.portfolio-category-grid,.process,.form-grid,.cards{grid-template-columns:1fr}.field.full,.wide-card{grid-column:auto}.hero-media{grid-template-columns:1fr;grid-template-rows:280px 190px 190px 150px}.hero-media figure:nth-child(n){grid-column:auto;grid-row:auto}.section{padding:58px 0}.image-led-strip{display:block}.strip-card{height:245px;margin-bottom:12px}.portfolio-section-head{grid-template-columns:1fr}.gallery-grid{display:block}.gallery-card{height:auto;min-height:0;margin-bottom:14px}.gallery-card img{height:auto;min-height:0}.area-list{grid-template-columns:1fr}.cta-band{grid-template-columns:1fr;padding:28px}.footer-grid{grid-template-columns:1fr}.portfolio-section{margin-bottom:42px}}

/* Mobile polish pass: tighter header, cleaner hero, compact portfolio grids */
html, body { overflow-x: hidden; }
body { text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }
.brand { min-width: 0; display: inline-flex; align-items: center; }
.brand img { max-width: min(285px, calc(100vw - 118px)); height: auto; max-height: 42px; object-fit: contain; }

@media (max-width: 1050px) {
  .wrap { padding-left: clamp(16px, 4vw, 28px); padding-right: clamp(16px, 4vw, 28px); }
  .hero-grid { gap: 30px; }
  .section-head { align-items: flex-start; }
}

@media (max-width: 860px) {
  .site-header { position: sticky; }
  .nav { height: 70px; gap: 12px; }
  .mobile-toggle { width: 44px; height: 42px; display: inline-flex; align-items: center; justify-content: center; flex: 0 0 auto; padding: 0; }
  .site-header.open .nav { height: auto; padding: 14px 0 16px; }
  .site-header.open .nav-links,
  .site-header.open .header-actions {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 18px;
    box-shadow: 0 18px 55px rgba(16,24,32,.10);
    padding: 14px;
  }
  .site-header.open .nav-links { gap: 0; }
  .site-header.open .nav-links a { width: 100%; padding: 12px 6px; border-bottom: 1px solid #eef3f5; }
  .site-header.open .nav-links a:last-child { border-bottom: 0; }
  .site-header.open .header-actions { gap: 10px; }
  .site-header.open .header-actions .btn { flex: 1; }

  .hero { padding: 42px 0 26px; }
  .hero-grid { gap: 26px; }
  .hero-actions .btn { flex: 1 1 180px; }
  .trust-row { grid-template-columns: repeat(3, minmax(0,1fr)); gap: 8px; }
  .trust-tile { padding: 11px 10px; border-radius: 15px; }
  .trust-tile strong { font-size: 15px; }
  .trust-tile span { font-size: 11px; line-height: 1.25; }

  .hero-media {
    grid-template-columns: 1.1fr .9fr;
    grid-template-rows: 190px 128px;
    gap: 10px;
  }
  .hero-media figure { border-radius: 20px; box-shadow: 0 14px 44px rgba(16,24,32,.10); }
  .hero-media figure:nth-child(1) { grid-row: 1/3; }
  .hero-media figure:nth-child(2),
  .hero-media figure:nth-child(3) { grid-column: 2; }
  .hero-media figure:nth-child(4) { display: none; }
  .hero-media figcaption { left: 10px; bottom: 10px; padding: 6px 9px; font-size: 11px; }

  .section { padding: 62px 0; }
  .section h2 { letter-spacing: -.045em; }
  .service-grid { gap: 12px; }
  .service-card { min-height: 0; padding: 20px; border-radius: 20px; }
  .portfolio-category-grid { gap: 10px; }
  .portfolio-category { padding: 15px; border-radius: 18px; }
  .image-led-strip { grid-auto-rows: 128px; gap: 10px; }
  .strip-card { border-radius: 18px; }
  .process { gap: 12px; }
  .process-card { min-height: 0; padding: 20px; }
  .contact-layout { gap: 22px; }
  .form-panel, .contact-card { padding: 24px; border-radius: 20px; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 16px; padding-right: 16px; }
  .brand img { max-width: min(230px, calc(100vw - 92px)); max-height: 34px; }
  .nav { height: 64px; }
  .site-header.open .nav { padding-top: 12px; }
  .hero { padding: 34px 0 20px; }
  .eyebrow, .kicker, .crumb { font-size: 11px; letter-spacing: .14em; margin-bottom: 11px; }
  .hero h1, .page-hero h1 { font-size: clamp(34px, 11vw, 43px); line-height: 1.02; letter-spacing: -.045em; margin-bottom: 16px; }
  .section h2 { font-size: clamp(30px, 9vw, 40px); line-height: 1.06; }
  .hero-copy, .page-hero p, .lead { font-size: 15.5px; line-height: 1.55; }
  .hero-actions { margin: 22px 0 22px; gap: 10px; }
  .btn { width: 100%; min-height: 48px; padding: 0 16px; }
  .hero-actions .btn, .cta-band .btn { flex-basis: 100%; }
  .trust-row { grid-template-columns: 1fr 1fr 1fr; }

  .hero-media {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 190px 132px;
    gap: 10px;
  }
  .hero-media figure:nth-child(1) { grid-column: 1/3; grid-row: 1; }
  .hero-media figure:nth-child(2) { grid-column: 1; grid-row: 2; }
  .hero-media figure:nth-child(3) { grid-column: 2; grid-row: 2; }
  .hero-media figure:nth-child(4) { display: none; }

  .section { padding: 52px 0; }
  .section-head { margin-bottom: 24px; }
  .service-card { display: grid; grid-template-columns: 44px 1fr; column-gap: 14px; align-items: start; padding: 18px; }
  .service-icon { width: 44px; height: 44px; margin: 0; border-radius: 14px; grid-row: span 3; }
  .service-card h3 { font-size: 18px; margin-bottom: 6px; }
  .service-card p { font-size: 13.5px; }
  .service-card .mini-link { margin-top: 10px; }

  .portfolio-category { gap: 12px; }
  .portfolio-service-icon { width: 40px; height: 40px; border-radius: 13px; }
  .image-led-strip { display: grid; grid-template-columns: 1fr 1fr; grid-auto-rows: 155px; gap: 10px; }
  .strip-card { height: auto; margin: 0; }
  .strip-card:nth-child(1) { grid-column: 1/3; grid-row: span 1; }
  .strip-card:nth-child(n+2) { grid-column: span 1; grid-row: span 1; }
  .strip-card figcaption, .gallery-card figcaption { padding: 34px 12px 12px; font-size: 13px; }

  .portfolio-section-head { display: flex; align-items: end; justify-content: space-between; gap: 12px; padding-top: 22px; }
  .portfolio-section h2 { font-size: 28px; }
  .gallery-tools { gap: 12px; margin-bottom: 20px; }
  .filters { display: flex; flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; margin-left: -2px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .filters::-webkit-scrollbar { display: none; }
  .filter { white-space: nowrap; padding: 9px 12px; font-size: 13px; }
  .gallery-grid { display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 10px; }
  .gallery-card, .gallery-card:nth-child(1), .gallery-card:nth-child(10), .gallery-card:nth-child(2), .gallery-card:nth-child(7) {
    grid-column: span 1;
    grid-row: auto;
    height: 164px;
    min-height: 164px;
    margin: 0;
    border-radius: 16px;
  }
  .gallery-card img { height: 100%; min-height: 0; object-fit: cover; }
  .gallery-card figcaption { font-size: 12px; }

  .process-card b { margin-bottom: 12px; }
  .cards, .areas-grid, .contact-layout { gap: 14px; }
  .area-box, .text-card, .form-panel, .contact-card { padding: 22px; }
  .form-grid { gap: 14px; }
  .input, select, textarea { border-radius: 12px; padding: 13px 14px; }
  textarea { min-height: 120px; }
  .cta-band { border-radius: 22px; padding: 24px; }
  .cta-band h2 { font-size: 32px; line-height: 1.04; }
  .footer-grid { gap: 24px; }
  .footer-bottom { padding-bottom: 62px; }
  .quote-floating { left: 16px; right: 16px; bottom: 12px; width: auto; box-shadow: 0 16px 45px rgba(17,132,246,.32); }
}

@media (max-width: 390px) {
  .brand img { max-width: 205px; }
  .hero h1, .page-hero h1 { font-size: 34px; }
  .trust-row { grid-template-columns: 1fr; }
  .trust-tile { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
  .hero-media { grid-template-rows: 170px 120px; }
  .gallery-card, .gallery-card:nth-child(1), .gallery-card:nth-child(10), .gallery-card:nth-child(2), .gallery-card:nth-child(7) { height: 148px; min-height: 148px; }
}

/* v7 fixes: clean mobile menu, form overflow, no floating quote button */
html, body { overflow-x: hidden; }
.quote-floating { display: none !important; }
.spqr-brand { min-width: 0; display: inline-flex; align-items: center; flex: 0 1 auto; }
.spqr-brand img { height: 42px; width: auto; max-width: 285px; object-fit: contain; }
.spqr-desktop-links,
.spqr-desktop-actions { display: flex; align-items: center; gap: 22px; }
.spqr-desktop-links a { font-size: 14px; color: #43505a; font-weight: 750; padding: 9px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.spqr-desktop-links a:hover,
.spqr-desktop-links a.active { color: var(--ink); border-bottom-color: var(--blue); }
.spqr-mobile-toggle,
.spqr-mobile-panel { display: none; }
.spqr-header.open .spqr-desktop-links,
.spqr-header.open .spqr-desktop-actions { display: flex; }
.form-panel, .contact-card, .notice, .field, .input, select, textarea, .consent { min-width: 0; }
.notice, .contact-card dd, .contact-card a, .form-panel, .input, select, textarea { overflow-wrap: anywhere; word-break: normal; }
.captcha-field { background: #f7fbff; border: 1px solid #d9ecff; border-radius: 16px; padding: 14px; }
.captcha-input { max-width: 180px; }
.notice-error { border-color: #d33 !important; color: #8a1f1f !important; background: #fff4f4 !important; }
.input-hint { display: block; margin-top: 6px; color: var(--muted); font-size: 12px; }
input[type="file"].input { height: auto; line-height: 1.35; white-space: normal; overflow: visible; padding: 13px 14px; }

@media (max-width: 1050px) {
  .spqr-desktop-links { gap: 14px; }
  .spqr-desktop-actions { gap: 10px; }
  .spqr-brand img { max-width: 255px; }
}

@media (max-width: 860px) {
  body.spqr-menu-open { overflow: hidden; }
  .site-header.spqr-header { position: sticky; top: 0; z-index: 300; }
  .spqr-nav { height: 68px !important; padding-top: 0 !important; padding-bottom: 0 !important; display: flex !important; align-items: center !important; justify-content: space-between !important; flex-wrap: nowrap !important; gap: 12px !important; }
  .spqr-brand img { max-width: min(245px, calc(100vw - 104px)); max-height: 35px; height: auto; }
  .spqr-desktop-links,
  .spqr-desktop-actions,
  .site-header.open .nav-links,
  .site-header.open .header-actions { display: none !important; }
  .spqr-mobile-toggle { display: inline-flex !important; align-items: center; justify-content: center; width: 46px; height: 46px; flex: 0 0 46px; padding: 0; background: #fff; color: var(--ink); border: 1px solid var(--line); border-radius: 14px; font-size: 24px; line-height: 1; box-shadow: none; }
  .spqr-mobile-panel { display: block; position: absolute; top: 100%; left: 0; right: 0; background: #fff; border-bottom: 1px solid var(--line); box-shadow: 0 24px 60px rgba(16,24,32,.14); max-height: 0; overflow: hidden; opacity: 0; visibility: hidden; transition: max-height .22s ease, opacity .18s ease, visibility .18s ease; z-index: 299; }
  .spqr-header.open .spqr-mobile-panel { max-height: calc(100vh - 68px); overflow-y: auto; opacity: 1; visibility: visible; }
  .spqr-mobile-inner { padding-top: 14px !important; padding-bottom: 16px !important; }
  .spqr-mobile-links { display: grid; gap: 0; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; }
  .spqr-mobile-links a { display: flex; align-items: center; min-height: 48px; padding: 0 16px; color: var(--ink); font-weight: 850; border-bottom: 1px solid #eef3f5; }
  .spqr-mobile-links a:last-child { border-bottom: 0; }
  .spqr-mobile-links a.active { color: var(--blue); background: #edf6ff; }
  .spqr-mobile-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 12px; }
  .spqr-mobile-actions .btn { width: 100%; min-height: 48px; }
  .quote-floating { display: none !important; }

  body.form-page .page-hero { padding: 40px 0 28px; }
  body.form-page .page-hero h1 { font-size: clamp(34px, 10vw, 46px); line-height: 1.04; letter-spacing: -.045em; margin-bottom: 12px; }
  body.form-page .page-hero p { font-size: 16px; line-height: 1.55; }
  body.form-page .section { padding: 34px 0 54px; }
  body.form-page .contact-layout { display: block !important; }
  body.form-page .contact-card { position: static !important; margin-bottom: 16px; padding: 20px; border-radius: 20px; }
  body.form-page .contact-card h2 { font-size: 25px; margin: 0 0 10px; }
  body.form-page .contact-card dl { margin: 0; }
  body.form-page .contact-card dt { margin-top: 13px; }
  body.form-page .form-panel { padding: 20px; border-radius: 20px; box-shadow: 0 12px 42px rgba(16,24,32,.06); overflow: hidden; }
  body.form-page .form-grid { display: grid !important; grid-template-columns: 1fr !important; gap: 14px !important; }
  body.form-page .field,
  body.form-page .field.full { grid-column: 1 / -1 !important; width: 100%; min-width: 0; }
  body.form-page label { font-size: 13.5px; }
  body.form-page .input,
  body.form-page select,
  body.form-page textarea { width: 100%; font-size: 16px; min-height: 50px; border-radius: 13px; padding: 13px 14px; }
  body.form-page textarea { min-height: 128px; }
  body.form-page .notice { font-size: 13.5px; line-height: 1.45; padding: 12px 13px; border-radius: 13px; }
  body.form-page .captcha-field { padding: 13px; border-radius: 15px; }
  body.form-page .captcha-input { max-width: 100%; }
  body.form-page .consent { font-size: 12.5px; line-height: 1.45; display: flex; align-items: flex-start; gap: 8px; }
  body.form-page .form-panel .btn,
  body.form-page .side-cta .btn { width: 100%; min-height: 50px; }
}

@media (max-width: 520px) {
  .wrap { padding-left: 16px !important; padding-right: 16px !important; }
  .spqr-nav { height: 66px !important; }
  .spqr-brand img { max-width: min(226px, calc(100vw - 96px)); max-height: 33px; }
  .spqr-mobile-toggle { width: 44px; height: 44px; flex-basis: 44px; }
  .spqr-mobile-actions { grid-template-columns: 1fr; }
  body.form-page .form-panel,
  body.form-page .contact-card { padding: 18px; border-radius: 18px; }
  body.form-page .captcha-field { padding: 12px; }
}

@media (max-width: 380px) {
  .spqr-brand img { max-width: 202px; }
  .spqr-mobile-toggle { width: 42px; height: 42px; flex-basis: 42px; }
  body.form-page .form-panel,
  body.form-page .contact-card { padding: 16px; }
}


/* v8 phone number addition */
.phone-pill{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:40px;
  padding:0 12px;
  border-radius:999px;
  color:var(--ink);
  font-size:13px;
  font-weight:850;
  white-space:nowrap;
  background:#f4f9ff;
  border:1px solid #d7eaff;
}
.phone-pill:hover{border-color:var(--blue);color:var(--blue);}
@media(max-width:1180px){.phone-pill{display:none;}}
@media(max-width:860px){.phone-pill{display:none!important;}.spqr-mobile-actions{grid-template-columns:1fr!important;}}

/* v9 call/menu/desktop final fixes */
html, body { max-width: 100%; overflow-x: hidden; }
.site-header.spqr-header { position: sticky; top: 0; z-index: 500; background: rgba(255,255,255,.96); border-bottom: 1px solid var(--line); }
.spqr-header .spqr-nav { height: 82px !important; display: flex !important; align-items: center !important; justify-content: space-between !important; gap: 22px !important; flex-wrap: nowrap !important; }
.spqr-brand { display: inline-flex !important; align-items: center !important; min-width: 0 !important; flex: 0 0 auto !important; }
.spqr-brand img { height: 42px !important; width: auto !important; max-width: 285px !important; object-fit: contain !important; }
.spqr-desktop-links { display: flex !important; align-items: center !important; justify-content: center !important; gap: 22px !important; flex: 1 1 auto !important; min-width: 0 !important; }
.spqr-desktop-links a { display: inline-flex !important; align-items: center !important; min-height: 42px !important; padding: 0 0 4px !important; font-size: 14px !important; line-height: 1 !important; color: #43505a !important; font-weight: 800 !important; white-space: nowrap !important; border-bottom: 2px solid transparent !important; }
.spqr-desktop-links a:hover, .spqr-desktop-links a.active { color: var(--ink) !important; border-bottom-color: var(--blue) !important; }
.spqr-desktop-actions { display: flex !important; align-items: center !important; justify-content: flex-end !important; gap: 10px !important; flex: 0 0 auto !important; min-width: 0 !important; }
.spqr-desktop-actions .btn, .spqr-desktop-actions .phone-pill { flex: 0 0 auto !important; white-space: nowrap !important; }
.spqr-desktop-actions .btn { min-height: 44px !important; padding: 0 18px !important; font-size: 14px !important; line-height: 1 !important; }
.spqr-desktop-actions .btn-blue { min-width: 132px !important; box-shadow: 0 14px 34px rgba(17,132,246,.22) !important; }
.phone-pill { display: inline-flex !important; align-items: center !important; justify-content: center !important; min-height: 42px !important; padding: 0 13px !important; border-radius: 999px !important; color: var(--ink) !important; font-size: 13px !important; font-weight: 900 !important; white-space: nowrap !important; background: #f4f9ff !important; border: 1px solid #d7eaff !important; }
.phone-pill::before { content: "☎"; margin-right: 7px; font-size: 13px; color: var(--blue); }
.phone-pill:hover { border-color: var(--blue) !important; color: var(--blue) !important; }
.spqr-mobile-toggle, .spqr-mobile-panel, .mobile-call-sticky { display: none !important; }
.quote-floating { display: none !important; }

@media (max-width: 1210px) and (min-width: 981px) {
  .spqr-brand img { max-width: 245px !important; }
  .spqr-desktop-links { gap: 15px !important; }
  .spqr-desktop-actions { gap: 8px !important; }
  .phone-pill { display: none !important; }
}
@media (max-width: 1080px) and (min-width: 981px) {
  .spqr-desktop-actions .btn-line { display: none !important; }
  .spqr-desktop-links { gap: 14px !important; }
  .spqr-desktop-actions .btn-blue { min-width: 126px !important; padding-left: 18px !important; padding-right: 18px !important; }
}

@media (max-width: 980px) {
  body { padding-bottom: calc(82px + env(safe-area-inset-bottom)) !important; }
  body.spqr-menu-open { overflow: hidden !important; }
  .site-header.spqr-header { z-index: 600 !important; }
  .spqr-header .spqr-nav { height: 72px !important; gap: 12px !important; padding-top: 0 !important; padding-bottom: 0 !important; }
  .spqr-brand { flex: 1 1 auto !important; max-width: calc(100% - 62px) !important; }
  .spqr-brand img { height: auto !important; max-height: 36px !important; max-width: min(280px, calc(100vw - 112px)) !important; }
  .spqr-desktop-links, .spqr-desktop-actions,
  .site-header.open .nav-links, .site-header.open .header-actions { display: none !important; visibility: hidden !important; width: 0 !important; height: 0 !important; overflow: hidden !important; pointer-events: none !important; }
  .spqr-mobile-toggle { display: inline-flex !important; align-items: center !important; justify-content: center !important; width: 48px !important; height: 48px !important; flex: 0 0 48px !important; padding: 0 !important; background: #fff !important; color: var(--ink) !important; border: 1px solid var(--line) !important; border-radius: 16px !important; font-size: 24px !important; line-height: 1 !important; box-shadow: none !important; }
  .spqr-mobile-panel { display: block !important; position: absolute !important; top: 100% !important; left: 0 !important; right: 0 !important; background: #fff !important; border-bottom: 1px solid var(--line) !important; box-shadow: 0 24px 70px rgba(16,24,32,.14) !important; max-height: 0 !important; overflow: hidden !important; opacity: 0 !important; visibility: hidden !important; transition: max-height .22s ease, opacity .18s ease, visibility .18s ease !important; z-index: 590 !important; }
  .spqr-header.open .spqr-mobile-panel { max-height: calc(100vh - 72px) !important; overflow-y: auto !important; opacity: 1 !important; visibility: visible !important; }
  .spqr-mobile-inner { padding-top: 14px !important; padding-bottom: 16px !important; }
  .spqr-mobile-links { display: grid !important; gap: 0 !important; background: #fff !important; border: 1px solid var(--line) !important; border-radius: 18px !important; overflow: hidden !important; }
  .spqr-mobile-links a { display: flex !important; align-items: center !important; min-height: 50px !important; padding: 0 16px !important; color: var(--ink) !important; font-weight: 900 !important; border-bottom: 1px solid #eef3f5 !important; }
  .spqr-mobile-links a:last-child { border-bottom: 0 !important; }
  .spqr-mobile-links a.active { color: var(--blue) !important; background: #edf6ff !important; }
  .spqr-mobile-actions { display: grid !important; grid-template-columns: 1fr !important; gap: 10px !important; margin-top: 12px !important; }
  .spqr-mobile-actions .btn { width: 100% !important; min-height: 50px !important; }
  .mobile-call-sticky { display: flex !important; position: fixed !important; left: 16px !important; right: 16px !important; bottom: calc(14px + env(safe-area-inset-bottom)) !important; z-index: 560 !important; align-items: center !important; justify-content: center !important; min-height: 56px !important; border-radius: 999px !important; background: var(--blue) !important; color: #fff !important; font-weight: 950 !important; font-size: 16px !important; box-shadow: 0 18px 50px rgba(17,132,246,.34) !important; border: 1px solid rgba(255,255,255,.45) !important; }
  .mobile-call-sticky::before { content: "☎"; margin-right: 8px; font-size: 17px; }
  .site-footer { padding-bottom: calc(130px + env(safe-area-inset-bottom)) !important; }
  .page-hero { padding-top: 44px !important; }
}

@media (max-width: 640px) {
  .wrap { padding-left: 18px !important; padding-right: 18px !important; }
  .spqr-header .spqr-nav { height: 70px !important; }
  .spqr-brand img { max-width: min(255px, calc(100vw - 102px)) !important; max-height: 34px !important; }
  .spqr-mobile-toggle { width: 46px !important; height: 46px !important; flex-basis: 46px !important; border-radius: 15px !important; }
  .hero h1, .page-hero h1 { font-size: clamp(36px, 12vw, 48px) !important; line-height: 1.02 !important; letter-spacing: -.055em !important; }
  .page-hero p, .hero-copy, .lead { font-size: 16px !important; }
  body.form-page .page-hero { padding: 42px 0 26px !important; }
  body.form-page .section { padding: 34px 0 58px !important; }
  body.form-page .contact-layout { display: block !important; }
  body.form-page .contact-card { position: static !important; top: auto !important; margin-bottom: 18px !important; padding: 20px !important; border-radius: 20px !important; overflow: hidden !important; }
  body.form-page .contact-card h2 { font-size: 26px !important; line-height: 1.05 !important; margin: 0 0 12px !important; }
  body.form-page .contact-card dl { margin: 0 !important; }
  body.form-page .contact-card dd { max-width: 100% !important; overflow-wrap: anywhere !important; }
  body.form-page .form-panel { padding: 20px !important; border-radius: 20px !important; overflow: hidden !important; }
  body.form-page .form-grid { grid-template-columns: 1fr !important; gap: 14px !important; }
  body.form-page .field, body.form-page .field.full { grid-column: 1 / -1 !important; width: 100% !important; min-width: 0 !important; }
  body.form-page .input, body.form-page select, body.form-page textarea { width: 100% !important; max-width: 100% !important; min-height: 52px !important; font-size: 16px !important; padding: 13px 14px !important; border-radius: 14px !important; }
  body.form-page textarea { min-height: 132px !important; }
  body.form-page .notice { padding: 13px 14px !important; font-size: 14px !important; line-height: 1.45 !important; overflow-wrap: anywhere !important; }
  body.form-page .captcha-field { padding: 13px !important; border-radius: 16px !important; }
  body.form-page .captcha-input { max-width: 100% !important; }
  body.form-page .form-panel .btn, body.form-page .side-cta .btn { width: 100% !important; min-height: 52px !important; }
  body.form-page .consent { align-items: flex-start !important; gap: 9px !important; font-size: 12.5px !important; line-height: 1.45 !important; }
}

@media (max-width: 390px) {
  .spqr-brand img { max-width: min(220px, calc(100vw - 96px)) !important; max-height: 32px !important; }
  .mobile-call-sticky { left: 12px !important; right: 12px !important; min-height: 54px !important; font-size: 15px !important; }
}

