:root{
  --primary:#3d97e9;
  --primary2:#3a95dc;
  --radius:18px;

  --bg:#ffffff;
  --bg2:#f6f9ff;
  --card:#ffffff;
  --text:#0c1324;
  --muted:#6b7280;
  --border:rgba(229,231,235,.95);
  --shadow:0 16px 44px rgba(12,19,36,.10);

  --glassBg: rgba(255,255,255,.74);
  --glassBorder: rgba(255,255,255,.58);
  --glassShadow: 0 10px 30px rgba(0,0,0,.06);

  --heroTint1: rgba(61,151,233,.18);
  --heroTint2: rgba(56,189,248,.14);

  /* 3D sticker palette */
  --stkBase: rgba(255,255,255,.75);
  --stkEdge: rgba(0,0,0,.06);
  --stkShadow: rgba(0,0,0,.18);
  --stkAccent1: rgba(61,151,233,.95);
  --stkAccent2: rgba(56,189,248,.95);

  /* Floating buttons (theme aware) */
  --fabBg: linear-gradient(135deg, rgba(61,151,233,1), rgba(56,189,248,1));
  --fabIcon: #ffffff;
  --fabBorder: rgba(255,255,255,.55);
  --fabShadow: 0 18px 40px rgba(12,19,36,.18);

  /* Splash (theme aware) */
  --splashBg: radial-gradient(900px 520px at 30% 30%, rgba(61,151,233,.18), transparent 60%),
             radial-gradient(820px 520px at 75% 35%, rgba(56,189,248,.14), transparent 60%),
             linear-gradient(180deg, #ffffff 0%, #f6f9ff 100%);
  --splashCardBg: rgba(255,255,255,.72);
  --splashCardBorder: rgba(229,231,235,.85);
  --splashTitle: #0c1324;
  --splashSubtitle: rgba(12,19,36,.70);

  /* Header icon buttons (menu / language / theme) */
  --hdrBtnBg: rgba(255,255,255,.70);
  --hdrBtnBorder: rgba(229,231,235,.95);
  --hdrBtnIcon: #0c1324;
  --hdrBtnHover: rgba(61,151,233,.16);

  /* Mobile dropdown panels (theme aware) */
  --ddPanelBgMobile: rgba(255,255,255,.985);
  --ddPanelBorderMobile: rgba(229,231,235,.95);
  --ddText: #0c1324;
  --ddHeaderText: rgba(12,19,36,.70);
  --ddItemText: #0c1324;
  --ddItemActiveText: #0c1324;
}

html[data-theme="dark"]{
  /* Splash (theme aware) */
  --splashBg: radial-gradient(800px 500px at 30% 30%, rgba(61,151,233,.24), transparent 60%),
             radial-gradient(700px 500px at 75% 35%, rgba(56,189,248,.20), transparent 60%),
             linear-gradient(180deg, #060a14 0%, #0b1220 100%);
  --splashCardBg: rgba(255,255,255,.08);
  --splashCardBorder: rgba(255,255,255,.14);
  --splashTitle: #ffffff;
  --splashSubtitle: rgba(255,255,255,.82);

  --bg:#060a14;
  --bg2:#0b1220;
  --card:rgba(255,255,255,.06);
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.65);
  --border:rgba(255,255,255,.10);
  --shadow:0 22px 70px rgba(0,0,0,.45);

  --glassBg: rgba(10,14,26,.70);
  --glassBorder: rgba(255,255,255,.10);
  --glassShadow: 0 18px 50px rgba(0,0,0,.35);

  --heroTint1: rgba(61,151,233,.16);
  --heroTint2: rgba(56,189,248,.12);

  --stkBase: rgba(255,255,255,.10);
  --stkEdge: rgba(255,255,255,.12);
  --stkShadow: rgba(0,0,0,.55);
  --stkAccent1: rgba(61,151,233,.85);
  --stkAccent2: rgba(56,189,248,.85);

  --fabBg: linear-gradient(135deg, rgba(56,189,248,1), rgba(99,102,241,1));
  --fabIcon: #ffffff;
  --fabBorder: rgba(255,255,255,.14);
  --fabShadow: 0 18px 44px rgba(0,0,0,.48);

  /* Header icon buttons (menu / language / theme) */
  --hdrBtnBg: rgba(255,255,255,.08);
  --hdrBtnBorder: rgba(255,255,255,.14);
  --hdrBtnIcon: rgba(255,255,255,.92);
  --hdrBtnHover: rgba(61,151,233,.18);

  /* Mobile dropdown panels (theme aware) */
  --ddPanelBgMobile: rgba(10,14,26,.965);
  --ddPanelBorderMobile: rgba(255,255,255,.14);
  --ddText: rgba(255,255,255,.92);
  --ddHeaderText: rgba(255,255,255,.72);
  --ddItemText: rgba(255,255,255,.92);
  --ddItemActiveText: rgba(255,255,255,.98);
}

html[data-theme="comfort"]{
  /* Splash (theme aware) */
  --splashBg: radial-gradient(900px 520px at 30% 30%, rgba(61,151,233,.14), transparent 60%),
             radial-gradient(820px 520px at 75% 35%, rgba(245,158,11,.14), transparent 60%),
             linear-gradient(180deg, #fbf7ef 0%, #f6efe2 100%);
  --splashCardBg: rgba(255,253,248,.78);
  --splashCardBorder: rgba(210,196,170,.45);
  --splashTitle: #1b1a17;
  --splashSubtitle: rgba(27,26,23,.72);

  --bg:#fbf7ef;
  --bg2:#f6efe2;
  --card:#fffdf8;
  --text:#1b1a17;
  --muted:#5f5a50;
  --border:rgba(210,196,170,.55);
  --shadow:0 16px 44px rgba(40,30,10,.10);

  --glassBg: rgba(255,253,248,.78);
  --glassBorder: rgba(210,196,170,.40);
  --glassShadow: 0 10px 26px rgba(40,30,10,.10);

  --heroTint1: rgba(61,151,233,.14);
  --heroTint2: rgba(56,189,248,.10);

  --stkBase: rgba(255,253,248,.88);
  --stkEdge: rgba(40,30,10,.08);
  --stkShadow: rgba(40,30,10,.18);
  --stkAccent1: rgba(61,151,233,.80);
  --stkAccent2: rgba(56,189,248,.78);

  --fabBg: linear-gradient(135deg, #1b1a17, #5f5a50);
  --fabIcon: #ffffff;
  --fabBorder: rgba(40,30,10,.18);
  --fabShadow: 0 18px 40px rgba(40,30,10,.22);

  /* Header icon buttons (menu / language / theme) */
  --hdrBtnBg: rgba(255,253,248,.88);
  --hdrBtnBorder: rgba(210,196,170,.62);
  --hdrBtnIcon: #1b1a17;
  --hdrBtnHover: rgba(245,158,11,.18);

  /* Mobile dropdown panels (theme aware) */
  --ddPanelBgMobile: rgba(255,253,248,.985);
  --ddPanelBorderMobile: rgba(210,196,170,.62);
  --ddText: #1b1a17;
  --ddHeaderText: rgba(27,26,23,.72);
  --ddItemText: #1b1a17;
  --ddItemActiveText: #1b1a17;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  font-family:"Tajawal", sans-serif;
  background:
    radial-gradient(900px 500px at 20% 10%, rgba(61,151,233,.12), transparent 60%),
    radial-gradient(900px 500px at 90% 0%, rgba(56,189,248,.12), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg2) 100%);
  color:var(--text);
  line-height:1.8;
  padding-top:78px;
  overflow-x:hidden;
}

/* Anchor offset so nav clicks land correctly under fixed header */
:where(section[id], div[id]){
  scroll-margin-top: var(--pbNavOffset, 88px);
}

/* small helpers to avoid RTL/LTR margin issues */
.u-mi-2{ margin-left:.5rem; }
.u-me-2{ margin-right:.5rem; }

/* Make ALL colors switch together when changing theme */
html.theme-anim *{
  transition:
    background-color .45s ease,
    color .45s ease,
    border-color .45s ease,
    box-shadow .45s ease,
    fill .45s ease,
    stroke .45s ease !important;
}

/* Prevent a flash on refresh: no transitions until page is loaded */
html.pb-preload *{ transition: none !important; }

/* Hide the 3D Home sticker during refresh, then fade it in */
.hero-3d-wrap{ transition: opacity .45s ease, transform .45s ease; }
html.pb-preload .hero-3d-wrap{
  opacity: 0;
  transform: translateY(10px);
}
@media (prefers-reduced-motion: reduce){
  html.theme-anim *{ transition:none !important; }
}

a{ color:inherit; }
a:hover{ text-decoration:none; }
.muted{ color:var(--muted) !important; }

.section{ padding:84px 0; }
.section-soft{
  background: linear-gradient(180deg, transparent 0%, rgba(61,151,233,.06) 50%, transparent 100%);
}
.section-title h2{ font-weight:900; margin-bottom:10px; }
.section-title p{ color:var(--muted); max-width:820px; margin:0 auto; }

/* blobs */
.blob{
  position:fixed;
  width:420px;height:420px;border-radius:50%;
  filter:blur(26px);
  opacity:.22;
  z-index:-1;
  animation: floaty 10s ease-in-out infinite;
}
.blob-1{
  top:-140px;left:-140px;
  background: radial-gradient(circle at 30% 30%, var(--primary), transparent 60%);
}
.blob-2{
  bottom:-150px;right:-170px;
  background: radial-gradient(circle at 30% 30%, var(--primary2), transparent 60%);
  animation-duration:12s;
}
@keyframes floaty{
  0%,100%{ transform:translate(0,0) scale(1); }
  50%{ transform:translate(18px,-14px) scale(1.04); }
}

/* logo mark */
.brand-mark{
  width:44px;height:44px;
  border-radius:16px;
  position:relative;
  background: linear-gradient(135deg, rgba(61,151,233,.22), rgba(56,189,248,.16));
  border:1px solid rgba(255,255,255,.30);
  box-shadow: var(--fabShadow);
  overflow:hidden;
}
.brand-mark::before{
  content:"";
  position:absolute; inset:-30%;
  background: radial-gradient(circle at 35% 30%, rgba(255,255,255,.55), transparent 55%);
  transform: rotate(12deg);
  opacity:.8;
}
.mark-spark{
  position:absolute; right:8px; top:8px;
  width:16px; height:16px;
  background: linear-gradient(135deg, var(--stkAccent1), var(--stkAccent2));
  clip-path: polygon(50% 0%, 60% 35%, 100% 50%, 60% 65%, 50% 100%, 40% 65%, 0% 50%, 40% 35%);
  opacity:.95;
  animation: sparkle 2.2s ease-in-out infinite;
}
.mark-bubble{
  position:absolute; left:10px; bottom:10px;
  width:16px; height:16px;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.95), rgba(255,255,255,.12));
  border:1px solid rgba(255,255,255,.35);
  animation: bubbleUp 2.8s ease-in-out infinite;
}
.brand-mark--big{ width:72px;height:72px;border-radius:26px; }
.brand-mark--small{ width:40px;height:40px;border-radius:16px; }

@keyframes sparkle{
  0%,100%{ transform: rotate(0deg) scale(1); }
  50%{ transform: rotate(14deg) scale(1.12); }
}
@keyframes bubbleUp{
  0%,100%{ transform: translateY(0); opacity:.75; }
  50%{ transform: translateY(-10px); opacity:1; }
}

/* NAV */
#mainNav{
  background-color: var(--glassBg);
  backdrop-filter: blur(12px);
  border-bottom:1px solid var(--glassBorder);
  box-shadow: var(--fabShadow);
}
.brand-text{ font-weight:900; font-size:18px; letter-spacing:.2px; }

.navbar .nav-link{ font-weight:900; opacity:.9; padding:.7rem 1rem !important; }
.navbar .nav-link:hover{ opacity:1; }
.navbar .nav-link.active{ opacity:1; position:relative; }
.navbar .nav-link.active:after{
  content:"";
  position:absolute;
  left:16px;right:16px;bottom:6px;
  height:3px;border-radius:999px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  animation: underline 1.8s ease-in-out infinite;
}
@keyframes underline{
  0%,100%{ opacity:.75; transform:scaleX(.95); }
  50%{ opacity:1; transform:scaleX(1); }
}

/* theme switch */
.theme-switch{
  display:flex; gap:6px; padding:6px;
  border-radius:999px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--card) 70%, transparent);
}
.theme-switch--compact{ padding:4px; gap:4px; }
.theme-btn{
  width:38px;height:38px;
  border:0;border-radius:999px;
  display:flex;align-items:center;justify-content:center;
  background:transparent;color:var(--text);
  cursor:pointer;
  transition: transform .22s ease, background .22s ease, box-shadow .22s ease;
}
.theme-btn:hover{ transform:translateY(-1px) scale(1.02); background: rgba(61,151,233,.12); }
.theme-btn.active{
  background: linear-gradient(135deg, rgba(61,151,233,.28), rgba(56,189,248,.22));
  border: 1px solid rgba(61,151,233,.35);
  box-shadow: var(--fabShadow);
  animation: pop 420ms ease-out both;
}
@keyframes pop{
  from{ transform:translateY(1px) scale(.92); opacity:.7; }
  to{ transform:translateY(0) scale(1); opacity:1; }
}

/* buttons */
.btn{ border-radius:14px; font-weight:900; padding:12px 16px; position:relative; overflow:hidden; }
.btn-lg{ padding:14px 18px; border-radius:16px; }
.btn-primary{
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary2) 100%);
  border:none;
  box-shadow: var(--fabShadow);
}
.btn-primary:before{
  content:"";
  position:absolute;
  top:-60%;left:-60%;
  width:120%;height:120%;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.45), transparent 55%);
  transform: rotate(12deg);
  opacity:0;
  transition: opacity .25s ease;
}
.btn-primary:hover:before{ opacity:1; }
.btn-soft{ background: rgba(61,151,233,.10); border:1px solid rgba(61,151,233,.28); }

/* NEW: outline-soft button */
.btn-outline-soft{
  background: transparent;
  border:1px solid rgba(56,189,248,.35);
  box-shadow: var(--fabShadow);
}
.btn-outline-soft:hover{
  background: rgba(56,189,248,.10);
}

/* HERO */
.hero-glass{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items:center;
  overflow:hidden;
  background:
    radial-gradient(1200px 650px at 20% 20%, var(--heroTint1), transparent 60%),
    radial-gradient(900px 600px at 80% 35%, var(--heroTint2), transparent 60%),
    linear-gradient(180deg, var(--glassBg) 0%, color-mix(in srgb, var(--glassBg) 70%, transparent) 100%);
  border-bottom: 1px solid var(--glassBorder);
  box-shadow: var(--fabShadow);
}
.hero-spotlight::before{
  content:"";
  position:absolute; inset:-40%;
  background:
    radial-gradient(circle at 25% 25%, rgba(255,255,255,.22), transparent 52%),
    radial-gradient(circle at 75% 45%, rgba(255,255,255,.16), transparent 55%);
  animation: glowMove 5.6s ease-in-out infinite;
  opacity:.9;
}
@keyframes glowMove{
  0%,100%{ transform: translate(-6%, -5%); }
  50%{ transform: translate(6%, 6%); }
}
.hero-content{ position:relative; z-index:2; padding: 54px 0; }

.hero-badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:8px 14px; border-radius:999px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border:1px solid var(--border);
  font-weight:900;
}
.hero-title{
  font-weight:900;
  font-size: clamp(32px, 4.8vw, 60px);
  line-height:1.05;
  margin: 14px 0;
}
.hero-title--wow{ letter-spacing:-.6px; }

.grad-text{
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-subtitle{ color: var(--muted); font-size:18px; max-width: 560px; }
.hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top:18px; }

/* stats row */
.hero-stats{
  margin-top: 18px;
  display:flex; gap:12px;
  flex-wrap:wrap;
}
.stat{
  min-width: 150px;
  padding: 12px 14px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--fabShadow);
}
.stat-num{
  font-weight:900;
  font-size: 20px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.stat-label{ color: var(--muted); font-weight:900; font-size:13px; }

/* 3D card */
.hero-3d-wrap{ position:relative; width:100%; display:flex; justify-content:center; }
.hero-3d-card2{
  width: min(560px, 96%);
  height: 430px;
  border-radius: 30px;
  border: 1px solid var(--border);
  background:
    radial-gradient(180px 120px at 25% 25%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(135deg, rgba(61,151,233,.14), rgba(56,189,248,.10));
  box-shadow: var(--fabShadow);
  transform: perspective(1100px) rotateX(10deg) rotateY(-12deg);
  position: relative;
  overflow:hidden;
  animation: hero3dFloat 3.6s ease-in-out infinite;
}
@keyframes hero3dFloat{
  0%,100%{ transform: perspective(1100px) rotateX(10deg) rotateY(-12deg) translateY(0); }
  50%{ transform: perspective(1100px) rotateX(12deg) rotateY(-8deg) translateY(-10px); }
}
.hero-3d-glow{
  position:absolute;
  inset:-40%;
  background: radial-gradient(circle at 30% 30%, rgba(61,151,233,.16), transparent 55%);
  opacity: .7;
  animation: glowMove2 4.8s ease-in-out infinite;
}
@keyframes glowMove2{
  0%,100%{ transform: translate(-6%, -4%); }
  50%{ transform: translate(6%, 6%); }
}

/* Sticker scene */
.sticker3d-scene{ position:absolute; inset:0; display:block; }

/* bubbles */
.s-bubble{
  position:absolute;
  border-radius:999px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,.90), rgba(255,255,255,.10));
  border: 1px solid var(--stkEdge);
  opacity:.85;
  animation: bubbleUp2 2.8s ease-in-out infinite;
}
.b1{ width:46px;height:46px; left:28px; top:28px; }
.b2{ width:26px;height:26px; left:78px; top:10px; animation-delay:.2s; }
.b3{ width:34px;height:34px; right:30px; top:22px; animation-delay:.4s; }
@keyframes bubbleUp2{
  0%,100%{ transform: translateY(0); opacity:.75; }
  50%{ transform: translateY(-12px); opacity:1; }
}

/* sparkles */
.s-spark{
  position:absolute;
  width:22px;height:22px;
  background: linear-gradient(135deg, var(--stkAccent1), var(--stkAccent2));
  clip-path: polygon(50% 0%, 60% 35%, 100% 50%, 60% 65%, 50% 100%, 40% 65%, 0% 50%, 40% 35%);
  opacity:.9;
  animation: sparkle2 2.2s ease-in-out infinite;
}
.sp1{ right:18px; bottom:32px; }
.sp2{ left:24px; bottom:58px; width:16px;height:16px; animation-delay:.25s; }
@keyframes sparkle2{
  0%,100%{ transform: rotate(0deg) scale(1); }
  50%{ transform: rotate(14deg) scale(1.12); }
}

/* sticker objects */
.stk{
  position:absolute;
  border-radius: 28px;
  border: 1px solid var(--stkEdge);
  box-shadow: var(--fabShadow);
  /* keep sticker objects behind the 3D brand text */
  z-index: 1;
  opacity: .42;
  pointer-events:none;
}

/* keep the 3D brand text always readable */
.pb3d-logo{ z-index: 3; }
.hero-3d-glow{ z-index: 0; pointer-events:none; }

/* Vacuum */
.vacuum{
  left: 44px;
  bottom: 82px;
  width: 170px;
  height: 220px;
  background:
    radial-gradient(80px 80px at 30% 25%, rgba(255,255,255,.35), transparent 60%),
    linear-gradient(135deg, var(--stkAccent1), var(--stkAccent2));
}
.vacuum::before{
  content:"";
  position:absolute;
  left: 30px; top: 22px;
  width: 104px; height: 104px;
  border-radius: 28px;
  background: var(--stkBase);
  border: 1px solid var(--stkEdge);
}
.vacuum::after{
  content:"";
  position:absolute;
  right:-26px; top: 30px;
  width: 92px; height: 92px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--stkBase) 80%, transparent);
  border: 1px solid var(--stkEdge);
  box-shadow: var(--fabShadow);
}

/* Delivery box */
.box{
  left: 26px;
  bottom: 54px;
  width: 112px;
  height: 96px;
  border-radius: 26px;
  background: linear-gradient(135deg, rgba(245,158,11,.25), rgba(61,151,233,.14));
  border: 1px solid rgba(245,158,11,.20);
  transform: rotate(-8deg);
  animation: boxBob 2.8s ease-in-out infinite;
}
.box::before{
  content:"";
  position:absolute;
  left: 18px; right: 18px;
  top: 26px;
  height: 18px;
  border-radius: 12px;
  background: rgba(255,255,255,.35);
}
@keyframes boxBob{
  0%,100%{ transform: rotate(-8deg) translateY(0); }
  50%{ transform: rotate(-4deg) translateY(-10px); }
}

/* Shirt */
.shirt{
  left: 44px;
  top: 34px;
  width: 112px;
  height: 112px;
  background: linear-gradient(135deg, rgba(255,255,255,.92), rgba(255,255,255,.40));
  border: 1px solid var(--stkEdge);
  border-radius: 24px;
  clip-path: polygon(30% 0%, 70% 0%, 82% 14%, 100% 28%, 86% 44%, 80% 36%, 80% 100%, 20% 100%, 20% 36%, 14% 44%, 0% 28%, 18% 14%);
  transform: rotate(10deg);
  box-shadow: var(--fabShadow);
  animation: shirtFloat 2.6s ease-in-out infinite;
}
@keyframes shirtFloat{
  0%,100%{ transform: rotate(10deg) translateY(0); }
  50%{ transform: rotate(6deg) translateY(-10px); }
}

/* theme tweaks for sticker scene */
html[data-theme="dark"] .box{
  background: linear-gradient(135deg, rgba(99,102,241,.22), rgba(56,189,248,.12));
  border-color: rgba(99,102,241,.22);
}
html[data-theme="comfort"] .box{
  background: linear-gradient(135deg, rgba(245,158,11,.22), rgba(61,151,233,.10));
  border-color: rgba(245,158,11,.22);
}

/* shadows */
.hero-3d-shadow{
  width: min(520px, 90%);
  height: 24px;
  border-radius: 999px;
  background: rgba(0,0,0,.25);
  filter: blur(18px);
  opacity: .25;
  margin-top: 16px;
}

/* scroll hint */
.scroll-hint{
  position:absolute;
  bottom:18px; left:50%;
  transform: translateX(-50%);
  width:46px;height:46px;
  border-radius:999px;
  border:1px solid var(--border);
  background: color-mix(in srgb, var(--card) 70%, transparent);
  display:flex; align-items:center; justify-content:center;
}
.scroll-hint span{
  width:10px;height:10px;border-radius:50%;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  animation: bounceDot 1.2s infinite;
}
@keyframes bounceDot{
  0%,100%{ transform: translateY(-4px); opacity:.9; }
  50%{ transform: translateY(6px); opacity:1; }
}

/* shared cards */
.cardX, .service-card, .step-card, .contact-card, .contact-form-card, .area-card, .work-card, .review-card{
  background: var(--card);
  border-radius: var(--radius);
  padding: 20px;
  border: 1px solid var(--border);
  box-shadow: var(--fabShadow);
}

/* about/feature */
.feature-grid{
  margin-top: 14px;
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap: 12px;
}
.feature{
  display:flex; gap:10px;
  padding: 12px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 70%, transparent);
}
.feature-ic{
  width:44px;height:44px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg, rgba(61,151,233,.18), rgba(56,189,248,.14));
}
.feature-ttl{ font-weight:900; }
.feature-sub{ color: var(--muted); font-weight:900; font-size:13px; }

/* social small buttons */
.social-row{ display:flex; gap:10px; flex-wrap:wrap; }
.social{
  width:44px;height:44px;border-radius:16px;
  display:inline-flex;align-items:center;justify-content:center;
  background: color-mix(in srgb, var(--card) 75%, transparent);
  border: 1px solid var(--border);
  box-shadow: var(--fabShadow);
}

/* services */
.service-icon{
  width:54px;height:54px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg, rgba(61,151,233,.18), rgba(56,189,248,.14));
  font-size:22px;
  margin-bottom:12px;
}
.service-card h4{ font-weight:900; }
.service-card p{ color: var(--muted); font-weight:700; }
.service-meta{ color: var(--muted); font-weight:900; font-size:13px; }

/* steps */
.step-num{
  width:44px;height:44px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:#fff; font-weight:900; margin-bottom:10px;
}

/* gallery */
.work-card{ padding:0; overflow:hidden; }
.work-card img{ width:100%; height:260px; object-fit:cover; }
.work-caption{ padding: 14px 16px; }
.work-caption h5{ font-weight:900; margin:0; }
.work-caption span{ color: var(--muted); font-weight:900; font-size:13px; }

/* reviews */
.review-stars{ color:#3a95dc; margin-bottom:10px; }
.review-user{ display:flex; align-items:center; gap:10px; margin-top:12px; }
.avatar{
  width:44px;height:44px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  font-weight:900;
  background: linear-gradient(135deg, rgba(61,151,233,.18), rgba(56,189,248,.14));
}

/* contact */
.contact-badge{
  display:inline-flex;align-items:center;gap:8px;
  padding:7px 12px;border-radius:999px;
  background: rgba(61,151,233,.12);
  border: 1px solid rgba(61,151,233,.22);
  font-weight:900;
  margin-bottom:12px;
}
.contact-line{
  display:flex;gap:12px;align-items:flex-start;
  margin-bottom:12px;
}
.contact-line i{
  width:42px;height:42px;border-radius:16px;
  display:flex;align-items:center;justify-content:center;
  background: color-mix(in srgb, var(--card) 70%, transparent);
  border: 1px solid var(--border);
}
.form-control{
  border-radius:14px;
  padding:12px 12px;
  border: 1px solid var(--border);
  background: color-mix(in srgb, var(--card) 80%, transparent);
  color: var(--text);
}
label{ font-weight:900; }

/* about image */
.about-image{
  position:relative;
  border-radius: 22px;
  overflow:hidden;
  border: 1px solid var(--border);
  box-shadow: var(--fabShadow);
}
.about-image img{ width:100%; height: 420px; object-fit: cover; }
.about-float{
  position:absolute;
  bottom: 16px; left: 16px; right: 16px;
  background: color-mix(in srgb, var(--card) 84%, transparent);
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 12px 14px;
}
.float-title{ font-weight:900; }
.float-sub{ color: var(--muted); font-weight:900; font-size:13px; }

/* Footer glass */
.footer-glass{
  padding: 56px 0 18px;
  background-color: var(--glassBg);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--glassBorder);
  box-shadow: var(--fabShadow);
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 18px;
  padding-bottom: 22px;
}
.footer-title{ font-weight:900; margin-bottom:12px; letter-spacing:.2px; }
.footer-link{ display:block; color: var(--muted); font-weight:900; margin-bottom: 8px; }
.footer-brand-row{ display:flex; gap:12px; align-items:center; margin-bottom:10px; }
.footer-logo-wrap{
  width:54px;height:54px;border-radius:18px;
  background: color-mix(in srgb, var(--card) 75%, transparent);
  border: 1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
}
.footer-name{ font-weight:900; font-size:18px; }
.footer-tag{ color: var(--muted); font-weight:900; font-size:13px; }
.footer-desc{ color: var(--muted); font-weight:700; margin:10px 0 12px; }

/* Footer logo-only brand (matches the header logo) */
.footer-brand--logo-only{
  display:flex;
  align-items:center;
  justify-content:center;
}
.footer-logo-brand{
  display:inline-flex;
  justify-content:center;
  text-decoration:none !important;
}
.footer-logo-brand .brand-text{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  min-width:260px;
  background:#3b8edb;
  color:#ffffff;
  padding:14px 22px 15px;
  border-radius:12px;
  line-height:1.05;
  box-shadow:0 14px 32px rgba(22,77,151,.18);
  text-align:center;
}
.footer-logo-brand .brand-main{font-family:"Sora","Space Grotesk",system-ui,sans-serif;font-size:32px;font-weight:800;letter-spacing:.1em;}
.footer-logo-brand .brand-sub{font-size:16px;font-weight:800;letter-spacing:.28em;}
.footer-logo-brand .brand-desc{font-size:10px;font-weight:700;letter-spacing:.22em;opacity:.96;white-space:nowrap;}
@media (max-width: 575.98px){
  .footer-logo-brand .brand-text{min-width:180px;padding:9px 13px 10px;}
  .footer-logo-brand .brand-main{font-size:22px;}
  .footer-logo-brand .brand-sub{font-size:12px;}
  .footer-logo-brand .brand-desc{font-size:8px;letter-spacing:.16em;}
}
.footer-social a{
  width:42px;height:42px;border-radius:16px;
  display:inline-flex;align-items:center;justify-content:center;
  background: color-mix(in srgb, var(--card) 75%, transparent);
  border: 1px solid var(--border);
  margin-right: 8px;
}
.footer-info{
  display:flex; gap:10px; align-items:flex-start;
  color: var(--muted);
  font-weight:900;
  margin-bottom:10px;
}
.footer-info i{
  width:34px;height:34px;border-radius:14px;
  background: color-mix(in srgb, var(--card) 75%, transparent);
  border: 1px solid var(--border);
  display:flex;align-items:center;justify-content:center;
}
.footer-bottom{
  display:flex; gap:10px; flex-wrap:wrap;
  justify-content: space-between;
  align-items:center;
  border-top: 1px solid var(--glassBorder);
  padding-top: 14px;
  color: var(--muted);
  font-weight:900;
}

/* floating WhatsApp */
.wa-float{
  position:fixed;
  bottom:20px; right:20px;
  width:56px;height:56px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  background: var(--fabBg);
  color: var(--fabIcon);
  border: 1px solid var(--fabBorder);
  font-size:28px;
  box-shadow: var(--fabShadow);
  z-index:9999;
  transition: transform .22s ease, filter .22s ease, box-shadow .22s ease;
}
.wa-float:hover{ transform: translateY(-2px) scale(1.02); filter: brightness(1.05); }

/* FAB positions: WhatsApp on the right, Back-to-top on the left */
@supports (padding: max(0px)){
  .wa-float{ bottom: max(20px, env(safe-area-inset-bottom)); right: max(20px, env(safe-area-inset-right)); }
  .top-fab{ bottom: max(20px, env(safe-area-inset-bottom)); left: max(20px, env(safe-area-inset-left)); }
}
@media (max-width: 480px){
  .wa-float{ width:54px; height:54px; border-radius:16px; }
  .top-fab{ width:50px; height:50px; border-radius:16px; }
}

/* scroll-to-top */
.top-fab{
  position:fixed;
  bottom:20px; left:20px; right:auto;
  width:52px;height:52px;border-radius:18px;
  background: var(--fabBg);
  color: var(--fabIcon);
  border: none;
  display:flex;
  align-items:center;justify-content:center;
  z-index:9999;
  box-shadow: var(--fabShadow);
  opacity:0;
  transform: translateY(12px) scale(.92);
  pointer-events:none;
  transition: opacity .22s ease, transform .22s ease, filter .22s ease, box-shadow .22s ease;
}
.top-fab.show{
  opacity:1;
  transform: translateY(0) scale(1);
  pointer-events:auto;
}
/* keep above WhatsApp */
@media (max-width: 480px){
  .top-fab{ bottom: 88px; }
}
.top-fab.clicked{ animation: topClick .52s ease both; }
@keyframes topClick{
  0%{ transform: translateY(0) scale(1) rotate(0deg); }
  35%{ transform: translateY(-10px) scale(1.06) rotate(-12deg); }
  70%{ transform: translateY(0) scale(1.02) rotate(8deg); }
  100%{ transform: translateY(0) scale(1) rotate(0deg); }
}


/* Splash 3D mark (shown during refresh) */
.splash-3d{
  width: 100%;
  display:flex;
  align-items:center;
  justify-content:center;
  margin: 2px auto 14px;
}
.splash-3d-card{
  width: min(320px, 76vw);
  aspect-ratio: 4 / 3;
  border-radius: 26px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,.18), rgba(255,255,255,.08) 45%, rgba(255,255,255,.02) 70%);
  border: 1px solid rgba(255,255,255,.20);
  box-shadow: 0 16px 45px rgba(0,0,0,.18);
  transform: translateZ(0);
}
html[data-theme="dark"] .splash-3d-card{
  background: radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,.10), rgba(255,255,255,.04) 45%, rgba(0,0,0,.10) 70%);
  border-color: rgba(255,255,255,.14);
  box-shadow: 0 18px 55px rgba(0,0,0,.35);
}
html[data-theme="comfort"] .splash-3d-card{
  background: radial-gradient(120% 120% at 20% 10%, rgba(255,255,255,.20), rgba(255,255,255,.10) 45%, rgba(255,255,255,.05) 70%);
  border-color: rgba(255,255,255,.22);
}
.splash-3d-card .pb3d-logo{
  position:absolute;
  inset: 0;
  display:flex;
  align-items:center;
  justify-content:center;
  transform: scale(.92);
}
.splash-3d-card .pb3d-logo__stack{
  transform: rotateX(14deg) rotateY(-12deg);
  animation: splashTilt 1.6s ease-in-out infinite;
}
@keyframes splashTilt{
  0%,100%{ transform: rotateX(14deg) rotateY(-12deg) translateY(0); }
  50%{ transform: rotateX(16deg) rotateY(-6deg) translateY(-4px); }
}

/* Splash */
#splashScreen{
  position:fixed; inset:0;
  z-index:999999;
  display:flex;align-items:center;justify-content:center;
  background: var(--splashBg);
}
.splash-card{
  width:min(420px, 92vw);
  padding:22px;
  border-radius:24px;
  background: var(--splashCardBg);
  border: 1px solid var(--splashCardBorder);
  text-align:center;
  box-shadow: var(--fabShadow);
  animation: splashPop .9s ease-out forwards;
}
@keyframes splashPop{
  from{ opacity:0; transform: translateY(18px) scale(.98); }
  to{ opacity:1; transform: translateY(0) scale(1); }
}
.splash-logo-wrap{
  width:96px;height:96px;margin:0 auto 12px;
  border-radius:28px;
  background: rgba(255,255,255,.10);
  border: 1px solid rgba(255,255,255,.18);
  display:flex;align-items:center;justify-content:center;
}
.splash-title{ color: var(--splashTitle); font-weight:900; font-size:22px; }
.splash-subtitle{ color: var(--splashSubtitle); font-weight:900; margin-top:4px; }
.splash-loader{ margin-top:14px; display:flex; justify-content:center; gap:8px; }
.splash-loader span{
  width:10px;height:10px;border-radius:50%;
  background: var(--primary);
  animation: dot .8s infinite alternate;
}
.splash-loader span:nth-child(2){ background: var(--primary2); animation-delay:.15s; }
.splash-loader span:nth-child(3){ background: var(--primary); animation-delay:.3s; }
@keyframes dot{
  from{ transform: translateY(0); opacity:.6; }
  to{ transform: translateY(-10px); opacity:1; }
}
#splashScreen.hide{ animation: splashOut .7s ease-in forwards; }
@keyframes splashOut{ to{ opacity:0; visibility:hidden; } }

/* responsive */
@media (max-width: 991px){
  body{ padding-top:56px; }
  .hero-glass{ min-height:auto; padding: 18px 0 22px; }
  .hero-3d-card2{ transform:none; animation:none; height: 360px; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .feature-grid{ grid-template-columns: 1fr; }
}
@media (max-width: 575px){
  body{ padding-top:52px; }
  .hero-glass{ padding: 14px 0 18px; }

  .footer-grid{ grid-template-columns: 1fr; }
  .hero-title{ font-size: 36px; }
  .hero-3d-card2{ height: 320px; }
  /* keep center clean for text on small screens */
  .vacuum{ left: 14px; bottom: 44px; transform: scale(.78); }
.box{ left: 12px; bottom: 34px; transform: rotate(-8deg) scale(.78); }
  .shirt{ left: 26px; top: 18px; transform: rotate(10deg) scale(.78); }
}


\
/* Language switcher */
/* Header dropdowns (Language + Theme) */
.pb-dd-btn,
.pb-menu-btn{
  width:42px;height:42px;
  border-radius:999px;
  border:1px solid var(--hdrBtnBorder);
  background-color: var(--hdrBtnBg);
  color:var(--hdrBtnIcon) !important;
  display:flex;align-items:center;justify-content:center;
  padding:0;
  transition: background-color .45s ease, border-color .45s ease, color .45s ease, box-shadow .45s ease, transform .22s ease;
}

/* Ensure FontAwesome icons inherit theme-aware button color */
.pb-dd-btn i,
.pb-menu-btn i,
.navbar-toggler i{ color: inherit !important; }

/* Theme animation sync: keep header icons/panels changing together */
.navbar-toggler{
  width:42px;height:42px;
  border-radius:999px;
  border:1px solid var(--hdrBtnBorder);
  background-color: var(--hdrBtnBg);
  color: var(--hdrBtnIcon) !important;
  display:flex;align-items:center;justify-content:center;
  padding:0;
  transition: background-color .45s ease, border-color .45s ease, color .45s ease, box-shadow .45s ease, transform .22s ease;
}

.pb-dd-btn:hover,
.pb-menu-btn:hover,
.navbar-toggler:hover{
  background-color: color-mix(in srgb, var(--hdrBtnBg) 82%, var(--hdrBtnHover) 18%);
}
.pb-dd-btn:focus,
.pb-menu-btn:focus{ box-shadow: var(--fabShadow); }

.pb-dd .dropdown-toggle::after,
.pb-menu .dropdown-toggle::after{ display:none; }

.pb-dd-panel,
.pb-menu-panel{
  min-width: 220px;
  padding: 10px;
  border-radius: 18px;
  border:1px solid var(--glassBorder);
  background-color: var(--glassBg);
  box-shadow: var(--fabShadow);
  backdrop-filter: blur(14px);
}

/* Make dropdown panels more legible on mobile/tablet (non-desktop).
   The glass background can be too transparent against the hero.
*/
@media (max-width: 1199px){
  .pb-dd-panel,
  .pb-menu-panel{
    background-color: var(--ddPanelBgMobile);
    border-color: var(--ddPanelBorderMobile);
    color: var(--ddText);
    backdrop-filter: blur(14px);
  }
  html[data-theme="dark"] .pb-dd-panel,
  html[data-theme="dark"] .pb-menu-panel{
    background-color: var(--ddPanelBgMobile);
     border-color: var(--ddPanelBorderMobile);
  }
  html[data-theme="comfort"] .pb-dd-panel,
  html[data-theme="comfort"] .pb-menu-panel{
    background-color: var(--ddPanelBgMobile);
     border-color: var(--ddPanelBorderMobile);
  }
}

.pb-dd-panel .dropdown-header,
.pb-menu-panel .dropdown-header{
  font-weight:900;
  letter-spacing:.2px;
  color: var(--ddHeaderText);
  padding: 8px 10px 6px;
}

.pb-dd-item,
.pb-menu-item{
  border-radius: 14px;
  padding: 10px 12px;
  font-weight: 800;
  color: var(--ddItemText);
}

.pb-dd-item i,
.pb-menu-item i{ color: inherit !important; }

.pb-dd-item:hover,
.pb-dd-item:focus,
.pb-menu-item:hover,
.pb-menu-item:focus{
  background: color-mix(in srgb, var(--primary) 16%, transparent);
  color: var(--ddItemText);
}

.pb-dd-panel .dropdown-divider,
.pb-menu-panel .dropdown-divider{
  border-top-color: color-mix(in srgb, var(--glassBorder) 65%, transparent);
}

.pb-dd-item.is-active,
.pb-dd-item.active,
.pb-menu-item.is-active,
.pb-menu-item.active{
  background: color-mix(in srgb, var(--primary) 22%, transparent);
  color: var(--ddItemActiveText);
}

/* Better mobile navbar */
@media (max-width: 991px){
  .brand-text{ font-size:16px; }
  .navbar .nav-link{ padding:.65rem .9rem !important; }
  .navbar .nav-link.active:after{ display:none; }
  #navbarResponsive{
    margin-top: 12px;
    padding: 10px 10px 12px;
    border-radius: 18px;
    border:1px solid var(--glassBorder);
    background-color: var(--glassBg);
    box-shadow: var(--fabShadow);
    backdrop-filter: blur(14px);
  }
  #navbarResponsive .navbar-nav{ margin-right: 0 !important; }
  .pb-menu-btn{ width:40px;height:40px; }
  .nav-mobile-cta{ margin-top: 8px; display:grid; gap:10px; padding: 8px 6px 2px; }
  .nav-mobile-cta .btn{ width:100%; }

}

.lang-switch{display:flex; gap:8px;}
.lang-switch--compact{gap:6px;}
.lang-btn{
  border:1px solid var(--border);
  background-color: var(--glassBg);
  color: var(--text);
  padding:8px 10px;
  border-radius:999px;
  font-weight:700;
  letter-spacing:.4px;
  line-height:1;
  box-shadow: var(--fabShadow);
  transition:transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.lang-btn:hover{transform:translateY(-1px); box-shadow: var(--fabShadow);}
.lang-btn.is-active{
  border-color: rgba(61,151,233,.8);
  box-shadow: var(--fabShadow);
}

/* Small utility for margin-start in RTL-ready way */
.u-ms-2{margin-left:.5rem;}


/* ===== Header Mobile Fixes (v5) ===== */
.pb-top-controls{ gap:8px; flex-wrap:nowrap; }
.pb-brand{ min-width:0; }
.pb-brand .brand-text{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; max-width: 52vw; }
@media (max-width: 991px){
  /* iOS notch / safe-area support (prevents brand from getting clipped on iPhone) */
  #mainNav{ padding-left: env(safe-area-inset-left); padding-right: env(safe-area-inset-right); }
  #mainNav .container{
    padding-left: calc(12px + env(safe-area-inset-left));
    padding-right: calc(12px + env(safe-area-inset-right));
  }
  .navbar{ padding-top:10px; padding-bottom:10px; }
  .navbar-toggler{ 
    width:42px; height:42px; padding:0;
    border-radius:999px;
    border:1px solid var(--hdrBtnBorder);
    background-color: var(--hdrBtnBg);
    color: var(--hdrBtnIcon) !important;
    display:flex; align-items:center; justify-content:center;
  }
  .navbar-toggler:focus{ outline:none; box-shadow: var(--fabShadow); }
  .pb-dd-btn{ width:42px; height:42px; }
  .pb-dd-panel{ 
    min-width: 200px;
    max-width: calc(100vw - 24px);
  }
  /* Collapse panel behaves like a full-width sheet */
  #navbarResponsive{
    max-height: calc(100vh - 96px);
    overflow:auto;
    -webkit-overflow-scrolling: touch;
  }
  #navbarResponsive .navbar-nav{ width:100%; }
  #navbarResponsive .nav-link{ border-radius: 14px; }
  #navbarResponsive .nav-item + .nav-item{ margin-top: 2px; }
  #navbarResponsive .nav-link:hover,
  #navbarResponsive .nav-link:focus{
    background: color-mix(in srgb, var(--primary) 12%, transparent);
  }
}
@media (max-width: 575px){
  body{ padding-top:52px; }
  .hero-glass{ padding: 14px 0 18px; }

  body{ padding-top:52px; }
  .pb-brand .brand-text{ max-width: 46vw; }
  .brand-mark{ transform: scale(.92); }
  .pb-dd-btn, .navbar-toggler{ width:40px; height:40px; }
  .pb-top-controls{ gap:6px; }
  #navbarResponsive{ margin-top: 10px; padding: 10px; border-radius: 16px; }
  .nav-mobile-cta{ padding: 6px 2px 2px; }
  .nav-mobile-cta .btn{ font-size: 15px; padding: .75rem .9rem; border-radius: 14px; }
}

/* Prevent accidental horizontal scrolling on small screens */
html, body{ overflow-x: hidden; }

/* ===== Responsive layout hardening (mobile + small screens) ===== */
/* Use modern viewport units to avoid the "header taller than screen" issue on mobile browsers */
.hero-glass{
  min-height: calc(100svh - 78px);
}
@supports (height: 100dvh){
  .hero-glass{ min-height: calc(100dvh - 78px); }
}

@media (max-width: 991px){
  /* keep hero readable without forcing oversized vertical space */
  .hero-glass{ min-height: auto; }
  .hero-content{ padding: 42px 0; }
  .hero-subtitle{ font-size: 17px; }
  .hero-actions .btn{ width:auto; }
  .hero-stats{ display:grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap:10px; }
  .stat{ min-width: 0; }
}

@media (max-width: 575px){
  body{ padding-top:52px; }
  .hero-glass{ padding: 14px 0 18px; }

  /* tighter hero to fit within common mobile heights */
  .hero-glass{ padding-top: 0; padding-bottom: 0; }
  .hero-content{ padding: 18px 0 14px; }
  .hero-badge{ font-size: 13px; padding: 7px 12px; }
  .hero-title{ font-size: 32px; }
  .hero-subtitle{ font-size: 15.5px; }
  .hero-actions{ gap:10px; }
  .hero-actions .btn{ width:100%; }
  .hero-stats{ grid-template-columns: 1fr; }
  .stat{ padding: 10px 12px; border-radius: 16px; }
}

@media (max-width: 360px){
  .brand-text{ font-size: 15px; }
  .hero-title{ font-size: 28px; }
}



/* =========================================================
   Responsive polish v3 (safe-area, mobile layout, performance)
   ========================================================= */

/* Prevent accidental horizontal overflow on mobile */
html, body { overflow-x: hidden; }

/* iOS notch / safe-area support for fixed top navbar */
.navbar.fixed-top{
  padding-left: calc(12px + env(safe-area-inset-left, 0px));
  padding-right: calc(12px + env(safe-area-inset-right, 0px));
}

/* Keep brand from getting clipped on narrow screens */
.navbar .navbar-brand{
  max-width: calc(100vw - 170px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Smoother touch feel */
* { -webkit-tap-highlight-color: transparent; }
img { max-width: 100%; height: auto; }

/* Mobile spacing + typography polish */
@media (max-width: 575px){
  body{ padding-top:52px; }
  .hero-glass{ padding: 14px 0 18px; }

  section{ padding-top: 56px; padding-bottom: 56px; }
  .hero{ padding-top: 92px; }

  .hero h1{ line-height: 1.12; }
  .hero .hero-actions{ gap: 10px; }
  .hero .hero-actions .btn{ width: 100%; }

  /* Cards / blocks breathe a bit more */
  .glass-card, .card, .pb-card{
    border-radius: 18px;
  }
}

/* Reduce heavy effects on very low-end devices */
@media (prefers-reduced-motion: reduce){
  html{ scroll-behavior: auto; }
}

/* ------------------------------
   Offline-safe scroll animations
   (AOS replacement)
--------------------------------*/
.pb-aos{
  opacity: 0;
  transform: translateY(14px);
  transition: opacity .6s ease, transform .6s ease;
  will-change: opacity, transform;
}
.pb-aos-in{
  opacity: 1 !important;
  transform: none !important;
}
@media (prefers-reduced-motion: reduce){
  .pb-aos{ opacity: 1 !important; transform:none !important; transition:none !important; }
}


/* Mobile nav collapse animation (works without Bootstrap JS) */
@media (max-width: 991.98px){
  #navbarResponsive.collapse{ display:none; }
  #navbarResponsive.collapse.show{ 
    display:block;
    animation: pbDrop .22s ease-out;
    transform-origin: top center;
  }
  @keyframes pbDrop{
    from{ opacity:0; transform: translateY(-8px) scale(.98); }
    to{ opacity:1; transform: translateY(0) scale(1); }
  }
  /* prevent background scroll when nav open (optional) */
  html.pb-nav-open, html.pb-nav-open body{ overflow:hidden; }
}



/* Scroll To Top Button */
#scrollTopBtn {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
    background-color: #007bff;
    color: #fff;
    border: none;
    outline: none;
    padding: 12px 15px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s ease;
}

#scrollTopBtn:hover {
    background-color: #0056b3;
    transform: scale(1.1);
}


/* -------------------------------------------------------------------------- */
/* About Slider (5 images)                                                    */
/* Higher-quality horizontal motion: slide + soft fade + subtle zoom           */
/* Auto plays every 3s via JS; pauses on hover/focus; respects reduced motion  */
/* -------------------------------------------------------------------------- */

.about-slider{
  position: relative;
  width: 100%;
  height: 420px;
  overflow: hidden;
  border-radius: var(--pb-radius);
  background: #0b1220;
  box-shadow: var(--fabShadow);
}

.about-slider .about-slides{
  position: absolute;
  inset: 0;
}

.about-slider .about-slide{
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(var(--enterX, 8%));
  transition:
    transform 900ms cubic-bezier(.22,.61,.36,1),
    opacity 900ms ease;
  will-change: transform, opacity;
}

.about-slider .about-slide img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;

  /* subtle cinematic feel */
  transform: scale(1.06);
  transition: transform 1300ms cubic-bezier(.22,.61,.36,1), filter 900ms ease;
  filter: saturate(1.02) contrast(1.02);
}

/* Active slide sits centered, fully visible */
.about-slider .about-slide.is-active{
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}
.about-slider .about-slide.is-active img{
  transform: scale(1.01);
}

/* Exiting slide moves left and fades out */
.about-slider .about-slide.is-exit{
  opacity: 0;
  transform: translateX(var(--exitX, -8%));
  z-index: 1;
}

/* Entering slide starts from right, then transitions into active */
.about-slider .about-slide.is-enter{
  opacity: 0;
  transform: translateX(var(--enterX, 8%));
  z-index: 1;
}

/* Keep the existing float badge visible over the slider */
.about-slider .about-float{
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 3;
}

/* A gentle overlay for depth (optional but improves perceived quality) */
.about-slider::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(1200px 420px at 20% 80%, rgba(0,0,0,.22), transparent 60%),
    linear-gradient(to top, rgba(0,0,0,.18), transparent 45%);
  z-index: 2;
}

/* accessibility: reduce motion */
@media (prefers-reduced-motion: reduce){
  .about-slider .about-slide{
    transition: none;
    transform: none;
  }
  .about-slider .about-slide img{
    transition: none;
    transform: none;
  }
  .about-slider::after{
    display:none;
  }
}

/* -------------------------------------------------------------------------- */
/* Services (image cards) - enhanced quality                                  */
/* -------------------------------------------------------------------------- */
.service-card--image{
  padding:0;
  overflow:hidden;
  position:relative;
  transition: transform 300ms cubic-bezier(.22,.61,.36,1), box-shadow 300ms ease, border-color 300ms ease;
}
.service-card--image .service-media{
  position:relative;
  height:190px;
  overflow:hidden;
  background:#0b1220;
}
.service-card--image .service-media img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transform: scale(1.06);
  transition: transform 900ms cubic-bezier(.22,.61,.36,1), filter 500ms ease;
  filter: saturate(1.03) contrast(1.03);
}

/* soft depth overlay for a premium look */
.service-card--image .service-media::after{
  content:"";
  position:absolute;
  inset:0;
  pointer-events:none;
  background:
    radial-gradient(900px 240px at 20% 80%, rgba(0,0,0,.26), transparent 60%),
    linear-gradient(to top, rgba(0,0,0,.22), rgba(0,0,0,.05) 55%, transparent);
}

/* overlay icon */
.service-icon--overlay{
  position:absolute;
  left:16px;
  bottom:16px;
  margin:0;
  z-index:2;
  width:52px;
  height:52px;
  border-radius:18px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(15,23,42,.12);
  box-shadow: var(--fabShadow);
}

/* body */
.service-card--image .service-body{
  padding:18px 18px 16px;
}
.service-card--image h4{
  margin:0 0 8px;
  font-size:18px;
  letter-spacing:.2px;
}
.service-card--image p{
  margin:0 0 12px;
}
.service-card--image .service-meta{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border: 1px solid var(--border);
  background: rgba(148,163,184,.12);
}

/* hover */
.service-card--image:hover{
  transform: translateY(-4px);
  box-shadow: var(--fabShadow);
  border-color: rgba(61,151,233,.35);
}
.service-card--image:hover .service-media img{
  transform: scale(1.12);
  filter: saturate(1.08) contrast(1.06);
}

/* reduce motion */
@media (prefers-reduced-motion: reduce){
  .service-card--image,
  .service-card--image .service-media img{
    transition:none !important;
  }
}


/* -------------------------------------------------------------------------- */
/* How It Works (Process) - premium layout + image + special animations        */
/* -------------------------------------------------------------------------- */
.how-wrap{ margin-top: 28px; }

.step-card--pro{
  position: relative;
  overflow: hidden;
  transition: transform .35s cubic-bezier(.22,.61,.36,1), box-shadow .35s ease, border-color .35s ease;
}
.step-card--pro::before{
  content:"";
  position:absolute;
  inset:-2px;
  background: radial-gradient(600px 260px at 20% 0%, color-mix(in srgb, var(--primary) 28%, transparent), transparent 60%),
              radial-gradient(520px 260px at 90% 80%, color-mix(in srgb, var(--primary2) 22%, transparent), transparent 55%);
  opacity:.75;
  pointer-events:none;
}
.step-card--pro::after{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width:4px;
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  border-radius: 999px;
  opacity:.9;
}
.step-card--pro h5{ margin: 6px 0 8px; font-weight: 900; }
.step-card--pro p{ margin:0; color: var(--muted); }
.step-card--pro:hover{
  transform: translateY(-6px);
  border-color: color-mix(in srgb, var(--primary) 30%, var(--border));
  box-shadow: var(--fabShadow);
}

/* Visual card */
.how-visual{
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  min-height: auto;
  height: 455px;
  margin-top: 6px;
  box-shadow: var(--fabShadow);
}
@media (max-width: 991px){
  .how-visual{height:380px;}
}
.how-visual-frame{
  position:absolute;
  inset:0;
  border-radius: var(--radius);
  overflow:hidden;
  transform: translateZ(0);
}
.how-visual-frame::before{
  /* animated premium border glow */
  content:"";
  position:absolute;
  inset:-2px;
  background: conic-gradient(from 0deg, rgba(13,110,253,.0), rgba(13,110,253,.35), rgba(99,102,241,.35), rgba(13,110,253,.0));
  filter: blur(10px);
  opacity:.9;
  animation: howGlow 6s linear infinite;
  pointer-events:none;
  z-index: 1;
}
@keyframes howGlow{ to{ transform: rotate(360deg); } }

.how-visual-frame::after{
  /* depth overlay */
  content:"";
  position:absolute;
  inset:0;
  background:
    radial-gradient(900px 520px at 20% 80%, rgba(0,0,0,.28), transparent 60%),
    linear-gradient(to top, rgba(0,0,0,.18), transparent 55%);
  z-index: 2;
  pointer-events:none;
}
.how-visual img{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit: cover;
  transform: scale(1.06);
  filter: saturate(1.03) contrast(1.03);
  transition: transform 1.4s cubic-bezier(.22,.61,.36,1), filter .6s ease;
  z-index: 0;
}
.how-visual:hover img{
  transform: scale(1.02);
  filter: saturate(1.06) contrast(1.06);
}

/* Floating badges */
.how-badge{
  position:absolute;
  display:flex;
  gap:10px;
  align-items:center;
  padding:12px 14px;
  border-radius: 18px;
  background: color-mix(in srgb, var(--card) 82%, transparent);
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: var(--fabShadow);
  z-index: 3;
  animation: howFloat 4.8s ease-in-out infinite;
}
.how-badge i{
  width:40px;height:40px;border-radius:14px;
  display:flex;align-items:center;justify-content:center;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  color:#fff;
}
.how-badge-ttl{ font-weight: 900; line-height:1.05; }
.how-badge-sub{ color: var(--muted); font-weight: 700; font-size: 13px; }

.how-badge--top{ top: 18px; left: 18px; }
.how-badge--bottom{ bottom: 18px; right: 18px; animation-delay: -1.8s; }

@keyframes howFloat{
  0%,100%{ transform: translateY(-6px); }
  50%{ transform: translateY(8px); }
}

/* Pause animations on hover/focus for comfort */
.how-visual:hover .how-badge,
.how-visual:focus-within .how-badge{
  animation-play-state: paused;
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .step-card--pro,
  .step-card--pro:hover{ transition:none; transform:none; }
  .how-visual-frame::before,
  .how-badge{ animation:none; }
  .how-visual img{ transition:none; transform:none; }
}


/* -------------------------------------------------------------------------- */
/* Signature section (replaces Gallery)                                       */
/* High-importance visuals + special animation                                */
/* -------------------------------------------------------------------------- */

.signature{
  position: relative;
  overflow: hidden;
}

.signature::before{
  content:"";
  position:absolute;
  inset:-240px -160px auto -160px;
  height:520px;
  background:
    radial-gradient(520px 320px at 30% 40%, rgba(61,151,233,.28), transparent 60%),
    radial-gradient(520px 320px at 70% 10%, rgba(56,189,248,.22), transparent 62%);
  pointer-events:none;
  filter: blur(0px);
}

.signature-lead{max-width: 680px; margin: 0 auto;}

.signature-grid{position:relative; z-index:1;}

.signature-visual{
  position:relative;
  border-radius: calc(var(--radius) + 10px);
  min-height: 300px;
  padding: 18px;
  background: linear-gradient(135deg, rgba(255,255,255,.65), rgba(255,255,255,.35));
  border: 1px solid rgba(255,255,255,.55);
  box-shadow: var(--fabShadow);
  backdrop-filter: blur(10px);
}

.sig-frame{
  position:absolute;
  border-radius: calc(var(--radius) + 6px);
  overflow:hidden;
  box-shadow: var(--fabShadow);
  border: 1px solid rgba(255,255,255,.65);
  transform: translateZ(0);
}

.sig-frame img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  transform: scale(1.05);
  transition: transform 1100ms cubic-bezier(.22,.61,.36,1), filter 900ms ease;
  filter: saturate(1.05) contrast(1.03);
}

.sig-frame--a{
  inset: 20px 38% 90px 18px;
}
.sig-frame--b{
  inset: 120px 18px 20px 46%;
}

.signature-visual:hover .sig-frame img{
  transform: scale(1.02);
}

.sig-glow{
  position:absolute;
  inset: 10px;
  border-radius: calc(var(--radius) + 12px);
  background: radial-gradient(700px 420px at 35% 35%, rgba(61,151,233,.18), transparent 60%),
              radial-gradient(700px 420px at 70% 60%, rgba(56,189,248,.14), transparent 62%);
  pointer-events:none;
  mix-blend-mode: multiply;
  animation: sigGlow 6s ease-in-out infinite;
}

@keyframes sigGlow{
  0%,100%{transform: translateY(0) scale(1);}
  50%{transform: translateY(-10px) scale(1.02);}
}

.sig-badge{
  position:absolute;
  display:flex;
  gap:12px;
  align-items:flex-start;
  padding: 12px 14px;
  border-radius: 16px;
  background-color: var(--glassBg);
  border: 1px solid var(--glassBorder);
  box-shadow: var(--fabShadow);
  backdrop-filter: blur(10px);
  max-width: 250px;
  animation: sigFloat 5.5s ease-in-out infinite;
}
.sig-badge i{
  width:40px;height:40px;
  border-radius: 14px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(61,151,233,.22), rgba(56,189,248,.18));
  color: var(--text);
  border: 1px solid rgba(255,255,255,.55);
}
.sig-badge-ttl{font-weight: 800; line-height: 1.1;}
.sig-badge-sub{color: var(--muted); font-size: 13px; margin-top: 2px;}

.sig-badge--top{top: 18px; right: 18px;}
.sig-badge--bottom{bottom: 18px; left: 18px; animation-delay: -2.2s;}

@keyframes sigFloat{
  0%,100%{transform: translateY(0);}
  50%{transform: translateY(-10px);}
}

.signature-cards{
  display:grid;
  gap: 12px;
}

.sig-card{
  display:flex;
  gap:14px;
  align-items:flex-start;
  padding: 16px 16px;
  border-radius: calc(var(--radius) - 2px);
  background: var(--card);
  border: 1px solid var(--border);
  box-shadow: var(--fabShadow);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
  position:relative;
  overflow:hidden;
}

.sig-card::before{
  content:"";
  position:absolute;
  left:0; top:0; bottom:0;
  width: 4px;
  background: linear-gradient(180deg, var(--primary), var(--primary2));
  opacity: .9;
}

.sig-card:hover{
  transform: translateY(-3px);
  box-shadow: var(--fabShadow);
  border-color: rgba(56,189,248,.35);
}

.sig-ic{
  width:46px;height:46px;
  border-radius: 16px;
  display:grid;place-items:center;
  background: linear-gradient(135deg, rgba(61,151,233,.20), rgba(56,189,248,.16));
  border: 1px solid rgba(56,189,248,.18);
  color: var(--text);
  flex: 0 0 auto;
}

.sig-ttl{margin:0 0 4px; font-weight: 900;}
.sig-txt{margin:0; color: var(--muted);}

.sig-stats{
  margin-top: 16px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.sig-stat{
  padding: 14px 14px;
  border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(135deg, rgba(255,255,255,.78), rgba(255,255,255,.52));
  border: 1px solid rgba(255,255,255,.60);
  box-shadow: var(--fabShadow);
  text-align:center;
}

.sig-num{
  font-size: 28px;
  font-weight: 900;
  letter-spacing: .2px;
  background: linear-gradient(90deg, var(--primary), var(--primary2));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.sig-label{color: var(--muted); font-weight: 700; font-size: 13px;}

.sig-actions{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 16px;
}



/* New Sorgfaltsgarantie layout requested: two cards left, clean-for card right, stats below */
.signature-layout{
  position: relative;
  z-index: 1;
  max-width: 1280px;
  margin: 0 auto;
}

.signature-top{
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.03fr);
  gap: 22px;
  align-items: stretch;
}

.signature-left{
  display: grid;
  grid-template-rows: 1fr 1fr;
  gap: 22px;
}

.signature-right{
  min-height: 100%;
}

.sig-card--stacked{
  min-height: 150px;
  padding: 28px 30px;
  align-items: center;
  border-radius: 18px;
}

.sig-card--cleanfor{
  height: 100%;
  display: flex;
  flex-direction: column;
  gap: 22px;
  padding: 28px 30px;
  border-radius: 18px;
}

.sig-clean-head{
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.sig-clean-images{
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: auto;
}

.sig-clean-img{
  min-height: 175px;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 16px 38px rgba(15,23,42,.13);
}

.sig-clean-img img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sig-stats--wide{
  margin-top: 26px;
  gap: 0;
  border-radius: 18px;
  overflow: hidden;
  background: rgba(255,255,255,.68);
  border: 1px solid rgba(255,255,255,.68);
  box-shadow: var(--fabShadow);
}

.sig-stats--wide .sig-stat{
  border-radius: 0;
  box-shadow: none;
  border: 0;
  border-left: 1px solid rgba(15,23,42,.08);
  padding: 34px 16px;
  background: linear-gradient(135deg, rgba(255,255,255,.84), rgba(255,255,255,.58));
}

.sig-stats--wide .sig-stat:first-child{
  border-left: 0;
}

@media (max-width: 991px){
  .signature-top{
    grid-template-columns: 1fr;
  }
  .signature-left{
    grid-template-rows: auto;
  }
  .sig-card--stacked,
  .sig-card--cleanfor{
    min-height: auto;
    padding: 22px;
  }
  .sig-clean-img{min-height: 210px;}
}

@media (max-width: 575px){
  .signature-top,
  .signature-left,
  .sig-clean-images{
    gap: 14px;
  }
  .sig-clean-images,
  .sig-stats--wide{
    grid-template-columns: 1fr;
  }
  .sig-stats--wide .sig-stat{
    border-left: 0;
    border-top: 1px solid rgba(15,23,42,.08);
  }
  .sig-stats--wide .sig-stat:first-child{
    border-top: 0;
  }
}

@media (max-width: 991px){
  .signature-visual{min-height: 300px;}
  .sig-frame--a{inset: 18px 34% 88px 18px;}
  .sig-frame--b{inset: 118px 18px 18px 44%;}
}

@media (max-width: 575px){
  body{ padding-top:52px; }
  .hero-glass{ padding: 14px 0 18px; }

  .signature-visual{min-height: 300px; padding: 14px;}
  .sig-badge{max-width: 220px;}
  .sig-stats{grid-template-columns: 1fr; text-align:left;}
  .sig-stat{text-align:left;}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  .sig-glow, .sig-badge{animation: none !important;}
  .sig-card{transition: none;}
  .sig-frame img{transition: none;}
}


/* -------------------------------------------------------------------------- */
/* Desktop: animated underline + improved spacing for nav links                */
/* -------------------------------------------------------------------------- */
@media (min-width: 992px){
  .navbar #navbarResponsive .navbar-nav{ position: relative; }

  .navbar .nav-link{
    padding: .78rem 1.35rem !important; /* wider spacing on laptop/desktop */
    white-space: nowrap;
  }

  /* disable old per-link underline to avoid duplicate lines */
  .navbar .nav-link.active:after{ display:none !important; }

  /* sliding underline element (created by pb-nav.js) */
  .pb-nav-underline{
    position:absolute;
    left:0;
    bottom: 6px;
    height: 3px;
    width: 40px;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--primary), var(--primary2));
    box-shadow: var(--fabShadow);
    transform: translateX(0);
    opacity: 0;
    transition:
      transform 420ms cubic-bezier(.22,.61,.36,1),
      width 420ms cubic-bezier(.22,.61,.36,1),
      opacity 220ms ease;
    pointer-events:none;
  }
  .pb-nav-underline.is-ready{ opacity: 1; }
}

@media (prefers-reduced-motion: reduce){
  .pb-nav-underline{ transition:none !important; }
}



/* === PICOBELLO PATCH START === */

/* =========================================================
   PICOBELLO NAV LOGO (Animated + Theme-aware)
   ========================================================= */

.pb-logo{
  position:relative;
  width: 54px;
  height: 54px;
  border-radius: 18px;
  overflow:hidden;
  display:grid;
  place-items:center;

  background: linear-gradient(135deg,
    color-mix(in srgb, var(--primary) 22%, transparent),
    color-mix(in srgb, var(--primary2) 18%, transparent)
  );
  border: 1px solid color-mix(in srgb, var(--border) 70%, transparent);
  box-shadow: var(--fabShadow);

  animation: pbLogoFloat 3.2s ease-in-out infinite;
  transform: translateZ(0);
}

.pb-logo__img{
  width: 86%;
  height: 86%;
  object-fit: contain;
  display:block;
  filter: drop-shadow(0 10px 18px rgba(0,0,0,.14));
  animation: pbLogoPulse 2.8s ease-in-out infinite;
}

.pb-logo__shine{
  position:absolute;
  inset:-40%;
  background: linear-gradient(120deg,
    transparent 35%,
    rgba(255,255,255,.55) 48%,
    transparent 62%
  );
  transform: translateX(-40%) rotate(12deg);
  opacity:.0;
  animation: pbLogoShine 3.6s ease-in-out infinite;
  pointer-events:none;
}

.navbar-brand:hover .pb-logo{
  transform: translateY(-1px) scale(1.02);
  box-shadow: var(--fabShadow);
}
.navbar-brand:hover .pb-logo__img{
  filter: drop-shadow(0 14px 22px rgba(0,0,0,.18));
}

@keyframes pbLogoFloat{
  0%,100%{ transform: translateY(0); }
  50%{ transform: translateY(-4px); }
}
@keyframes pbLogoPulse{
  0%,100%{ transform: scale(1); }
  50%{ transform: scale(1.03); }
}
@keyframes pbLogoShine{
  0%{ transform: translateX(-55%) rotate(12deg); opacity:0; }
  25%{ opacity:.55; }
  55%{ transform: translateX(55%) rotate(12deg); opacity:0; }
  100%{ opacity:0; }
}

@media (max-width: 991px){
  .pb-logo{ width:48px; height:48px; border-radius:16px; }
}
@media (max-width: 575px){
  body{ padding-top:52px; }
  .hero-glass{ padding: 14px 0 18px; }

  .pb-logo{ width:44px; height:44px; border-radius:14px; }
}

@media (prefers-reduced-motion: reduce){
  .pb-logo, .pb-logo__img, .pb-logo__shine{ animation:none !important; }
}

/* =========================================================
   HERO 3D LOGO (Always moving)
   ========================================================= */

.pb3d-logo{
  position:absolute;
  inset: 0;
  display:grid;
  place-items:center;
  perspective: 1200px;
  pointer-events:none;
}

.pb3d-logo__stack{
  text-align:center;
  transform-style: preserve-3d;
  animation: pb3dSpin 7.5s ease-in-out infinite;
  will-change: transform;
}

.pb3d-logo__front{
  font-weight: 900;
  font-size: clamp(34px, 4.2vw, 62px);
  letter-spacing: .6px;

  background: linear-gradient(135deg, var(--primary), var(--primary2));
  -webkit-background-clip:text;
  background-clip:text;
  color: transparent;

  text-shadow:
    0 1px 0 rgba(255,255,255,.35),
    0 12px 34px rgba(0,0,0,.22);
  transform: translateZ(34px);
}

.pb3d-logo__sub{
  margin-top: 10px;
  font-weight: 900;
  font-size: clamp(18px, 2vw, 30px);
  color: color-mix(in srgb, var(--text) 92%, transparent);
  text-shadow: 0 10px 24px rgba(0,0,0,.18);
  transform: translateZ(18px);
}

.pb3d-logo__tag{
  margin-top: 14px;
  font-weight: 900;
  font-size: clamp(12px, 1.2vw, 16px);
  letter-spacing: 3px;
  color: color-mix(in srgb, var(--muted) 92%, transparent);
  text-transform: uppercase;
  transform: translateZ(10px);
}

.pb3d-logo__ring{
  position:absolute;
  width: min(380px, 82%);
  height: min(220px, 52%);
  border-radius: 999px;
  background:
    radial-gradient(closest-side, rgba(255,255,255,.16), transparent 62%),
    conic-gradient(from 0deg,
      color-mix(in srgb, var(--primary) 60%, transparent),
      color-mix(in srgb, var(--primary2) 60%, transparent),
      color-mix(in srgb, var(--primary) 60%, transparent)
    );
  opacity: .55;
  transform: translateZ(-40px) rotateX(68deg);
  animation: pbRing 6.2s linear infinite;
}

.pb3d-logo__spark{
  position:absolute;
  width: 18px;
  height: 18px;
  background: linear-gradient(135deg, var(--primary), var(--primary2));
  clip-path: polygon(50% 0%, 60% 35%, 100% 50%, 60% 65%, 50% 100%, 40% 65%, 0% 50%, 40% 35%);
  opacity:.85;
  animation: pbSpark 2.4s ease-in-out infinite;
  filter: drop-shadow(0 12px 18px rgba(0,0,0,.18));
}
.pb3d-logo__spark.s1{ top: 18%; right: 18%; animation-delay: .0s; }
.pb3d-logo__spark.s2{ bottom: 22%; left: 18%; width:14px;height:14px; animation-delay: .35s; }
.pb3d-logo__spark.s3{ top: 32%; left: 24%; width:12px;height:12px; animation-delay: .7s; }

@keyframes pb3dSpin{
  0%,100%{ transform: rotateX(14deg) rotateY(-18deg) translateY(0); }
  50%{ transform: rotateX(18deg) rotateY(18deg) translateY(-8px); }
}
@keyframes pbRing{
  to{ transform: translateZ(-40px) rotateX(68deg) rotateZ(360deg); }
}
@keyframes pbSpark{
  0%,100%{ transform: rotate(0deg) scale(1); opacity:.70; }
  50%{ transform: rotate(18deg) scale(1.12); opacity:1; }
}

@media (max-width: 575px){
  body{ padding-top:52px; }
  .hero-glass{ padding: 14px 0 18px; }

  .pb3d-logo__tag{ letter-spacing: 2px; }
}

/* Mobile: shrink & move stickers so the logo text stays clear */
@media (max-width: 575px){
  body{ padding-top:52px; }
  .hero-glass{ padding: 14px 0 18px; }

  .stk{ opacity: .38; border-radius: 22px; }
.box{
    left: 50%;
    margin-left: -55px;
    bottom: 62px;
    width: 110px;
    height: 92px;
    border-radius: 22px;
  }

  .shirt{
    left: 50%;
    margin-left: -52px;
    top: 56px;
    width: 104px;
    height: 104px;
    border-radius: 20px;
  }
}

@media (prefers-reduced-motion: reduce){
  .pb3d-logo__stack,
  .pb3d-logo__ring,
  .pb3d-logo__spark{ animation:none !important; }
}

/* === PICOBELLO PATCH END === */



/* ===== Home Mobile Side Padding (v6) ===== */
@media (max-width: 576px){
  /* Give hero content breathing room on left/right */
  #home .hero-content{
    padding-left: calc(18px + env(safe-area-inset-left));
    padding-right: calc(18px + env(safe-area-inset-right));
  }
  /* Ensure buttons don't touch edges */
  #home .hero-actions{ gap:10px; }
  #home .hero-actions .btn{ width:100%; }
  /* Slightly reduce title size to avoid edge collisions */
  #home .hero-title{ font-size: clamp(28px, 7vw, 44px); }
}

/* ===== Remove rotating blue ring/pane behind 3D logo (v7) ===== */
.pb3d-logo__ring{
  display: none !important;
  animation: none !important;
}

/* ===============================
   Desktop container width tweaks
   (reduce left/right empty space)
   =============================== */
@media (min-width: 1200px){
  .container{
    max-width: 1800px !important;
    padding-left: 28px !important;
    padding-right: 28px !important;
  }
}
@media (min-width: 1400px){
  .container{ max-width: 1920px !important; }
}
@media (min-width: 1700px){
  .container{ max-width: 2060px !important; }
}
@media (min-width: 2000px){
  .container{ max-width: 2200px !important; }
}


/* modal title fix */
.pb-awards-modal__title{
font-size: 22px !important;
font-weight: 400 !important;
line-height: 1.25 !important;
color:#5b6780 !important;
white-space: nowrap !important;
overflow: visible !important;
text-overflow: unset !important;
letter-spacing:0 !important;
}
@media (max-width: 991px){
.pb-awards-modal__title{
font-size:18px !important;
white-space:normal !important;
}
}

/* Fix about section image height: make the right slider vertically match the text card */
@media (min-width: 992px){
  #about .row.align-items-center{
    align-items: stretch !important;
  }

  #about .row.align-items-center > [class*="col-lg-6"]{
    display: flex;
  }

  #about .cardX,
  #about .about-slider.about-image{
    width: 100%;
    height: 100%;
    min-height: 600px;
  }

  #about .about-slider .about-slide img{
    height: 100%;
    object-fit: cover;
  }
}

@media (max-width: 991.98px){
  #about .about-slider.about-image{
    height: 430px;
  }
}


/* Exact process image alignment: keep the image height equal to the two step-card rows */
@media (min-width: 992px){
  #process .how-wrap{
    align-items: stretch !important;
  }
  #process .how-wrap > .col-lg-5{
    display: flex;
  }
  #process .how-visual{
    width: 100%;
    height: 100%;
    min-height: 300px;
  }
}

/* Final adjustment: make the Ablauf image match the two step-card rows height */
@media (min-width: 992px){
  #process .how-wrap{
    align-items: flex-start !important;
  }

  #process .how-wrap > .col-lg-5{
    display:flex;
    align-items:flex-start;
    padding-top: 28px;
  }

  #process .how-visual{
    width:100%;
    height: 500px !important;
    min-height:0 !important;
    max-height:500px !important;
    overflow:hidden;
  }

  #process .how-visual-frame,
  #process .how-visual-frame img{
    height:100%;
    object-fit:cover;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px){
  #process .how-visual{
    height: 460px !important;
    max-height:460px !important;
  }
}

/* Requested update: remove clean-for icon and use one animated image area */
.sig-clean-head--noicon{
  padding-left: 0;
}

.sig-clean-head--noicon .sig-ttl{
  margin-bottom: 8px;
}

.sig-clean-slider{
  position: relative;
  width: 100%;
  min-height: 220px;
  margin-top: auto;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.65);
  box-shadow: 0 16px 38px rgba(15,23,42,.13);
  background: rgba(255,255,255,.45);
}

.sig-clean-slider .sig-slide{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0;
  transform: scale(1.04);
  animation: sigImageFade 8s ease-in-out infinite;
}

.sig-clean-slider .sig-slide--one{
  opacity: 1;
}

.sig-clean-slider .sig-slide--two{
  animation-delay: 4s;
}

@keyframes sigImageFade{
  0%{ opacity: 0; transform: scale(1.06); }
  12%{ opacity: 1; transform: scale(1.03); }
  48%{ opacity: 1; transform: scale(1.01); }
  60%{ opacity: 0; transform: scale(1); }
  100%{ opacity: 0; transform: scale(1.06); }
}

@media (max-width: 991px){
  .sig-clean-slider{ min-height: 240px; }
}

@media (max-width: 575px){
  .sig-clean-slider{ min-height: 210px; }
}

@media (prefers-reduced-motion: reduce){
  .sig-clean-slider .sig-slide{ animation: none; }
  .sig-clean-slider .sig-slide--one{ opacity: 1; }
  .sig-clean-slider .sig-slide--two{ opacity: 0; }
}

/* Final requested Ablauf adjustment: enlarge the 4 step cards to match the image height */
@media (min-width: 992px){
  #process .how-wrap{
    align-items: stretch !important;
  }

  #process .how-wrap > .col-lg-7,
  #process .how-wrap > .col-lg-5{
    display: flex !important;
    align-items: stretch !important;
    padding-top: 0 !important;
  }

  #process .how-wrap > .col-lg-7 > .row{
    width: 100%;
    height: 500px !important;
    align-content: stretch !important;
  }

  #process .how-wrap > .col-lg-7 > .row > .col-md-6{
    display: flex !important;
    height: calc(50% - 12px) !important;
    margin-bottom: 24px !important;
  }

  #process .how-wrap > .col-lg-7 > .row > .col-md-6:nth-last-child(-n+2){
    margin-bottom: 0 !important;
  }

  #process .step-card--pro{
    width: 100%;
    height: 100% !important;
    min-height: 0 !important;
    padding: 30px 24px !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
  }

  #process .how-visual{
    margin-top: 0 !important;
    height: 500px !important;
    max-height: 500px !important;
    min-height: 0 !important;
  }
}

@media (min-width: 992px) and (max-width: 1199.98px){
  #process .how-wrap > .col-lg-7 > .row{
    height: 460px !important;
  }
  #process .how-visual{
    height: 460px !important;
    max-height: 460px !important;
  }
  #process .step-card--pro{
    padding: 24px 20px !important;
  }
}

/* User final request: make the whole site background pure white with no colored gradients/glows */
html,
body,
.site,
main,
section,
.section,
.hero,
.hero-section,
.service-section,
#home,
#about,
#awards,
#services,
#process,
#care,
#contact,
.clean-section,
.page-section,
.pro-section,
.splash-screen,
.splash {
  background: #ffffff !important;
  background-color: #ffffff !important;
  background-image: none !important;
}

body::before,
body::after,
.site::before,
.site::after,
main::before,
main::after,
section::before,
section::after,
.section::before,
.section::after,
.hero::before,
.hero::after,
.hero-section::before,
.hero-section::after,
.service-section::before,
.service-section::after,
#home::before,
#home::after,
#about::before,
#about::after,
#awards::before,
#awards::after,
#services::before,
#services::after,
#process::before,
#process::after,
#care::before,
#care::after,
#contact::before,
#contact::after {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* Remove the soft blue side/top background glows only; keep cards, buttons, icons, and content styling unchanged. */
[class*="bg-blur"],
[class*="blob"],
[class*="glow"],
[class*="orb"],
.bg-shape,
.shape,
.decor,
.decoration {
  background: transparent !important;
  background-image: none !important;
  box-shadow: none !important;
}

/* =========================================================
   Final Sorgfaltsgarantie redesign: two left cards, right info/stats, large slider
   ========================================================= */
.signature-layout--v2{
  max-width: 1520px !important;
  margin: 0 auto !important;
  position: relative !important;
  z-index: 2 !important;
}
.signature-layout--v2 .signature-v2-grid{
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
  gap: 34px !important;
  align-items: stretch !important;
}
.signature-v2-left{
  display: grid !important;
  grid-template-rows: 1fr 1fr !important;
  gap: 28px !important;
}
.signature-v2-right{
  display: grid !important;
  grid-template-rows: auto 1fr !important;
  gap: 20px !important;
}
.signature-v2-card,
.signature-v2-cleanfor,
.signature-v2-stats{
  background: #fff !important;
  background-image: none !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  border-left: 4px solid var(--primary) !important;
  border-radius: 22px !important;
  box-shadow: 0 20px 52px rgba(15,23,42,.08) !important;
}
.signature-v2-card{
  min-height: 190px !important;
  padding: 38px 38px !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}
.signature-v2-cleanfor{
  min-height: 134px !important;
  padding: 28px 32px !important;
  display: flex !important;
  align-items: center !important;
  gap: 24px !important;
}
.signature-v2-stats{
  padding: 22px 44px !important;
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 0 !important;
}
.signature-v2-stat{
  display: grid !important;
  grid-template-columns: 74px 1fr !important;
  gap: 20px !important;
  align-items: center !important;
  padding: 18px 0 !important;
  border-top: 1px solid rgba(15,23,42,.10) !important;
}
.signature-v2-stat:first-child{ border-top: 0 !important; }
.signature-v2-stat .sig-num,
.signature-v2-stats .sig-num{
  text-align: left !important;
  margin: 0 0 4px !important;
  line-height: 1 !important;
}
.signature-v2-stat .sig-label,
.signature-v2-stats .sig-label{
  text-align: left !important;
}
.signature-v2-slider{
  position: relative !important;
  margin-top: 34px !important;
  height: 365px !important;
  border-radius: 22px !important;
  overflow: hidden !important;
  background: #fff !important;
  background-image: none !important;
  border: 1px solid rgba(15,23,42,.08) !important;
  box-shadow: 0 20px 52px rgba(15,23,42,.10) !important;
}
.signature-v2-slide{
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
  opacity: 0 !important;
  transform: scale(1.045) !important;
  animation: signatureV2Fade 8s ease-in-out infinite !important;
}
.signature-v2-slide--one{ opacity: 1 !important; }
.signature-v2-slide--two{ animation-delay: 4s !important; }
@keyframes signatureV2Fade{
  0%{ opacity: 0; transform: scale(1.055); }
  12%{ opacity: 1; transform: scale(1.035); }
  48%{ opacity: 1; transform: scale(1.01); }
  60%{ opacity: 0; transform: scale(1); }
  100%{ opacity: 0; transform: scale(1.055); }
}
.signature-v2-nav{
  position: absolute !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  width: 58px !important;
  height: 58px !important;
  border-radius: 14px !important;
  border: 0 !important;
  background: rgba(255,255,255,.94) !important;
  color: #0f172a !important;
  display: grid !important;
  place-items: center !important;
  z-index: 4 !important;
  box-shadow: 0 10px 26px rgba(15,23,42,.15) !important;
  pointer-events: none !important;
}
.signature-v2-nav--prev{ left: 28px !important; }
.signature-v2-nav--next{ right: 28px !important; }
.signature-v2-nav i{ font-size: 26px !important; }
.signature-v2-dots{
  position: absolute !important;
  left: 50% !important;
  bottom: 26px !important;
  transform: translateX(-50%) !important;
  display: flex !important;
  gap: 8px !important;
  z-index: 5 !important;
}
.signature-v2-dots span{
  width: 12px !important;
  height: 12px !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.92) !important;
  box-shadow: 0 4px 12px rgba(15,23,42,.18) !important;
}
.signature-v2-dots span:nth-child(2){ background: var(--primary) !important; }

@media (min-width: 1200px){
  .signature-v2-card{ min-height: 205px !important; }
  .signature-v2-slider{ height: 390px !important; }
}
@media (max-width: 991.98px){
  .signature-layout--v2 .signature-v2-grid{
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .signature-v2-left,
  .signature-v2-right{
    gap: 18px !important;
  }
  .signature-v2-card,
  .signature-v2-cleanfor{
    min-height: auto !important;
    padding: 24px !important;
  }
  .signature-v2-stats{ padding: 18px 24px !important; }
  .signature-v2-slider{ height: 300px !important; margin-top: 22px !important; }
}
@media (max-width: 575px){
  .signature-v2-card,
  .signature-v2-cleanfor{
    align-items: flex-start !important;
    padding: 20px !important;
    gap: 16px !important;
  }
  .signature-v2-stat{ grid-template-columns: 58px 1fr !important; gap: 14px !important; }
  .signature-v2-slider{ height: 240px !important; border-radius: 18px !important; }
  .signature-v2-nav{ width: 46px !important; height: 46px !important; }
  .signature-v2-nav--prev{ left: 14px !important; }
  .signature-v2-nav--next{ right: 14px !important; }
}
@media (prefers-reduced-motion: reduce){
  .signature-v2-slide{ animation: none !important; }
  .signature-v2-slide--one{ opacity: 1 !important; }
  .signature-v2-slide--two{ opacity: 0 !important; }
}

/* Robust automatic slider for Sorgfaltsgarantie section */
.signature-v2-slider .signature-v2-slide{
  opacity: 0 !important;
  transform: scale(1.035) !important;
  transition: opacity .9s ease, transform 4s ease !important;
  animation: none !important;
}
.signature-v2-slider .signature-v2-slide.is-active{
  opacity: 1 !important;
  transform: scale(1) !important;
  z-index: 2 !important;
}
.signature-v2-slider .signature-v2-nav{
  display: none !important;
}
.signature-v2-dots span{
  background: rgba(255,255,255,.92) !important;
}
.signature-v2-dots span.is-active{
  background: var(--primary) !important;
}

/* Exact Sorgfaltsgarantie layout requested - image inside left card */
.section-soft.signature,
section.signature,
#work{background:#fff !important;background-image:none !important;}
#work:before,#work:after,.section-soft.signature:before,.section-soft.signature:after{display:none !important;background:none !important;}
.signature-layout--v3{max-width:1520px !important;margin:0 auto !important;position:relative !important;z-index:2 !important;}
.signature-v3-grid{display:grid !important;grid-template-columns:minmax(0,1fr) minmax(0,1fr) !important;gap:28px !important;align-items:stretch !important;}
.signature-v3-left-card,.signature-v3-cleanfor,.signature-v3-stats{background:#fff !important;background-image:none !important;border:1px solid rgba(15,23,42,.08) !important;border-left:4px solid var(--primary) !important;border-radius:22px !important;box-shadow:0 18px 45px rgba(15,23,42,.08) !important;}
.signature-v3-left-card{padding:30px 32px !important;display:flex !important;flex-direction:column !important;gap:24px !important;min-height:620px !important;}
.signature-v3-text-block{display:grid !important;grid-template-columns:86px minmax(0,1fr) !important;align-items:center !important;gap:22px !important;}
.signature-v3-divider{width:100% !important;height:1px !important;background:rgba(15,23,42,.10) !important;margin:0 !important;}
.signature-v3-slider{position:relative !important;width:100% !important;height:285px !important;margin-top:auto !important;border-radius:16px !important;overflow:hidden !important;background:#fff !important;box-shadow:none !important;}
.signature-v3-slide{position:absolute !important;inset:0 !important;width:100% !important;height:100% !important;object-fit:cover !important;opacity:0 !important;transform:scale(1.035) !important;transition:opacity .9s ease, transform 4s ease !important;}
.signature-v3-slide.is-active{opacity:1 !important;transform:scale(1) !important;z-index:2 !important;}
.signature-v3-right{display:grid !important;grid-template-rows:auto 1fr !important;gap:22px !important;}
.signature-v3-cleanfor{min-height:176px !important;padding:34px 34px !important;display:grid !important;grid-template-columns:86px minmax(0,1fr) !important;align-items:center !important;gap:22px !important;}
.signature-v3-stats{padding:34px 50px !important;display:flex !important;flex-direction:column !important;justify-content:center !important;}
.signature-v3-stat{display:grid !important;grid-template-columns:86px minmax(0,1fr) !important;align-items:center !important;gap:22px !important;padding:24px 0 !important;border-top:1px solid rgba(15,23,42,.10) !important;}
.signature-v3-stat:first-child{border-top:0 !important;}
.signature-v3-stat .sig-num,.signature-v3-stats .sig-num{text-align:left !important;margin:0 0 6px !important;line-height:1 !important;}
.signature-v3-stat .sig-label,.signature-v3-stats .sig-label{text-align:left !important;}
.signature-v3-left-card .sig-ttl,.signature-v3-cleanfor .sig-ttl{margin:0 0 10px !important;}
.signature-v3-left-card .sig-txt,.signature-v3-cleanfor .sig-txt{margin:0 !important;max-width:620px !important;}
.signature-v3-left-card .sig-ic,.signature-v3-cleanfor .sig-ic,.signature-v3-stats .sig-ic{margin:0 !important;flex:0 0 auto !important;}
@media (max-width:991.98px){.signature-v3-grid{grid-template-columns:1fr !important;gap:20px !important;}.signature-v3-left-card{min-height:auto !important;padding:24px !important;}.signature-v3-cleanfor{min-height:auto !important;padding:24px !important;}.signature-v3-stats{padding:20px 24px !important;}.signature-v3-slider{height:300px !important;}}
@media (max-width:575px){.signature-v3-text-block,.signature-v3-cleanfor,.signature-v3-stat{grid-template-columns:58px minmax(0,1fr) !important;gap:14px !important;}.signature-v3-left-card{padding:20px !important;gap:18px !important;}.signature-v3-slider{height:230px !important;border-radius:14px !important;}.signature-v3-stats{padding:18px 20px !important;}.signature-v3-stat{padding:16px 0 !important;}}

/* Final spacing fix: reduce the empty gap between Sorgfaltsgarantie and Kontakt */
#work.section,
section#work.signature {
  padding-bottom: 24px !important;
  margin-bottom: 0 !important;
}

#work .signature-layout,
#work .signature-layout--v3,
#work .signature-v3-grid {
  margin-bottom: 0 !important;
}

#contact.section,
section#contact {
  padding-top: 28px !important;
  margin-top: 0 !important;
}

#contact .section-title {
  margin-top: 0 !important;
  margin-bottom: 24px !important;
}

#contact .section-title h2 {
  margin-top: 0 !important;
}

@media (max-width: 767.98px) {
  #work.section,
  section#work.signature {
    padding-bottom: 18px !important;
  }
  #contact.section,
  section#contact {
    padding-top: 22px !important;
  }
}
