/*
Theme Name: RDLAB Studio
Theme URI: https://rdlab.studio
Author: RDLAB Studio
Author URI: https://rdlab.studio
Description: Custom portfolio theme for RDLAB Studio.
Version: 1.0.0
Text Domain: rdlab-studio
*/

:root{
  --bg:#eef2f7; --card:#ffffff; --text:#0f172a; --muted:#475569;
  --line:rgba(15,23,42,.10);
  --accent:#c7352d; --accent2:#0b5ed7;
  --shadow: 0 18px 45px rgba(15,23,42,.10);
  --shadow2: 0 10px 25px rgba(15,23,42,.08);
  --r:18px; --r2:28px;
  --max:1120px;
  --font: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
}
*{box-sizing:border-box}
body{margin:0; font-family:var(--font); color:var(--text); background:radial-gradient(900px 700px at 10% 0%, #ffffff 0%, rgba(255,255,255,.0) 60%), var(--bg);}
a{color:inherit; text-decoration:none}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.pill{display:inline-flex; gap:8px; align-items:center; padding:8px 12px; border-radius:999px; background:rgba(255,255,255,.55); color:var(--accent); border:1px solid rgba(199,53,45,.18); font-weight:700; font-size:13px}
.btn{display:inline-flex; align-items:center; justify-content:center; gap:10px; padding:12px 16px; border-radius:14px; border:1px solid var(--line); background:rgba(255,255,255,.7); font-weight:800; box-shadow:0 10px 20px rgba(15,23,42,.06); transition:.18s transform, .18s box-shadow}
.btn:hover{transform:translateY(-1px); box-shadow:0 16px 30px rgba(15,23,42,.10)}
.btn.primary{background:linear-gradient(180deg, #d6473f, #b92f28); color:#fff; border-color:rgba(255,255,255,.18)}
.btn.ghost{background:rgba(255,255,255,.65); backdrop-filter: blur(10px)}
.btn.small{padding:10px 12px; border-radius:12px; font-weight:800}
.header{
  position:sticky; top:0; z-index:90;
  background:rgba(238,242,247,.70);
  backdrop-filter: blur(16px);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.header-inner{
  display:grid;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  gap:14px;
  padding:14px 0;
}
.brand{
  display:flex; align-items:center; gap:12px;
  white-space:nowrap;
}
.brand-mark{
  width:40px;height:40px;border-radius:14px;
  background:linear-gradient(135deg,#0b5ed7,#c7352d);
  box-shadow:0 14px 26px rgba(15,23,42,.14);
}
.brand-title{
  display:flex; flex-direction:column;
  line-height:1.05;
}
.brand-title strong{
  font-weight:950;
  letter-spacing:-.2px;
}
.brand-title small{
  margin-top:4px;
  font-size:12px;
  font-weight:850;
  color:rgba(71,85,105,.95);
}
.custom-logo-link{display:inline-flex; align-items:center}
.custom-logo{max-height:40px; width:auto; height:auto; display:block; filter: drop-shadow(0 12px 22px rgba(15,23,42,.12))}
.nav-pill{
  justify-self:center;
  display:flex; align-items:center; gap:6px;
  padding:8px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.62);
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}
.nav-pill a{
  position:relative;
  padding:10px 12px;
  border-radius:14px;
  font-weight:900;
  color:rgba(71,85,105,.98);
  transition:.18s background,.18s color,.18s transform;
}
.nav-pill a:hover{
  background:rgba(15,23,42,.05);
  color:var(--text);
  transform:translateY(-.5px);
}
.nav-pill a.active{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.08);
  color:var(--text);
}
.nav-pill a.active::after{
  content:"";
  position:absolute;
  left:12px; right:12px; bottom:6px;
  height:3px; border-radius:999px;
  background:linear-gradient(90deg, rgba(11,94,215,.95), rgba(199,53,45,.95));
  opacity:.95;
}
.header-right{
  display:flex; align-items:center; gap:10px;
  white-space:nowrap;
}
.chips{
  display:flex; align-items:center; gap:8px;
  padding:8px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.56);
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:999px;
  background:rgba(15,23,42,.04);
  border:1px solid rgba(15,23,42,.08);
  color:rgba(71,85,105,.98);
  font-weight:900;
  font-size:12px;
  line-height:1;
}
.chip .dot{
  width:8px;height:8px;border-radius:999px;
  background:rgba(22,163,74,.95);
  box-shadow:0 0 0 3px rgba(22,163,74,.12);
}
.chip.blue .dot{ background:rgba(11,94,215,.95); box-shadow:0 0 0 3px rgba(11,94,215,.12); }
.chip.red  .dot{ background:rgba(199,53,45,.95); box-shadow:0 0 0 3px rgba(199,53,45,.12); }
.cta{
  display:flex; align-items:center; gap:10px;
}
.cta .btn.primary{
  box-shadow:0 14px 28px rgba(185,47,40,.18);
}
.cta .btn.ghost{
  background:rgba(255,255,255,.55);
  border:1px solid rgba(15,23,42,.10);
}
.hamb{ display:none; }
.hero{padding:46px 0 18px}
.hero-wrap{
  border-radius:var(--r2);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(11,94,215,.25), transparent 55%),
    radial-gradient(1000px 600px at 90% 15%, rgba(199,53,45,.22), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
  border:1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow);
  overflow:hidden;
  position:relative;
}
.hero-wrap.hero-wrap-image{
  background:
    linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.45)),
    var(--rdlab-hero-bg) center/cover no-repeat;
}
.hero-wrap.hero-wrap-image:before{
  display:none;
}
.hero-wrap:before{
  content:"";
  position:absolute; inset:-2px;
  background:
    linear-gradient(90deg, rgba(255,255,255,.08) 0, rgba(255,255,255,0) 30%),
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1200' height='700'%3E%3Cdefs%3E%3CradialGradient id='g' cx='50%25' cy='50%25' r='60%25'%3E%3Cstop offset='0' stop-color='%23ffffff' stop-opacity='.22'/%3E%3Cstop offset='1' stop-color='%23ffffff' stop-opacity='0'/%3E%3C/radialGradient%3E%3C/defs%3E%3Crect width='1200' height='700' fill='url(%23g)'/%3E%3C/svg%3E");
  opacity:.35; pointer-events:none;
  mix-blend-mode: soft-light;
}
.hero-grid{display:grid; grid-template-columns: 1.05fr .95fr; gap:26px; padding:34px}
h1{margin:14px 0 10px; font-size:44px; line-height:1.06; letter-spacing:-.6px}
.lead{color:var(--muted); font-size:16.5px; line-height:1.55; max-width:52ch}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.proof{display:flex; gap:12px; flex-wrap:wrap; margin-top:18px}
.kpi{background:rgba(255,255,255,.6); border:1px solid rgba(15,23,42,.08); border-radius:16px; padding:10px 12px; min-width:150px}
.kpi b{display:block; font-size:18px}
.kpi span{color:var(--muted); font-weight:750; font-size:13px}
.mock{
  align-self:stretch;
  border-radius:22px;
  background:transparent;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:var(--shadow2);
  padding:18px;
  position:relative;
}
.hero-media-placeholder{
  width:100%;
  height:320px;
  border-radius:22px;
  border:1px solid transparent;
  background:rgba(255,255,255,.0);
}
.hero-media-image{
  width:100%;
  height:320px;
  border-radius:22px;
  border:1px solid transparent;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.hero-media{
  background:transparent;
  border:1px solid transparent;
  box-shadow:none;
  padding:0;
}
.devices{position:relative; height:290px; display:flex; align-items:flex-end; justify-content:center}
.laptop{
  width:min(420px, 100%); height:250px;
  border-radius:18px;
  background:linear-gradient(180deg,#101828,#0b1220);
  box-shadow:0 24px 50px rgba(15,23,42,.28);
  padding:12px;
  position:relative;
}
.laptop:after{
  content:""; position:absolute; left:50%; transform:translateX(-50%);
  bottom:-16px; width:86%; height:16px; border-radius:0 0 16px 16px;
  background:linear-gradient(180deg,#2b3446,#1e2636);
  filter:drop-shadow(0 12px 18px rgba(15,23,42,.22));
}
.screen{
  width:100%; height:100%;
  border-radius:12px;
  background:
    linear-gradient(135deg, rgba(11,94,215,.45), rgba(199,53,45,.25)),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.02));
  border:1px solid rgba(255,255,255,.14);
  overflow:hidden;
  position:relative;
}
.screen .topbar{height:34px; background:rgba(255,255,255,.10); display:flex; align-items:center; gap:8px; padding:0 10px}
.dot{width:9px; height:9px; border-radius:999px; background:rgba(255,255,255,.22)}
.screen .content{padding:14px}
.ph-row{height:12px; border-radius:999px; background:rgba(255,255,255,.14); margin:10px 0}
.ph-grid{display:grid; grid-template-columns:repeat(3,1fr); gap:10px; margin-top:12px}
.ph-card{height:56px; border-radius:14px; background:rgba(255,255,255,.12)}
.phone{
  width:138px; height:220px;
  border-radius:26px;
  background:linear-gradient(180deg,#111827,#0b1220);
  position:absolute; left:18px; bottom:10px;
  padding:10px;
  box-shadow:0 20px 40px rgba(15,23,42,.30);
}
.phone .pscreen{width:100%; height:100%; border-radius:18px; background:linear-gradient(135deg, rgba(199,53,45,.35), rgba(11,94,215,.35)); border:1px solid rgba(255,255,255,.14)}
.section{padding:26px 0}
.section h2{margin:0 0 8px; font-size:26px; letter-spacing:-.3px}
.section p.sub{margin:0 0 18px; color:var(--muted); max-width:70ch; line-height:1.6}
.hero .hero-wrap{
  border-radius:var(--r2);
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(11,94,215,.22), transparent 55%),
    radial-gradient(1000px 600px at 90% 15%, rgba(199,53,45,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
  border:1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow);
  padding:24px;
}
.hero .sub{margin:0; color:var(--muted); line-height:1.6; max-width:74ch}
.filters{display:flex; gap:10px; flex-wrap:wrap; margin-top:14px}
.chip{display:inline-flex; align-items:center; padding:10px 12px; border-radius:999px; border:1px solid rgba(15,23,42,.10); background:rgba(255,255,255,.65); font-weight:900; color:var(--muted)}
.chip.active{background:rgba(199,53,45,.10); border-color:rgba(199,53,45,.20); color:var(--accent)}
.grid{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.thumb,
.proj-thumb{
  aspect-ratio: 16 / 10;
  height:auto;
  min-height:160px;
  border-radius:14px;
  background:
    radial-gradient(360px 120px at 20% 20%, rgba(11,94,215,.35), transparent 55%),
    radial-gradient(320px 140px at 80% 30%, rgba(199,53,45,.26), transparent 55%),
    linear-gradient(180deg, rgba(15,23,42,.18), rgba(15,23,42,.06));
  border:1px solid rgba(15,23,42,.08);
  position:relative;
  overflow:hidden;
}
.thumb.has-image,
.proj-thumb.has-image{
  background-size:cover;
  background-position:center top;
  background-repeat:no-repeat;
}
.pad{padding:14px}
.bul{margin:10px 0 0; padding:0; list-style:none; display:grid; gap:8px}
.bul li{display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-weight:650}
.dot{width:18px;height:18px;border-radius:6px;background:rgba(11,94,215,.12); border:1px solid rgba(11,94,215,.20); flex:0 0 18px; margin-top:1px}
.actions{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px}
.grid3{display:grid; grid-template-columns:repeat(3,1fr); gap:16px}
.grid2{display:grid; grid-template-columns:repeat(2,1fr); gap:16px}
.card{background:var(--card); border:1px solid rgba(15,23,42,.10); border-radius:18px; box-shadow:var(--shadow2)}
.card.pad{padding:16px}
.proj-thumb:after,
.thumb:after{
  content:""; position:absolute; inset:0;
  background:linear-gradient(180deg, rgba(0,0,0,.18), transparent 55%);
  opacity:.35;
}
.case-thumb{
  aspect-ratio: 16 / 10;
  width: 100%;
  overflow: hidden;
  border-radius: 14px;
  background:#f1f5f9;
}
.case-thumb.has-image{
  background-size:cover;
  background-position:center top;
  background-repeat:no-repeat;
}
.case-thumb--hero{
  border-radius:18px;
}
.case-card{
  display:flex;
  flex-direction:column;
  height:100%;
  transition: transform .25s ease, box-shadow .25s ease;
}
.case-card:hover{
  transform: translateY(-4px);
  box-shadow: 0 20px 40px rgba(15,23,42,.12);
}
.case-card .case-body{
  flex:1;
  display:flex;
  flex-direction:column;
}
.case-card .actions,
.case-card .card-actions{
  margin-top:auto;
}
.hero-image.case-thumb{
  height:auto;
  background-position:center top;
}
.card h3{margin:12px 0 6px; font-size:18px}
.meta{color:var(--muted); font-weight:750; font-size:13px}
.list{margin:10px 0 0; padding:0; list-style:none; display:grid; gap:8px}
.list li{display:flex; gap:10px; align-items:flex-start; color:var(--muted); font-weight:650}
.check{width:18px; height:18px; border-radius:6px; background:rgba(11,94,215,.12); border:1px solid rgba(11,94,215,.20); display:inline-flex; align-items:center; justify-content:center; flex:0 0 18px; margin-top:1px}
.check:before{content:"✓"; font-weight:900; font-size:12px; color:var(--accent2)}
.card-actions{display:flex; gap:10px; margin-top:12px; flex-wrap:wrap}
.step{display:flex; gap:12px; align-items:flex-start}
.step .num{width:34px;height:34px;border-radius:12px;background:rgba(199,53,45,.10); border:1px solid rgba(199,53,45,.18); color:var(--accent); font-weight:950; display:flex; align-items:center; justify-content:center}
.quote{display:flex; gap:12px; align-items:flex-start}
.avatar{width:44px;height:44px;border-radius:14px;background:linear-gradient(135deg, rgba(11,94,215,.35), rgba(199,53,45,.28)); border:1px solid rgba(15,23,42,.10)}
.quote p{margin:0; color:var(--muted); line-height:1.55}
.quote b{display:block; margin-top:6px; color:var(--text)}
.cta-band{
  margin-top:18px;
  border-radius:22px;
  background:
    radial-gradient(900px 300px at 10% 0%, rgba(11,94,215,.22), transparent 60%),
    radial-gradient(900px 300px at 90% 0%, rgba(199,53,45,.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.50));
  border:1px solid rgba(15,23,42,.10);
  box-shadow:var(--shadow);
  padding:18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.cta-band h3{margin:0; font-size:18px}
.cta-band p{margin:4px 0 0; color:var(--muted)}
.contact-hero .hero-wrap{
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(11,94,215,.20), transparent 55%),
    radial-gradient(1000px 600px at 90% 15%, rgba(199,53,45,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
}
.services-hero .hero-wrap{
  background:
    radial-gradient(1200px 600px at 15% 10%, rgba(11,94,215,.20), transparent 55%),
    radial-gradient(1000px 600px at 90% 15%, rgba(199,53,45,.18), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.85), rgba(255,255,255,.55));
}
.row2{display:grid; grid-template-columns:1fr 1fr; gap:10px}
select{
  width:100%; padding:12px 12px; border-radius:14px;
  border:1px solid rgba(15,23,42,.12); background:rgba(255,255,255,.85);
  font-weight:750; outline:none;
}
.plan{
  border-radius:20px; overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:var(--shadow2);
  background:#fff;
}
.plan .top{padding:16px; color:#fff; background:linear-gradient(180deg,#111827,#0b1220)}
.plan .top.blue{background:linear-gradient(180deg,#0b5ed7,#084fb5)}
.plan .top.green{background:linear-gradient(180deg,#0f766e,#0b5a54)}
.plan .top.red{background:linear-gradient(180deg,#d6473f,#b92f28)}
.plan h3{margin:0 0 6px}
.price{font-size:28px; font-weight:950}
.plan .body{padding:16px}
.services-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit, minmax(280px,1fr));
  gap:20px;
  margin-top:24px;
}
.services-head{ margin-bottom:14px; }
.services-head h2{ margin:0 0 6px; font-size:30px; letter-spacing:-.6px; }
.services-head .meta{ max-width:78ch; }
.pricing{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:16px;
}
.price-card{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
  transition:.18s transform,.18s box-shadow;
}
.price-card:hover{
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}
.price-top{
  padding:16px 16px 14px;
  color:#fff;
  background:
    radial-gradient(600px 160px at 10% 0%, rgba(255,255,255,.18), transparent 60%),
    linear-gradient(180deg, #111827, #0b1220);
}
.price-top.blue{ background:
  radial-gradient(600px 160px at 10% 0%, rgba(255,255,255,.18), transparent 60%),
  linear-gradient(180deg, #0b5ed7, #084fb5); }
.price-top.green{ background:
  radial-gradient(600px 160px at 10% 0%, rgba(255,255,255,.18), transparent 60%),
  linear-gradient(180deg, #0f766e, #0b5a54); }
.price-top.red{ background:
  radial-gradient(600px 160px at 10% 0%, rgba(255,255,255,.18), transparent 60%),
  linear-gradient(180deg, #d6473f, #b92f28); }
.price-top.purple{ background:
  radial-gradient(600px 160px at 10% 0%, rgba(255,255,255,.18), transparent 60%),
  linear-gradient(180deg, #7c3aed, #5b21b6); }
.price-top h3{ margin:0 0 6px; font-size:20px; letter-spacing:-.2px; }
.price-top .who{ opacity:.92; font-weight:850; }
.price-row{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-top:10px;
  gap:10px;
}
.price{ font-size:30px; font-weight:950; line-height:1; }
.price small{ font-size:13px; font-weight:900; opacity:.9; }
.period{
  font-size:12px; font-weight:900; opacity:.95;
  padding:7px 10px; border-radius:999px;
  background:rgba(255,255,255,.16);
  border:1px solid rgba(255,255,255,.18);
}
.badge{
  position:absolute; top:12px; right:12px;
  padding:8px 10px;
  border-radius:999px;
  font-size:12px;
  font-weight:950;
  color:#0f172a;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(255,255,255,.45);
  box-shadow:0 10px 20px rgba(15,23,42,.18);
}
.badge.hot{ background:linear-gradient(180deg,#fff,rgba(255,255,255,.88)); }
.badge.best{ color:#0b5ed7; }
.price-body{ padding:16px; }
.desc{ margin:0 0 12px; color:var(--muted); font-weight:800; line-height:1.55; }
.features{
  margin:0; padding:0;
  list-style:none;
  display:grid; gap:9px;
}
.features li{
  display:flex; gap:10px; align-items:flex-start;
  color:var(--muted); font-weight:750;
}
.ic{
  width:18px;height:18px;border-radius:6px;
  display:inline-flex; align-items:center; justify-content:center;
  flex:0 0 18px; margin-top:1px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(15,23,42,.04);
}
.ic.ok{
  background:rgba(11,94,215,.12);
  border-color:rgba(11,94,215,.20);
}
.ic.ok::before{ content:"✓"; font-weight:950; font-size:12px; color:var(--accent2); }
.ic.no{
  background:rgba(199,53,45,.10);
  border-color:rgba(199,53,45,.18);
}
.ic.no::before{ content:"–"; font-weight:950; font-size:14px; color:var(--accent); }
.divline{
  height:1px; background:rgba(15,23,42,.08);
  margin:14px 0;
}
.price-actions{
  display:flex; gap:10px; flex-wrap:wrap;
}
.btn.full{ width:100%; justify-content:center; }
.promo{
  border-radius:22px;
  background:
    radial-gradient(900px 300px at 10% 0%, rgba(11,94,215,.18), transparent 60%),
    radial-gradient(900px 300px at 90% 0%, rgba(199,53,45,.16), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.55));
  border:1px solid rgba(15,23,42,.10);
  box-shadow: var(--shadow);
  padding:18px;
  display:flex; align-items:center; justify-content:space-between; gap:12px; flex-wrap:wrap;
  margin-top:16px;
}
.addons{
  margin-top:16px;
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:16px;
}
.addon{
  border-radius:18px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.82);
  box-shadow: var(--shadow2);
}
.addon .head{
  padding:14px 16px;
  border-bottom:1px solid rgba(15,23,42,.08);
  display:flex; justify-content:space-between; align-items:baseline; gap:12px;
}
.addon .head b{ font-size:16px; letter-spacing:-.2px; }
.addon .head span{ color:var(--muted); font-weight:900; }
.addon .body{ padding:14px 16px; }
.addon .body .meta{ margin:0 0 10px; }
.service-card{
  border-radius:22px;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 10px 25px rgba(15,23,42,.08);
  background:#fff;
  overflow:hidden;
  display:flex;
  flex-direction:column;
  transition:0.2s transform, 0.2s box-shadow;
}
.service-card:hover{
  transform:translateY(-4px);
  box-shadow:0 18px 45px rgba(15,23,42,.12);
}
.service-top{
  padding:18px;
  color:#fff;
}
.service-top h3{
  margin:0;
  font-size:20px;
  font-weight:900;
  letter-spacing:-0.3px;
}
.service-blue{background:linear-gradient(180deg,#0b5ed7,#084fb5)}
.service-red{background:linear-gradient(180deg,#d6473f,#b92f28)}
.service-green{background:linear-gradient(180deg,#0f766e,#0b5a54)}
.service-yellow{background:linear-gradient(180deg,#f59e0b,#d97706)}
.service-purple{background:linear-gradient(180deg,#7c3aed,#5b21b6)}
.service-body{
  padding:16px;
  display:flex;
  flex-direction:column;
  flex:1;
}
.service-body p{
  margin:0;
  font-size:15.7px;
  font-weight:750;
  color:var(--muted);
  line-height:1.56;
}
.service-actions{margin-top:auto}
.service-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:10px 14px;
  border-radius:14px;
  font-weight:900;
  font-size:14px;
  border:1px solid rgba(15,23,42,.10);
  background:#fff;
  color:var(--text);
  box-shadow:0 8px 20px rgba(15,23,42,.08);
  transition:.18s transform, .18s box-shadow;
}
.service-btn:hover{
  transform:translateY(-1px);
  box-shadow:0 14px 28px rgba(15,23,42,.12);
}
.service-icon{
  width:28px;
  height:28px;
  margin-bottom:8px;
  display:block;
}
.kpis{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.kpis .kpi{
  border-radius:16px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.65);
  padding:14px;
  min-width:auto;
}
.kpis .kpi b{display:block; font-size:22px}
.kpis .kpi span{color:var(--muted); font-weight:900; font-size:13px}
.shots{display:grid; grid-template-columns:repeat(3,1fr); gap:12px}
.shot{height:170px; border-radius:16px; border:1px solid rgba(15,23,42,.10); background:
  radial-gradient(360px 120px at 20% 20%, rgba(11,94,215,.30), transparent 55%),
  radial-gradient(320px 140px at 80% 30%, rgba(199,53,45,.22), transparent 55%),
  linear-gradient(180deg, rgba(15,23,42,.16), rgba(15,23,42,.06));
  box-shadow:var(--shadow2);
}
.shot.has-image{
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
}
.shot.has-image{ cursor:pointer; }
.gallery-lightbox{
  position:fixed;
  inset:0;
  background:rgba(15,23,42,.75);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:200;
  padding:24px;
}
.gallery-lightbox.glb-open{ display:flex; }
.gallery-lightbox .glb-image{
  max-width:min(1100px, 92vw);
  max-height:84vh;
  width:auto;
  height:auto;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.15);
  box-shadow:0 24px 60px rgba(0,0,0,.35);
  background:#fff;
}
.gallery-lightbox .glb-btn{
  position:absolute;
  border:1px solid rgba(255,255,255,.25);
  background:rgba(15,23,42,.65);
  color:#fff;
  font-weight:900;
  width:40px;
  height:40px;
  border-radius:12px;
  cursor:pointer;
}
.gallery-lightbox .glb-close{ top:20px; right:20px; }
.gallery-lightbox .glb-prev{ left:20px; }
.gallery-lightbox .glb-next{ right:20px; }
.cta{
  border-radius:22px;
  background:
    radial-gradient(900px 300px at 10% 0%, rgba(11,94,215,.22), transparent 60%),
    radial-gradient(900px 300px at 90% 0%, rgba(199,53,45,.22), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.78), rgba(255,255,255,.50));
  border:1px solid rgba(15,23,42,.10);
  box-shadow:var(--shadow);
  padding:18px;
}
.hero-image{
  width:100%;
  height:240px;
  border-radius:18px;
  background-size:cover;
  background-position:center;
  background-repeat:no-repeat;
  border:1px solid rgba(15,23,42,.10);
}
form{display:grid; gap:10px}
input, textarea{
  width:100%; padding:12px 12px; border-radius:14px;
  border:1px solid rgba(15,23,42,.12); background:rgba(255,255,255,.80);
  font-weight:750; outline:none;
}
textarea{min-height:110px; resize:vertical}
.footer{
  margin-top:24px;
  padding:28px 0 18px;
  background:rgba(255,255,255,.55);
  border-top:1px solid rgba(15,23,42,.08);
}
.site-footer{padding:26px 0 34px}
.footer-card{
  position:relative;
  border-radius:22px;
  overflow:hidden;
  border:1px solid rgba(15,23,42,.10);
  box-shadow:0 18px 45px rgba(15,23,42,.10);
  background:#fff;
}
.footer-card::before{
  content:"";
  position:absolute; inset:0;
  background:var(--rdlab-footer-bg, url("assets/footer/footer-bg.jpg")) center/cover no-repeat;
  transform:scale(1.02);
  z-index:0;
}
.footer-card::after{
  content:"";
  position:absolute; inset:0;
  background:
    radial-gradient(900px 420px at 10% 0%, rgba(11,94,215,.22), transparent 60%),
    radial-gradient(900px 420px at 90% 0%, rgba(199,53,45,.20), transparent 60%),
    linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.45));
  z-index:0;
}
.footer-inner{position:relative; z-index:1}
.footer-hero{
  display:grid;
  grid-template-columns:1.1fr .9fr;
  gap:18px;
  padding:34px 34px 18px;
  align-items:center;
}
.footer-hero h2{margin:0 0 8px; font-size:40px; letter-spacing:-.7px}
.footer-hero p{
  margin:0;
  color:var(--muted);
  font-weight:750;
  line-height:1.55;
  max-width:52ch;
}
.footer-hero .cta-actions{margin-top:16px; display:flex; gap:10px; flex-wrap:wrap}
.footer-hero-media{
  position:relative;
  min-height:210px;
  display:flex;
  align-items:flex-end;
  justify-content:flex-end;
}
.footer-hero-media img{
  max-width:100%;
  height:auto;
  display:block;
  filter:drop-shadow(0 18px 40px rgba(15,23,42,.25));
}
.footer-hero-media .device-laptop{width:min(520px, 100%); border-radius:16px}
.footer-hero-media .device-phone{
  position:absolute;
  left:6%;
  bottom:6%;
  width:145px;
  border-radius:22px;
}
.footer-main{
  background:rgba(255,255,255,.35);
  backdrop-filter:blur(6px);
  border-top:1px solid rgba(15,23,42,.08);
  border-bottom:1px solid rgba(15,23,42,.08);
  padding:18px 28px;
}
.footer-grid{
  display:grid;
  grid-template-columns:1.1fr 1fr 1fr 1.35fr;
  gap:18px;
  align-items:start;
}
.footer-brand{
  font-weight:950;
  font-size:26px;
  letter-spacing:-.4px;
}
.footer-brand span{color:var(--muted); font-weight:900; font-size:22px}
.footer-col h3{margin:2px 0 10px; font-size:18px; letter-spacing:-.2px}
.footer-links{
  margin:0; padding:0; list-style:none;
  display:grid; gap:10px;
}
.footer-links a{
  display:flex; align-items:center; gap:10px;
  color:var(--muted);
  font-weight:850;
}
.footer-links a:hover{color:var(--text)}
.footer-links a::before{
  content:"›";
  font-weight:950;
  color:rgba(15,23,42,.55);
}
.footer-contact{
  display:grid; gap:12px;
  color:var(--muted);
  font-weight:850;
}
.footer-contact .line{display:flex; align-items:center; gap:10px}
.ico{
  width:22px; height:22px;
  display:inline-flex; align-items:center; justify-content:center;
}
.ico svg{width:22px; height:22px; display:block}
.footer-mini{
  margin-top:10px;
  display:flex; gap:10px; align-items:center; flex-wrap:wrap;
  color:rgba(71,85,105,.95);
  font-weight:850;
  font-size:13px;
}
.footer-mini .mini-social{display:flex; gap:10px; align-items:center}
.mini-social a{
  width:22px; height:22px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:8px;
  background:rgba(15,23,42,.06);
  border:1px solid rgba(15,23,42,.10);
}
.footer-bottom{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 22px;
  background:rgba(255,255,255,.25);
  backdrop-filter:blur(6px);
}
.footer-bottom .legal{
  color:rgba(71,85,105,.95);
  font-weight:850;
  display:flex; gap:12px; flex-wrap:wrap;
}
.footer-bottom .legal a{color:rgba(71,85,105,.95)}
.footer-bottom .legal a:hover{color:var(--text)}
.footer-social{
  display:flex; gap:10px; align-items:center;
}
.footer-social a{
  width:34px; height:34px;
  display:inline-flex; align-items:center; justify-content:center;
  border-radius:10px;
  background:rgba(15,23,42,.15);
  border:1px solid rgba(15,23,42,.18);
}
.footer-social a svg{width:18px; height:18px}
.footgrid{display:grid; grid-template-columns:1.2fr 1fr 1fr 1.2fr; gap:14px}
.footgrid h4{margin:0 0 10px; font-size:13px; letter-spacing:.2px; color:var(--muted); text-transform:uppercase}
.footgrid a, .footgrid div{color:var(--muted); font-weight:750; display:block; padding:6px 0}
.footgrid a:hover{color:var(--text)}
.legal{margin-top:14px; padding-top:12px; border-top:1px solid rgba(15,23,42,.08); display:flex; justify-content:space-between; gap:10px; flex-wrap:wrap; color:var(--muted); font-weight:700}
.tag{display:inline-flex; padding:6px 10px; border-radius:999px; background:rgba(15,23,42,.04); border:1px solid rgba(15,23,42,.08); color:var(--muted); font-weight:800; font-size:12px}
.mobile-panel{
  display:none;
  position:fixed; inset:74px 16px auto 16px;
  background:rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  box-shadow: 0 18px 45px rgba(15,23,42,.10);
  padding:10px;
  z-index:95;
}
.mobile-panel a{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 12px;
  border-radius:14px;
  font-weight:950;
  color:rgba(71,85,105,.98);
}
.mobile-panel a:hover{ background:rgba(15,23,42,.05); color:var(--text); }
.mobile-panel .cta-row{ margin-top:6px; display:flex; gap:10px; flex-wrap:wrap; }

@media (max-width: 1060px){
  .chips{ display:none; }
}
@media (max-width: 980px){
  .hero-grid{grid-template-columns:1fr; padding:22px}
  h1{font-size:36px}
  .grid{grid-template-columns:1fr}
  .grid3{grid-template-columns:1fr}
  .grid2{grid-template-columns:1fr}
  .row2{grid-template-columns:1fr}
  .kpis{grid-template-columns:1fr}
  .shots{grid-template-columns:1fr}
  .footer-hero{grid-template-columns:1fr; padding:22px 18px 10px}
  .footer-hero h2{font-size:30px}
  .footer-hero-media{min-height:180px; justify-content:center}
  .footer-hero-media .device-phone{left:10%; width:120px}
  .footer-main{padding:14px 18px}
  .footer-grid{grid-template-columns:1fr}
  .footer-bottom{flex-direction:column; align-items:flex-start}
  .footgrid{grid-template-columns:1fr 1fr}
  .nav-pill{ display:none; }
  .hamb{ display:inline-flex; }
}

/* PATCH: ensure container + alignment */
.container{
  max-width:1120px;
  margin:0 auto;
  padding:0 18px;
}
.header{
  position:sticky; top:0; z-index:90;
  background:rgba(238,242,247,.70);
  backdrop-filter: blur(16px);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 0;
}
.brand{ display:flex; align-items:center; gap:12px; white-space:nowrap; }
.brand-title{ display:flex; flex-direction:column; line-height:1.05; }
.brand-title strong{ font-weight:950; letter-spacing:-.2px; }
.brand-title small{ margin-top:4px; font-size:12px; font-weight:850; color:rgba(71,85,105,.95); }
.nav-pill{ flex:0 0 auto; }
.header-right{ display:flex; align-items:center; gap:10px; white-space:nowrap; }
@media (min-width: 981px){
  .nav-pill{ margin:0 auto; }
}
@media (max-width: 1060px){
  .chips{ display:none; }
}
@media (max-width: 980px){
  .nav-pill{ display:none; }
  .hamb{ display:inline-flex; }
}

/* =========================
   Header v4 CLEAN (premium)
   ========================= */
.header--clean{
  position:sticky; top:0; z-index:90;
  background:rgba(238,242,247,.70);
  backdrop-filter: blur(16px);
  border-bottom:1px solid rgba(15,23,42,.06);
}
.header--clean .header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:18px;
  padding:14px 0;
}
.brand--logo-only{
  display:flex;
  align-items:center;
  min-width:64px;
}
.brand-logo{
  height:34px;
  width:auto;
  display:block;
  object-fit:contain;
}
.brand-mark{
  width:40px;height:40px;border-radius:14px;
  background:linear-gradient(135deg,#0b5ed7,#c7352d);
  box-shadow:0 14px 26px rgba(15,23,42,.14);
}
.header--clean .nav-pill{
  margin:0 auto;
  display:flex; align-items:center; gap:6px;
  padding:8px;
  border-radius:18px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.62);
  box-shadow:0 10px 25px rgba(15,23,42,.06);
}
.header--clean .nav-pill a{
  position:relative;
  padding:10px 12px;
  border-radius:14px;
  font-weight:900;
  color:rgba(71,85,105,.98);
  transition:.18s background,.18s color,.18s transform;
}
.header--clean .nav-pill a:hover{
  background:rgba(15,23,42,.05);
  color:var(--text);
  transform:translateY(-.5px);
}
.header--clean .nav-pill a.active{
  background:rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.08);
  color:var(--text);
}
.header--clean .nav-pill a.active::after{
  content:"";
  position:absolute;
  left:12px; right:12px; bottom:6px;
  height:3px; border-radius:999px;
  background:linear-gradient(90deg, rgba(11,94,215,.95), rgba(199,53,45,.95));
  opacity:.95;
}
.header-right--clean{
  display:flex;
  align-items:center;
  gap:10px;
  white-space:nowrap;
}
.header-right--clean{
  flex-shrink:0;
}
.btn.ghost{
  background:rgba(255,255,255,.55);
  border:1px solid rgba(15,23,42,.10);
}
.hamb{ display:none; }
.mobile-panel{
  display:none;
  position:fixed; inset:74px 16px auto 16px;
  background:rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border:1px solid rgba(15,23,42,.10);
  border-radius:18px;
  box-shadow: 0 18px 45px rgba(15,23,42,.10);
  padding:10px;
  z-index:95;
}
.mobile-panel.is-open{ display:block; }
.mobile-panel a{
  display:flex; align-items:center; justify-content:space-between;
  padding:12px 12px;
  border-radius:14px;
  font-weight:950;
  color:rgba(71,85,105,.98);
}
.mobile-panel a:hover{ background:rgba(15,23,42,.05); color:var(--text); }
.mobile-panel .cta-row{ margin-top:6px; display:flex; gap:10px; flex-wrap:wrap; }
@media (max-width: 980px){
  .header--clean .nav-pill{ display:none; }
  .lang{ display:none; }
  .hamb{ display:inline-flex !important; }
  .header-right--clean .btn{ display:none; }
  .header-right--clean{ gap:0; }
  .header--clean .header-inner{ gap:8px; }
  .header--clean .brand-logo{ height:30px; }
  .pricing{ grid-template-columns:1fr; }
  .addons{ grid-template-columns:1fr; }
}

/* === ALIGN PATCH: logo flush left, nav truly centered === */
.header--clean .header-inner{
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 14px 0;
}
.header--clean .brand--logo-only{
  margin: 0;
  padding: 0;
  min-width: auto;
}
.header--clean .nav-pill{
  position: static;
  transform: none;
  margin: 0 18px 0 0;
}
.header--clean .header-right--clean{
  margin-left: auto;
}
.header--clean .brand-logo{
  height: 36px;
  width: auto;
}
.header--clean .brand--logo-only{
  margin:0;
  padding:0;
}
.header--clean .brand--logo-only .custom-logo-link{
  display:flex;
  align-items:center;
  margin:0;
}
.header--clean .brand--logo-only .custom-logo{
  margin:0;
}

.lang-switch{
  display:flex;
  align-items:center;
  gap:6px;
  font-weight:900;
  font-size:13px;
  color:rgba(71,85,105,.9);
}
.lang-switch a{ opacity:.7; }
.lang-switch a:hover{ opacity:1; }
.lang-switch a.active{
  opacity:1;
  text-decoration:underline;
}
.lang{
  display:flex;
  align-items:center;
  gap:8px;
  padding:8px 10px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.55);
  box-shadow:0 10px 22px rgba(15,23,42,.05);
}
.lang-item{
  font-weight:950;
  font-size:12px;
  letter-spacing:.6px;
  color:rgba(71,85,105,.95);
  opacity:.75;
  padding:6px 8px;
  border-radius:10px;
}
.lang-item:hover{ opacity:1; background:rgba(15,23,42,.05); }
.lang-item.active{
  opacity:1;
  color:var(--text);
  background:rgba(255,255,255,.92);
  border:1px solid rgba(15,23,42,.08);
}
.lang-sep{
  color:rgba(71,85,105,.45);
  font-weight:900;
}
.mobile-lang{
  display:flex;
  gap:8px;
  padding:8px;
  border-radius:14px;
  border:1px solid rgba(15,23,42,.10);
  background:rgba(255,255,255,.75);
  margin-bottom:10px;
}
.mobile-lang a{
  flex:1;
  text-align:center;
  padding:10px 8px;
  border-radius:12px;
  font-weight:950;
  color:rgba(71,85,105,.95);
  border:1px solid rgba(15,23,42,.08);
  background:rgba(255,255,255,.92);
}
.mobile-lang a.active{
  color:var(--text);
  border-color:rgba(11,94,215,.22);
  background:linear-gradient(180deg, rgba(11,94,215,.12), rgba(11,94,215,.06));
}

@media (min-width: 981px){
  .header--clean .nav-pill{
    background:#ffffff;
    border:1px solid rgba(15,23,42,.12);
  }
  .header--clean .nav-pill a{
    background:#ffffff;
  }
  .header--clean .nav-pill a:hover{
    background:#f3f6fb;
  }
  .header--clean .nav-pill a.active{
    background:#ffffff;
  }
  .header--clean{
    transition: background .25s ease, border-color .25s ease, backdrop-filter .25s ease;
  }
  .header--clean .brand--logo-only{
    transition: opacity .25s ease, transform .25s ease, width .25s ease, margin .25s ease;
    overflow:hidden;
  }
  .header--clean .nav-pill,
  .header--clean .header-right--clean{
    transition: transform .25s ease, box-shadow .25s ease;
  }
  .header--clean.header-scrolled{
    background:transparent;
    border-bottom-color:transparent;
    backdrop-filter:none;
    box-shadow:none;
  }
  .header--clean.header-scrolled .brand--logo-only{
    opacity:0;
    width:0;
    margin:0;
    transform:translateY(-8px);
    pointer-events:none;
  }
  .header--clean.header-scrolled .nav-pill,
  .header--clean.header-scrolled .header-right--clean{
    transform:translateY(-2px);
  }
}

.case-thumb{ aspect-ratio:16/10; overflow:hidden; border-radius:14px; }
.case-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center top;
  display:block;
}

@media (max-width: 980px){
  body{ font-size:16px; }
  h1{ font-size:32px; line-height:1.1; }
  .section h2{ font-size:23px; }
  .meta{ font-size:14px; }
  .btn{ font-size:16px; }
  .btn.small{ font-size:15px; }
  .container{ padding:0 16px !important; }
  .grid, .grid2, .grid3, .kpis, .shots{ grid-template-columns:1fr !important; }
  .grid, .grid2, .grid3{ gap:14px; }
  .section{ padding:28px 0; }
  .card, .hero-wrap, .cta-band, .promo, .price-card, .addon, .footer-card{ border-radius:18px; }
  .hero-grid{ grid-template-columns:1fr; padding:20px; }
  .hero-cta{ flex-direction:column; }
  .hero-cta .btn{ width:100%; }
  .hero-media-image,
  .hero-media-placeholder{ display:none; }
  .footer-hero-media{ display:none; }
  .proof{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:10px;
  }
  .kpi{ min-width:auto; }
  .card-actions, .actions{ flex-direction:column; align-items:stretch; }
  .filters{
    overflow-x:auto;
    flex-wrap:nowrap;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px;
  }
  .chip{ white-space:nowrap; }
  .mobile-panel{
    max-height:calc(100vh - 90px);
    overflow:auto;
    -webkit-overflow-scrolling:touch;
  }
  .header--clean .header-inner{ padding:10px 0; }
  .header--clean .brand-logo{ height:32px; }
  .header--clean .header-right--clean{ gap:8px; }
  .price-card .features li:nth-child(n+6){ display:none; }
  .price-card.features-open .features li{ display:flex; }
  .features-toggle{ width:100%; }
  .promo{ flex-direction:column; align-items:flex-start; }
  .promo .btn{ width:100%; }
  .cta{ flex-direction:column; }
  .cta .btn{ width:100%; }
  .gallery-more{ width:100%; }
  .case-tags{ max-height:3.2em; overflow:hidden; }
  .grid .card .meta,
  .grid3 .card .meta{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
  .grid .card h3,
  .grid3 .card h3{
    display:-webkit-box;
    -webkit-box-orient:vertical;
    -webkit-line-clamp:2;
    overflow:hidden;
  }
}

@media (max-width: 980px){
  .brief-body{ display:none; }
  .brief-body.is-open{ display:block; }
  .brief-toggle{ width:100%; }
}

.wa-sticky{
  position:fixed;
  right:16px;
  bottom:16px;
  z-index:140;
  display:none;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 14px;
  border-radius:999px;
  background:#25D366;
  color:#fff;
  font-weight:900;
  font-size:14px;
  box-shadow:0 14px 28px rgba(15,23,42,.22);
}
.wa-sticky:hover{ filter:brightness(0.95); }
@media (max-width: 980px){
  .wa-sticky{ display:inline-flex; }
}
