:root {
  --ink: #111214;
  --ink-2: #1b1d20;
  --paper: #ffffff;
  --soft: #f6f6f2;
  --line: #e6e6df;
  --muted: #62666c;
  --yellow: #ffd400;
  --yellow-2: #ffad1f;
  --yellow-dark: #d99700;
  --red: #9a1227;
  --success: #1d6b45;
  --danger: #a3262d;
  --radius: 20px;
  --radius-sm: 12px;
  --shadow: 0 18px 60px rgba(0,0,0,.11);
  --shadow-sm: 0 10px 30px rgba(0,0,0,.08);
  --container: 1180px;
  --header: 80px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button { cursor: pointer; }
::selection { background: var(--yellow); color: #000; }

.skip-link {
  position: fixed; left: 16px; top: 10px; z-index: 9999;
  transform: translateY(-150%); background: #000; color: #fff;
  padding: 10px 14px; border-radius: 8px; text-decoration: none;
}
.skip-link:focus { transform: translateY(0); }

.container { width: min(var(--container), calc(100% - 40px)); margin-inline: auto; }
.narrow { width: min(840px, calc(100% - 40px)); margin-inline: auto; }
.section { padding: 96px 0; }
.section-sm { padding: 62px 0; }
.section-dark { background: var(--ink); color: #fff; }
.section-soft { background: var(--soft); }
.section-accent { background: linear-gradient(120deg, #fff8d9, #fff 50%, #fff3c0); }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  margin-bottom: 12px; color: #9a7100; font-size: .78rem; font-weight: 850;
  letter-spacing: .13em; text-transform: uppercase;
}
.eyebrow::before { content: ""; width: 34px; height: 3px; border-radius: 99px; background: linear-gradient(90deg,var(--yellow-2),var(--yellow)); }
.section-dark .eyebrow { color: #ffe261; }
.section-title { margin: 0 0 18px; font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.05; letter-spacing: -.045em; }
.section-lead { max-width: 760px; margin: 0; color: var(--muted); font-size: clamp(1rem, 1.6vw, 1.18rem); }
.section-dark .section-lead { color: #c9cbd0; }
.text-yellow { color: var(--yellow); }
.muted { color: var(--muted); }
.max-650 { max-width: 650px; }

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1000;
  height: var(--header); background: rgba(255,255,255,.96);
  border-bottom: 1px solid rgba(17,18,20,.08);
  backdrop-filter: blur(14px);
}
.header-inner { height: 100%; display: flex; align-items: center; gap: 28px; }
.brand { display: inline-flex; align-items: center; text-decoration: none; flex: 0 0 auto; }
.brand img { width: 202px; height: auto; max-height: 58px; object-fit: contain; }
.main-nav { display: flex; align-items: center; gap: 22px; margin-left: auto; }
.main-nav a { position: relative; color: #27292d; font-size: .93rem; font-weight: 720; text-decoration: none; }
.main-nav a:not(.btn)::after { content: ""; position: absolute; left: 0; bottom: -8px; width: 0; height: 3px; border-radius: 2px; background: var(--yellow); transition: width .2s ease; }
.main-nav a:not(.btn):hover::after, .main-nav a[aria-current="page"]::after { width: 100%; }
.header-phone { display: inline-flex; align-items: center; gap: 8px; margin-left: 6px; font-weight: 850; text-decoration: none; white-space: nowrap; }
.header-phone svg { width: 18px; height: 18px; }
.menu-toggle { display: none; margin-left: auto; width: 44px; height: 44px; border: 0; background: transparent; border-radius: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; margin: 5px auto; background: var(--ink); transition: .2s; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  min-height: 48px; padding: 12px 18px; border: 1px solid transparent; border-radius: 10px;
  background: var(--yellow); color: #111; font-weight: 850; text-decoration: none;
  box-shadow: 0 10px 24px rgba(255,212,0,.18); transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(255,174,31,.26); background: #ffe24a; }
.btn:focus-visible, a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible, summary:focus-visible { outline: 3px solid #0b64d8; outline-offset: 3px; }
.btn-dark { background: #17181a; color: #fff; box-shadow: none; }
.btn-dark:hover { background: #292b2f; }
.btn-outline { background: transparent; border-color: currentColor; color: inherit; box-shadow: none; }
.btn-outline:hover { background: rgba(255,255,255,.08); }
.btn-small { min-height: 42px; padding: 9px 14px; font-size: .9rem; }
.btn svg { width: 20px; height: 20px; flex: 0 0 auto; }

/* Scroll transformation hero */
.transform-hero { position: relative; height: 190svh; background: #111; margin-top: var(--header); }
.transform-stage { position: sticky; top: var(--header); height: calc(100svh - var(--header)); min-height: 620px; overflow: hidden; background: #111; }
.hero-copy { position: absolute; z-index: 12; top: 50%; left: max(24px, calc((100vw - var(--container))/2)); transform: translateY(calc(-50% + var(--hero-copy-shift, 0px))); width: min(620px, 47vw); color: #fff; }
.hero-kicker { display: inline-flex; align-items: center; gap: 8px; padding: 7px 10px; margin-bottom: 18px; border-radius: 999px; background: rgba(0,0,0,.48); border: 1px solid rgba(255,255,255,.22); font-size: .78rem; font-weight: 850; letter-spacing: .11em; text-transform: uppercase; }
.hero-title { margin: 0; font-size: clamp(3.2rem, 7vw, 6.6rem); line-height: .91; letter-spacing: -.06em; text-wrap: balance; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero-title .accent { color: var(--yellow); }
.hero-sub { max-width: 640px; margin: 22px 0 0; font-size: clamp(1rem, 1.5vw, 1.24rem); color: #f0f1f3; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.hero-points { display: flex; flex-wrap: wrap; gap: 10px 18px; margin-top: 28px; padding: 0; list-style: none; }
.hero-points li { display: flex; align-items: center; gap: 8px; font-size: .92rem; font-weight: 700; }
.hero-points li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; background: var(--yellow); color: #111; font-size: .78rem; font-weight: 950; }
.hero-state { transition: opacity .25s linear, transform .25s linear; }
.hero-label { position: absolute; z-index: 9; top: 28px; padding: 7px 12px; border-radius: 999px; font-size: .74rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.hero-label-before { left: 28px; background: rgba(0,0,0,.68); color: #fff; }
.hero-label-after { right: 28px; background: var(--yellow); color: #111; }
.hero-demo { position: absolute; z-index: 9; right: 28px; top: 78px; padding: 5px 9px; border-radius: 7px; background: rgba(255,255,255,.86); color: #35383d; font-size: .72rem; }
.scroll-hint { position: absolute; z-index: 12; left: 50%; bottom: 26px; transform: translateX(-50%); color: #fff; font-size: .76rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: 8px; text-shadow: 0 2px 12px #000; }
.scroll-hint::after { content: ""; width: 1px; height: 34px; background: linear-gradient(#fff, transparent); animation: pulse 1.6s infinite; }
@keyframes pulse { 0%,100%{opacity:.35; transform:scaleY(.7);transform-origin:top} 50%{opacity:1;transform:scaleY(1)} }

.trust-bar { border-bottom: 1px solid var(--line); background: #fff; }
.trust-grid { display: grid; grid-template-columns: repeat(4,1fr); }
.trust-item { display: flex; gap: 14px; align-items: center; min-height: 108px; padding: 22px 24px; border-right: 1px solid var(--line); }
.trust-item:last-child { border-right: 0; }
.trust-icon { width: 42px; height: 42px; color: #111; flex: 0 0 auto; }
.trust-item strong { display: block; font-size: 1rem; line-height: 1.2; }
.trust-item span { display: block; margin-top: 3px; color: var(--muted); font-size: .86rem; line-height: 1.35; }

.split { display: grid; grid-template-columns: 1.08fr .92fr; gap: 68px; align-items: center; }
.split-reverse { grid-template-columns: .9fr 1.1fr; }
.master-card { position: relative; padding: 34px; border: 1px solid var(--line); border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); overflow: hidden; }
.master-card::before { content:""; position:absolute; inset:auto -40px -70px auto; width:220px; height:220px; border-radius:50%; background:radial-gradient(circle,var(--yellow) 0%,rgba(255,212,0,0) 68%); opacity:.22; }
.master-layout { display: grid; grid-template-columns: 180px 1fr; gap: 28px; align-items: center; }
.master-layout img { width: 170px; }
.meister-badge-img {
  display: block;
  width: 150px !important;
  max-width: 100%;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: contain !important;
  padding: 0;
  margin: 0;
  border: 0;
  outline: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  flex: 0 0 auto;
}
.master-layout .meister-badge-img { justify-self: center; }
.rigo-mark-card {
  width: 104px !important;
  height: auto !important;
  float: right;
  margin: 0 0 18px 24px;
  object-fit: contain;
  filter: drop-shadow(0 10px 24px rgba(0,0,0,.22));
}
.section-intro {
  padding-top: 34px;
  padding-bottom: 76px;
}
.section-intro .split { align-items: start; }
.check-list { display: grid; gap: 12px; margin: 24px 0 0; padding: 0; list-style: none; }
.check-list li { display: flex; gap: 10px; align-items: flex-start; }
.check-list li::before { content:"✓"; flex: 0 0 auto; display:grid; place-items:center; width:22px; height:22px; margin-top: 1px; border-radius:50%; background:var(--yellow); color:#111; font-weight:900; font-size:.78rem; }

.card-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; }
.service-card { display: flex; flex-direction: column; min-height: 270px; padding: 28px; border-radius: 16px; border: 1px solid var(--line); background: #fff; text-decoration: none; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.service-card:hover { transform: translateY(-5px); border-color: #d7bf37; box-shadow: var(--shadow-sm); }
.service-icon { width: 50px; height: 50px; margin-bottom: 34px; color: #111; padding: 10px; border-radius: 12px; background: #fff5bf; }
.service-card h3 { margin: 0 0 8px; font-size: 1.22rem; line-height: 1.2; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.service-link { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 20px; color: #8a6200; font-weight: 850; font-size: .9rem; }

.process { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 44px; }
.process-step { position: relative; padding: 0 26px 0 0; }
.process-step:not(:last-child)::after { content:"→"; position:absolute; top:17px; right:10px; color:#9b9ea3; font-weight:900; }
.process-number { display:grid; place-items:center; width:48px; height:48px; border-radius:50%; background:var(--yellow); color:#111; font-weight:950; font-size:1.05rem; margin-bottom:18px; }
.process-step h3 { margin:0 0 8px; font-size:1.08rem; }
.process-step p { margin:0; color:var(--muted); font-size:.9rem; }

.stats-panel { display: grid; grid-template-columns: repeat(4,1fr); margin-top: 32px; border-radius: 16px; border: 1px solid rgba(255,255,255,.12); overflow: hidden; }
.stat { padding: 24px; border-right: 1px solid rgba(255,255,255,.12); }
.stat:last-child { border-right: 0; }
.stat strong { display: block; color: var(--yellow); font-size: 1.15rem; }
.stat span { color: #c5c7cb; font-size: .9rem; }

.region-box { display:grid; grid-template-columns: 1.2fr .8fr; gap: 44px; align-items:center; padding: 50px; border-radius: var(--radius); background: linear-gradient(135deg,#151617,#282a2d); color:#fff; overflow:hidden; position:relative; }
.region-box::after { content:""; position:absolute; width:300px;height:300px;right:-90px;top:-130px;border-radius:50%;background:radial-gradient(circle,#ffd400 0%,rgba(255,212,0,0) 67%);opacity:.18; }
.region-list { display:grid; gap:10px; padding:0; margin:0; list-style:none; position:relative; z-index:1; }
.region-list li { display:flex; gap:10px; align-items:flex-start; }
.region-list li::before { content:"✓"; width:22px;height:22px;display:grid;place-items:center;border-radius:50%;background:var(--yellow);color:#111;font-weight:900;font-size:.75rem;flex:0 0 auto; }

.faq-list { margin-top: 34px; border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { list-style:none; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:22px 0; font-weight:850; cursor:pointer; }
.faq-list summary::-webkit-details-marker { display:none; }
.faq-list summary::after { content:"+"; flex:0 0 auto; width:30px;height:30px;display:grid;place-items:center;border-radius:50%;background:#f1f1ec;font-size:1.25rem;transition:transform .2s; }
.faq-list details[open] summary::after { transform:rotate(45deg); }
.faq-list details p { margin:-5px 0 22px; max-width:780px; color:var(--muted); }

/* Forms */
.form-shell { border: 1px solid var(--line); border-radius: var(--radius); background:#fff; box-shadow: var(--shadow-sm); padding: 34px; }
.form-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:18px; }
.field { display:grid; gap:7px; }
.field-full { grid-column:1/-1; }
.field label { font-weight:800; font-size:.9rem; }
.req { color:#a8252d; }
.field input, .field select, .field textarea { width:100%; min-height:50px; padding:12px 13px; border:1px solid #d5d7da; border-radius:9px; background:#fff; color:#111; transition:border-color .15s, box-shadow .15s; }
.field textarea { min-height:130px; resize:vertical; }
.field input:hover, .field select:hover, .field textarea:hover { border-color:#acb0b5; }
.field input:focus, .field select:focus, .field textarea:focus { outline:none; border-color:#2a69c7; box-shadow:0 0 0 3px rgba(42,105,199,.14); }
.form-note { margin: 15px 0 0; color:var(--muted); font-size:.82rem; }
.form-note a { font-weight:750; }
.checkbox-row { display:flex; gap:10px; align-items:flex-start; }
.checkbox-row input { margin-top:5px; width:18px; height:18px; flex:0 0 auto; }
.checkbox-row label { font-size:.86rem; color:#4c5056; }
.form-actions { display:flex; flex-wrap:wrap; gap:12px; align-items:center; margin-top:22px; }
.honeypot { position:absolute!important; left:-9999px!important; width:1px!important; height:1px!important; overflow:hidden!important; }
.status-box { display:none; margin-bottom:22px; padding:14px 16px; border-radius:10px; font-weight:750; }
.status-box.success { display:block; background:#e9f7ef; color:#155536; border:1px solid #bce4cb; }
.status-box.error { display:block; background:#fff0f0; color:#8e2025; border:1px solid #f0c5c7; }

.contact-panel { display:grid; gap:14px; }
.contact-card { display:flex; gap:14px; align-items:flex-start; padding:18px; border-radius:12px; border:1px solid var(--line); background:#fff; text-decoration:none; }
.contact-card svg { width:24px; height:24px; color:#8a6500; flex:0 0 auto; }
.contact-card strong { display:block; line-height:1.25; }
.contact-card span { display:block; margin-top:2px; color:var(--muted); font-size:.9rem; }

/* Subpages */
.page-main { padding-top: var(--header); }
.page-hero { padding: 76px 0 58px; background: linear-gradient(135deg,#101113,#22252a); color:#fff; position:relative; overflow:hidden; }
.page-hero::after { content:"";position:absolute;right:-80px;top:-140px;width:420px;height:420px;border-radius:50%;background:radial-gradient(circle,rgba(255,212,0,.24),rgba(255,212,0,0) 68%); }
.page-hero .container { position:relative; z-index:1; }
.page-hero h1 { margin:0; max-width:900px; font-size:clamp(2.6rem,6vw,5.2rem); line-height:.96; letter-spacing:-.055em; }
.page-hero p { max-width:720px; margin:22px 0 0; color:#d6d8dc; font-size:1.08rem; }
.breadcrumbs { margin-bottom:24px; color:#bfc2c7; font-size:.82rem; }
.breadcrumbs a { color:#fff; text-decoration:none; }

.service-detail-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:20px; }
.service-detail { padding:30px; border-radius:16px; border:1px solid var(--line); background:#fff; }
.service-detail .service-icon { margin-bottom:20px; }
.service-detail h2 { margin:0 0 10px; font-size:1.35rem; }
.service-detail p { margin:0; color:var(--muted); }
.service-detail ul { margin:18px 0 0; padding-left:18px; color:#42464c; }

.quote-box { padding:32px; border-radius:16px; background:#fff6c8; border:1px solid #f4d654; }
.quote-box h2 { margin-top:0; }

.legal { padding:76px 0 100px; }
.legal h1 { font-size:clamp(2.5rem,5vw,4.5rem); letter-spacing:-.05em; line-height:1; margin:0 0 34px; }
.legal h2 { margin:40px 0 10px; font-size:1.35rem; }
.legal h3 { margin:28px 0 8px; font-size:1.08rem; }
.legal p, .legal li { color:#3f4348; }
.legal dl { display:grid; grid-template-columns:220px 1fr; gap:10px 24px; }
.legal dt { font-weight:850; }
.legal dd { margin:0; color:#3f4348; }
.legal-callout { margin:26px 0; padding:18px 20px; border-left:4px solid var(--yellow); background:#fff8d8; }

/* Footer */
.site-footer { background:#0e0f10; color:#fff; padding:62px 0 22px; }
.footer-grid { display:grid; grid-template-columns:1.2fr .7fr .7fr 1fr; gap:40px; }
.footer-brand img { width:210px; height:auto; }
.footer-brand p { margin:18px 0 0; max-width:310px; color:#b9bcc2; font-size:.9rem; }
.footer-col h2 { margin:0 0 13px; font-size:.92rem; letter-spacing:.03em; }
.footer-col a, .footer-col span { display:block; margin:7px 0; color:#c8cbd0; text-decoration:none; font-size:.88rem; }
.footer-col a:hover { color:#fff; }
.footer-bottom { display:flex; justify-content:space-between; gap:24px; align-items:center; margin-top:46px; padding-top:20px; border-top:1px solid rgba(255,255,255,.12); color:#92969d; font-size:.78rem; }
.footer-mini-links { display:flex; flex-wrap:wrap; gap:14px; }
.footer-mini-links a { color:#b9bdc4; text-decoration:none; }

.mobile-cta { display:none; }

@media (max-width: 1040px) {
  .main-nav { gap:15px; }
  .main-nav a { font-size:.88rem; }
  .header-phone { display:none; }
  .card-grid { grid-template-columns: repeat(2,1fr); }
  .split, .split-reverse { grid-template-columns:1fr; gap:40px; }
  .trust-grid { grid-template-columns:repeat(2,1fr); }
  .trust-item:nth-child(2) { border-right:0; }
  .trust-item:nth-child(-n+2) { border-bottom:1px solid var(--line); }
  .process { grid-template-columns:repeat(2,1fr); gap:34px 0; }
  .process-step:nth-child(2)::after { display:none; }
  .stats-panel { grid-template-columns:repeat(2,1fr); }
  .stat:nth-child(2){border-right:0}.stat:nth-child(-n+2){border-bottom:1px solid rgba(255,255,255,.12)}
  .footer-grid { grid-template-columns:1fr 1fr; }
}

@media (max-width: 820px) {
  :root { --header: 70px; }
  .container, .narrow { width:min(100% - 28px, var(--container)); }
  .brand img { width:170px; height:auto; max-height:50px; }
  .menu-toggle { display:block; }
  .main-nav { position:fixed; top:var(--header); left:0; right:0; display:none; padding:18px 20px 24px; background:#fff; border-bottom:1px solid var(--line); box-shadow:0 14px 24px rgba(0,0,0,.09); flex-direction:column; align-items:stretch; gap:0; }
  .main-nav.open { display:flex; }
  .main-nav a { padding:12px 2px; font-size:1rem; }
  .main-nav a:not(.btn)::after { display:none; }
  .main-nav .btn { margin-top:8px; }
  .transform-hero { height:180svh; }
  .transform-stage { min-height:560px; }
  .hero-copy { left:18px; right:18px; top:auto; bottom:62px; transform:translateY(var(--hero-copy-shift, 0px)); width:auto; padding:18px 16px 16px; border-radius:14px; background:linear-gradient(180deg,rgba(9,10,11,.56),rgba(9,10,11,.88)); backdrop-filter:blur(3px); }
  .hero-title { font-size:clamp(2.6rem,13vw,4.5rem); }
  .hero-sub { margin-top:14px; font-size:.97rem; }
  .hero-actions { margin-top:18px; }
  .hero-points { display:none; }
  .hero-kicker { margin-bottom:10px; }
  .hero-label { top:18px; }
  .hero-label-before { left:16px; }
  .hero-label-after { right:16px; }
  .hero-demo { top:60px; right:16px; }
    .scroll-hint { bottom:12px; font-size:.66rem; }
  .section { padding:72px 0; }
  .section-sm { padding:50px 0; }
  .master-layout { grid-template-columns:120px 1fr; }
  .master-layout img { width:116px; }
  .rigo-mark-card { width:82px !important; margin-left:18px; }
  .section-intro { padding-top: 28px; }
  .region-box { grid-template-columns:1fr; padding:34px 26px; }
  .form-grid { grid-template-columns:1fr; }
  .field-full { grid-column:auto; }
  .service-detail-grid { grid-template-columns:1fr; }
  .legal dl { grid-template-columns:1fr; gap:2px 0; }
  .legal dd { margin-bottom:16px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:34px 24px; }
  .footer-brand { grid-column:1/-1; }
  .footer-bottom { flex-direction:column; align-items:flex-start; }
  .mobile-cta { display:grid; grid-template-columns:1fr 1.3fr; position:fixed; z-index:990; left:10px; right:10px; bottom:10px; padding:7px; gap:7px; border-radius:14px; background:rgba(14,15,16,.94); box-shadow:0 12px 40px rgba(0,0,0,.32); backdrop-filter:blur(12px); }
  .mobile-cta a { min-height:46px; border-radius:9px; text-decoration:none; display:flex;align-items:center;justify-content:center;gap:7px;font-weight:850;font-size:.9rem; }
  .mobile-cta .call { color:#fff; border:1px solid rgba(255,255,255,.24); }
  .mobile-cta .request { background:var(--yellow); color:#111; }
  .site-footer { padding-bottom:96px; }
}

@media (max-width: 560px) {
  .section-title { font-size:2.2rem; }
  .card-grid, .trust-grid, .process, .stats-panel, .footer-grid { grid-template-columns:1fr; }
  .trust-item { border-right:0; border-bottom:1px solid var(--line); min-height:92px; }
  .trust-item:last-child { border-bottom:0; }
  .process-step::after { display:none!important; }
  .stats-panel .stat { border-right:0; border-bottom:1px solid rgba(255,255,255,.12); }
  .stats-panel .stat:last-child { border-bottom:0; }
  .master-layout { grid-template-columns:1fr; }
  .master-layout img { width:150px; }
  .meister-badge-img { margin-inline: auto; }
  .section-intro { padding-top: 24px; }
  .form-shell { padding:22px 18px; }
  .page-hero { padding:58px 0 44px; }
  .page-hero h1 { font-size:2.7rem; }
  .footer-col { grid-column:1/-1; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior:auto; }
  *, *::before, *::after { animation-duration:.01ms!important; animation-iteration-count:1!important; transition-duration:.01ms!important; }
  .transform-hero { height:auto; margin-top:var(--header); }
  .transform-stage { position:relative; top:0; height:78svh; min-height:620px; }
    .scroll-hint { display:none; }
}

/* Hero room illustration: clutter physically clears while scrolling */
.room-scene { position: absolute; inset: 0; overflow: hidden; background: #d9d2c6; }
.room-scene svg { display: block; width: 100%; height: 100%; }
.room-overlay { position:absolute; inset:0; z-index:5; pointer-events:none; background:linear-gradient(90deg,rgba(8,9,10,.92) 0%,rgba(8,9,10,.76) 32%,rgba(8,9,10,.26) 58%,rgba(8,9,10,.02) 84%); }
.room-scene .clutter,
.room-scene .grime,
.room-scene .clean-glow { transform-box: fill-box; transform-origin: center; will-change: opacity, transform; }
.room-scene .clutter { opacity: var(--hero-inverse, 1); }
.room-scene .clutter-a { transform: translate(var(--move-a-x, 0px), var(--move-a-y, 0px)) rotate(var(--rotate-a, 0deg)); }
.room-scene .clutter-b { transform: translate(var(--move-b-x, 0px), var(--move-b-y, 0px)) rotate(var(--rotate-b, 0deg)); }
.room-scene .clutter-c { transform: translateY(var(--move-c-y, 0px)) scale(var(--scale-c, 1)); }
.room-scene .clutter-d { transform: translateY(var(--move-d-y, 0px)); }
.room-scene .grime { opacity: var(--grime-opacity, .42); }
.room-scene .clean-glow { opacity: var(--clean-opacity, 0); }
.hero-label-before { opacity: var(--hero-inverse, 1); }
.hero-label-after { opacity: var(--hero-progress, 0); }
.master-badge-hero { position:absolute; z-index:9; right:max(22px,calc((100vw - var(--container))/2)); bottom:38px; width:124px; aspect-ratio:1; padding:10px; border-radius:50%; background:rgba(255,255,255,.97); border:1px solid rgba(255,255,255,.55); box-shadow:0 18px 42px rgba(0,0,0,.28); opacity:var(--master-opacity, .92); transform:translateY(var(--master-y, 12px)); }
.master-badge-hero img { width:100%; height:100%; object-fit:contain; border-radius:50%; }
.master-badge-hero .meister-badge-img { width:100% !important; max-width:none; height:100% !important; padding:0; margin:0; background:transparent; outline:0; border:0; box-shadow:none; border-radius:0; }

@media (max-width: 820px) {
  .room-overlay { background:linear-gradient(180deg,rgba(8,9,10,.16) 0%,rgba(8,9,10,.24) 43%,rgba(8,9,10,.88) 78%,rgba(8,9,10,.94) 100%); }
  .master-badge-hero { width:98px; right:14px; bottom:auto; top:88px; padding:7px; }
}

/* Responsive polish: cleaner spacing and calmer layouts across all viewports */
body { overflow-x: clip; }
h1, h2, h3 { text-wrap: balance; overflow-wrap: break-word; }
p, li, dd, .contact-card strong, .footer-col a, .footer-col span { overflow-wrap: break-word; }
.section-title { max-width: 980px; }
.master-card { box-shadow: 0 12px 34px rgba(0,0,0,.075); }
.service-card { min-height: 250px; }
.contact-card { transition: border-color .18s ease, box-shadow .18s ease, transform .18s ease; }
a.contact-card:hover { transform: translateY(-2px); border-color: #d8c24a; box-shadow: 0 10px 24px rgba(0,0,0,.06); }
body.nav-open { overflow: hidden; }
body.nav-open .mobile-cta { opacity: 0; pointer-events: none; }
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

@media (max-width: 1040px) {
  .section { padding: 78px 0; }
  .section-sm { padding: 52px 0; }
  .split, .split-reverse { gap: 34px; }
  .master-card { padding: 28px; }
  .service-card { min-height: 230px; padding: 24px; }
  .service-icon { margin-bottom: 24px; }
  .page-hero { padding: 66px 0 52px; }
}

@media (max-width: 820px) {
  :root { --header: 66px; }
  html { scroll-padding-top: 78px; }
  .container, .narrow { width: min(100% - 30px, var(--container)); }
  .header-inner { gap: 14px; }
  .brand img { width: 154px; max-height: 46px; }
  .menu-toggle { width: 42px; height: 42px; }
  .main-nav {
    top: var(--header);
    padding: 10px 18px 18px;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 18px 38px rgba(0,0,0,.12);
  }
  .main-nav a { padding: 12px 4px; }
  .main-nav .btn { margin-top: 6px; min-height: 46px; }

  .transform-hero { height: 160svh; }
  .transform-stage { min-height: 590px; }
  .hero-copy {
    left: 18px;
    right: 18px;
    bottom: 84px;
    width: auto;
    padding: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }
  .hero-title { font-size: clamp(2.7rem, 11.5vw, 4.2rem); line-height: .94; }
  .hero-sub { max-width: 580px; margin-top: 14px; font-size: .98rem; line-height: 1.5; }
  .hero-kicker { margin-bottom: 10px; padding: 6px 9px; font-size: .7rem; }
  .hero-actions { gap: 9px; margin-top: 18px; }
  .hero-copy .hero-actions .btn { min-height: 46px; }
  .hero-copy .hero-actions .btn-outline { display: none; }
  .hero-label { top: 14px; }
  .hero-demo { top: 54px; }
  .master-badge-hero { width: 88px; top: 80px; }

  .section { padding: 62px 0; }
  .section-sm { padding: 46px 0; }
  .section-intro { padding-top: 34px; padding-bottom: 62px; }
  .section-title { margin-bottom: 14px; font-size: clamp(2rem, 7vw, 2.85rem); }
  .section-lead { font-size: 1rem; line-height: 1.55; }
  .eyebrow { margin-bottom: 10px; font-size: .72rem; }

  .master-card { padding: 24px; border-radius: 16px; }
  .master-layout { grid-template-columns: 104px 1fr; gap: 22px; }
  .master-layout img { width: 104px; }
  .master-layout .meister-badge-img { width: 104px !important; }

  .card-grid { gap: 14px; }
  .service-card { min-height: 0; padding: 22px; border-radius: 14px; }
  .service-icon { width: 46px; height: 46px; margin-bottom: 18px; }
  .service-link { padding-top: 16px; }

  .process { margin-top: 34px; }
  .process-step { padding-right: 22px; }
  .stats-panel { margin-top: 26px; }
  .stat { padding: 20px; }

  .region-box { gap: 30px; padding: 30px 24px; border-radius: 16px; }
  .faq-list { margin-top: 26px; }
  .faq-list summary { padding: 19px 0; }

  .form-shell { padding: 26px; border-radius: 16px; box-shadow: 0 10px 28px rgba(0,0,0,.065); }
  .form-grid { gap: 15px; }
  .field input, .field select, .field textarea { min-height: 48px; }
  .contact-panel { gap: 10px; }
  .contact-card { padding: 15px; }

  .page-hero { padding: 52px 0 42px; }
  .page-hero h1 { font-size: clamp(2.35rem, 8.5vw, 3.8rem); line-height: .98; }
  .page-hero p { margin-top: 17px; font-size: 1rem; }
  .breadcrumbs { margin-bottom: 18px; }
  .service-detail { padding: 24px; }
  .quote-box { padding: 26px; }
  .legal { padding: 58px 0 92px; }

  .site-footer { padding-top: 48px; }
  .footer-grid { gap: 28px 24px; }
  .footer-brand img { width: 188px; }
  .footer-brand p { margin-top: 14px; }
  .footer-bottom { margin-top: 32px; }
  .mobile-cta {
    left: 8px;
    right: 8px;
    bottom: max(8px, env(safe-area-inset-bottom));
    grid-template-columns: .86fr 1.14fr;
    padding: 5px;
    gap: 5px;
    border-radius: 12px;
  }
  .mobile-cta a { min-height: 44px; font-size: .86rem; }
}

@media (max-width: 560px) {
  .container, .narrow { width: min(100% - 24px, var(--container)); }
  .section { padding: 52px 0; }
  .section-sm { padding: 40px 0; }
  .section-intro { padding-top: 28px; padding-bottom: 52px; }
  .section-title { font-size: clamp(1.95rem, 9vw, 2.45rem); line-height: 1.02; }
  .section-lead { font-size: .97rem; }

  .transform-hero { height: 148svh; }
  .transform-stage { min-height: 590px; }
  .hero-copy { left: 14px; right: 14px; bottom: 78px; }
  .hero-title { font-size: clamp(2.55rem, 12.5vw, 3.35rem); }
  .hero-sub { font-size: .94rem; line-height: 1.48; }
  .hero-copy .hero-actions .btn { width: 100%; min-height: 45px; }
  .hero-demo, .master-badge-hero { display: none; }
  .scroll-hint { display: none; }

  .trust-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .trust-item,
  .trust-item:nth-child(2),
  .trust-item:nth-child(-n+2) {
    min-height: 112px;
    padding: 18px 14px;
    border-right: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    gap: 10px;
    align-items: flex-start;
  }
  .trust-item:nth-child(2n) { border-right: 0; }
  .trust-item:nth-last-child(-n+2) { border-bottom: 0; }
  .trust-icon { width: 30px; height: 30px; }
  .trust-item strong { font-size: .92rem; }
  .trust-item span { font-size: .77rem; line-height: 1.3; }

  .master-card { padding: 22px 18px; }
  .master-layout { grid-template-columns: 82px 1fr; gap: 16px; }
  .master-layout img { width: 82px; }
  .master-layout .meister-badge-img { width: 82px !important; margin: 0; }
  .rigo-mark-card { width: 68px !important; margin: 0 0 14px 14px; }

  .card-grid { grid-template-columns: 1fr; gap: 12px; }
  .service-card { padding: 20px; }
  .service-icon { margin-bottom: 14px; }
  .service-card h3 { font-size: 1.12rem; }
  .service-card p { font-size: .9rem; }

  .process { grid-template-columns: 1fr; gap: 12px; margin-top: 28px; }
  .process-step {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 13px;
    row-gap: 4px;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
  }
  .process-step::after { display: none !important; }
  .process-number { grid-column: 1; grid-row: 1 / span 2; width: 40px; height: 40px; margin: 0; }
  .process-step h3 { grid-column: 2; margin: 1px 0 2px; }
  .process-step p { grid-column: 2; font-size: .86rem; }

  .stats-panel { grid-template-columns: repeat(2, minmax(0, 1fr)); border-radius: 12px; }
  .stats-panel .stat,
  .stat:nth-child(2),
  .stat:nth-child(-n+2) {
    padding: 17px 14px;
    border-right: 1px solid rgba(255,255,255,.12);
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .stats-panel .stat:nth-child(2n) { border-right: 0; }
  .stats-panel .stat:nth-last-child(-n+2) { border-bottom: 0; }
  .stat strong { font-size: 1rem; }
  .stat span { font-size: .8rem; line-height: 1.35; }

  .region-box { padding: 24px 20px; }
  .region-list { gap: 8px; font-size: .9rem; }
  .faq-list summary { gap: 12px; padding: 17px 0; font-size: .96rem; }
  .faq-list summary::after { width: 28px; height: 28px; }
  .faq-list details p { font-size: .9rem; line-height: 1.55; }

  .form-shell { padding: 20px 16px; border-radius: 14px; }
  .form-grid { gap: 13px; }
  .field label { font-size: .86rem; }
  .field input, .field select, .field textarea { padding: 11px 12px; font-size: 16px; }
  .field textarea { min-height: 116px; }
  .checkbox-row label { font-size: .82rem; }
  .form-actions { display: grid; gap: 8px; }
  .form-actions .btn { width: 100%; }
  .form-note { font-size: .77rem; line-height: 1.45; }
  .contact-card { padding: 14px; }
  .contact-card svg { width: 21px; height: 21px; }
  .contact-card strong { font-size: .93rem; }
  .contact-card span { font-size: .82rem; }

  .page-hero { padding: 42px 0 34px; }
  .page-hero h1 { font-size: clamp(2.15rem, 10.5vw, 2.9rem); }
  .page-hero p { font-size: .96rem; line-height: 1.5; }
  .breadcrumbs { margin-bottom: 15px; font-size: .76rem; }
  .service-detail { padding: 20px; border-radius: 13px; }
  .service-detail h2 { font-size: 1.2rem; }
  .quote-box { padding: 21px; }
  .legal { padding: 48px 0 88px; }
  .legal h1 { font-size: clamp(2.15rem, 10vw, 3rem); margin-bottom: 26px; }
  .legal h2 { margin-top: 32px; }

  .site-footer { padding: 44px 0 88px; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .footer-brand { grid-column: 1 / -1; }
  .footer-brand img { width: 176px; }
  .footer-col { grid-column: auto; }
  .footer-col:last-child { grid-column: 1 / -1; }
  .footer-col h2 { margin-bottom: 10px; }
  .footer-col a, .footer-col span { font-size: .84rem; }
  .footer-bottom { margin-top: 28px; padding-top: 18px; gap: 12px; }
  .footer-mini-links { gap: 10px 12px; }
}

@media (max-width: 400px) {
  .brand img { width: 144px; }
  .hero-title { font-size: clamp(2.35rem, 12vw, 3rem); }
  .hero-sub { font-size: .91rem; }
  .trust-item { padding-inline: 11px; }
  .trust-item span { font-size: .74rem; }
  .master-layout { grid-template-columns: 72px 1fr; }
  .master-layout img { width: 72px; }
  .master-layout .meister-badge-img { width: 72px !important; }
  .mobile-cta { grid-template-columns: .78fr 1.22fr; }
  .mobile-cta a { font-size: .82rem; }
}

/* Mobile quick contact refinement */
.mobile-cta svg { width: 18px; height: 18px; flex: 0 0 18px; }

@media (min-width: 561px) and (max-width: 820px) {
  .mobile-cta { display: none; }
  .site-footer { padding-bottom: 28px; }
  .hero-copy .hero-actions .btn-outline { display: inline-flex; }
}

@media (max-width: 560px) {
  .hero-copy .hero-actions { display: none; }
}

@media (max-width: 820px) {
  .request-page .mobile-cta { display: none; }
  .request-page .site-footer { padding-bottom: 28px; }
}

/* SEO landing pages: compact content spacing */
.seo-paragraph + .seo-paragraph { margin-top: 14px; }
.detail-link { margin: 18px 0 0 !important; }
.detail-link a, .authority-link a { color: #7b5a00; font-weight: 820; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.section-dark .faq-list details { border-color: #36393e; background: #17191c; }
.section-dark .faq-list summary { color: #fff; }
.section-dark .faq-list p { color: #c7c9cd; }
@media (max-width: 700px) {
  .page-hero .hero-actions { margin-top: 22px; }
  .seo-paragraph { font-size: .98rem; }
}
