:root{
  --bg:#ffffff;
  --fg:#121212;
  --muted:#6b7280;
  --border:#e5e7eb;
  --card:#ffffff;
  --shadow: 0 10px 30px rgba(0,0,0,.08);
  --radius:18px;

  --brand:#111827;
  --brand-2:#0f172a;
  --accent:#111827;

  --hero-dark:#12100d;
  --hero-dark-2:#1a1712;
  --btn:#111827;
  --btn-fg:#ffffff;

  --container: 1120px;
}

*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, "Noto Sans", Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--fg);
  background:var(--bg);
  line-height:1.55;
}

a{ color:inherit; text-decoration:none; }
a:hover{ text-decoration:underline; }
img{ max-width:100%; height:auto; display:block; }

.container{
  width:min(var(--container), calc(100% - 2*20px));
  margin:0 auto;
}

.muted{ color:var(--muted); }
.hidden{ display:none !important; }

/* Header */
.site-header{
  position:sticky;
  top:0;
  z-index:50;
  background:rgba(255,255,255,.86);
  backdrop-filter: blur(10px);
  border-bottom:1px solid rgba(229,231,235,.75);
}
.site-header.on-hero{
  position:absolute;
  top:0;
  left:0; right:0;
  background:transparent;
  backdrop-filter:none;
  border-bottom:1px solid rgba(255,255,255,.18);
}
.header-inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 0;
}
.brand{
  display:flex;
  gap:10px;
  align-items:center;
  font-weight:700;
  letter-spacing:.2px;
}
.brand-mark{
  width:34px; height:34px;
  border-radius:12px;
  background:linear-gradient(135deg, #111827, #3f3f46);
  position:relative;
  box-shadow: 0 10px 22px rgba(0,0,0,.14);
}
.site-header.on-hero .brand-text{ color:#fff; }
.site-header.on-hero .brand-mark{ background:linear-gradient(135deg, #fff, #e5e7eb); box-shadow:none; }
.site-header.on-hero .brand-mark::after{
  content:"";
  position:absolute;
  inset:10px;
  border-radius:6px;
  background:#111;
  opacity:.9;
}

.site-nav{
  display:flex;
  gap:16px;
  align-items:center;
}
.site-header.on-hero .site-nav a{ color:rgba(255,255,255,.92); }
.site-nav a{
  padding:10px 10px;
  border-radius:12px;
  color:var(--fg);
  opacity:.9;
}
.site-nav a.btn{ color:var(--btn-fg); opacity:1; }

.site-nav a.active{
  background:rgba(17,24,39,.06);
  opacity:1;
}
.site-header.on-hero .site-nav a.active{
  background:rgba(255,255,255,.12);
}
.site-nav .btn{ margin-left:6px; }

/* Mobile nav toggle */
.nav-toggle{
  display:none;
  width:42px; height:42px;
  border:1px solid rgba(229,231,235,.9);
  background:rgba(255,255,255,.8);
  border-radius:14px;
  padding:10px;
  cursor:pointer;
}
.site-header.on-hero .nav-toggle{
  border:1px solid rgba(255,255,255,.25);
  background:rgba(0,0,0,.18);
}
.nav-toggle span{
  display:block;
  height:2px;
  background:var(--fg);
  margin:5px 0;
  border-radius:2px;
}
.site-header.on-hero .nav-toggle span{ background:#fff; }

/* Buttons */
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  padding:12px 18px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.18);
  background:var(--btn);
  color:var(--btn-fg);
  text-decoration:none !important;
  cursor:pointer;
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
}
.btn:hover{ filter:brightness(.96); }
.btn-ghost{
  background:transparent;
  color:var(--fg);
  box-shadow:none;
}
.site-header.on-hero .btn-ghost{ color:#fff; border-color:rgba(255,255,255,.25); }
.btn-outline{
  background:transparent;
  color:var(--fg);
  box-shadow:none;
}
.site-header.on-hero .btn-outline{ color:#fff; border-color:rgba(255,255,255,.3); }
.btn-sm{ padding:10px 14px; font-size:14px; }

/* Hero */
.hero{
  min-height: 78vh;
  display:grid;
  grid-template-columns: 1.05fr 1.25fr;
  align-items:stretch;
}
.hero-left{
  background:linear-gradient(180deg, var(--hero-dark), var(--hero-dark-2));
  color:#fff;
  padding:120px 0 70px;
  position:relative;
  overflow:hidden;
}
.hero-left::after{
  content:"";
  position:absolute;
  inset:-40px -120px auto auto;
  width:280px; height:280px;
  background:rgba(255,255,255,.06);
  border-radius:999px;
  filter:blur(0px);
}
.hero-right{
  position:relative;
  background:#111;
}
.hero-right img{
  width:100%;
  height:100%;
  object-fit:cover;
  filter:saturate(1.05) contrast(1.02);
}
.hero-content{
  width:min(520px, calc(100% - 2*20px));
  margin-left:auto;
  margin-right:auto;
}
.hero h1{
  font-size: clamp(34px, 5vw, 64px);
  line-height:1.05;
  margin:0 0 14px;
  letter-spacing:-.8px;
}
.hero p{
  margin:0 0 22px;
  color:rgba(255,255,255,.78);
  font-size:16px;
}
.hero-actions{
  display:flex;
  gap:12px;
  flex-wrap:wrap;
  margin-top:16px;
}

/* Sections */
.section{
  padding:64px 0;
}
.section-title{
  font-size:28px;
  letter-spacing:-.4px;
  margin:0 0 10px;
}
.grid-3{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}

.grid-2{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:18px;
  align-items:start;
}

/* Hero benefits */
.hero-benefits{
  margin-top:18px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:10px;
}
.benefit{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background:rgba(0,0,0,.24);
}
.benefit-icon{
  width:36px;
  height:36px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:800;
  letter-spacing:.3px;
  color:#111827;
  background:rgba(255,255,255,.95);
}
.benefit-text{
  font-size:14px;
  color:rgba(255,255,255,.92);
  line-height:1.25;
}

/* Process */
.process-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
}
.process-step{
  display:flex;
  gap:12px;
  padding:14px;
  border-radius:16px;
  border:1px solid rgba(17,24,39,.12);
  background:rgba(17,24,39,.02);
}
.step-no{
  width:34px; height:34px;
  border-radius:12px;
  display:grid;
  place-items:center;
  font-weight:800;
  color:#111827;
  background:rgba(17,24,39,.08);
  flex:0 0 auto;
}

/* FAQ */
.faq{
  display:grid;
  gap:10px;
}
.faq-item{
  border:1px solid rgba(17,24,39,.12);
  border-radius:16px;
  background:#fff;
  box-shadow: 0 10px 26px rgba(0,0,0,.06);
  overflow:hidden;
}
.faq-item summary{
  cursor:pointer;
  padding:14px 16px;
  font-weight:700;
  list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-body{
  padding:0 16px 14px;
  color:var(--muted);
  line-height:1.7;
}
.section-spacer{ height:18px; }
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  box-shadow: var(--shadow);
  overflow:hidden;
}
.card-body{ padding:18px; }
.badges{
  display:flex; flex-wrap:wrap; gap:6px;
}
.badge{
  font-size:12px;
  padding:6px 10px;
  border-radius:999px;
  border:1px solid rgba(17,24,39,.14);
  background:rgba(17,24,39,.03);
  color:rgba(17,24,39,.86);
}

/* Portfolio grid */
.portfolio-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:18px;
}
.portfolio-item .thumb{
  aspect-ratio: 4/3;
  background:#f3f4f6;
}
.portfolio-item .thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
}
.portfolio-item h3{
  margin:0;
  font-size:16px;
}
.portfolio-item button{
  width:100%;
  text-align:left;
  border:0;
  padding:0;
  background:transparent;
  cursor:pointer;
}

/* Page header */
.page-hero{
  padding:28px 0 10px;
}
.page-hero h1{
  margin:0 0 6px;
  letter-spacing:-.4px;
}
.page-hero .muted{ max-width:70ch; }

/* Footer */
.site-footer{
  border-top:1px solid var(--border);
  background:#fafafa;
  padding:40px 0 0;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.3fr 1fr 1fr;
  gap:18px;
  padding-bottom:24px;
}
.footer-title{ font-weight:700; margin-bottom:8px; }
.footer-brand{ font-weight:800; letter-spacing:-.2px; font-size:18px; }
.footer-bottom{ padding:16px 0 24px; border-top:1px solid rgba(229,231,235,.7); }

/* Cookie banner */
.cookie-banner{
  position:fixed;
  left:14px; right:14px; bottom:14px;
  z-index:100;
}
.cookie-inner{
  display:flex;
  gap:14px;
  align-items:center;
  justify-content:space-between;
  background:rgba(255,255,255,.92);
  border:1px solid rgba(229,231,235,.95);
  border-radius:18px;
  padding:14px 14px;
  box-shadow: 0 18px 50px rgba(0,0,0,.18);
  backdrop-filter: blur(10px);
}
.cookie-actions{ display:flex; gap:10px; flex-wrap:wrap; }

/* Lightbox */
.lightbox{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.82);
  display:none;
  align-items:center;
  justify-content:center;
  padding:22px;
  z-index:120;
}
.lightbox.open{ display:flex; }
.lightbox-img{
  max-width:min(1100px, 95vw);
  max-height:80vh;
  border-radius:16px;
  box-shadow: 0 20px 70px rgba(0,0,0,.55);
}
.lightbox-caption{
  position:fixed;
  bottom:18px;
  left:18px;
  right:18px;
  color:rgba(255,255,255,.88);
  text-align:center;
  font-size:14px;
}
.lightbox-close{
  position:fixed;
  top:16px;
  right:16px;
  width:44px; height:44px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.22);
  background:rgba(0,0,0,.2);
  color:#fff;
  font-size:26px;
  cursor:pointer;
}

/* Forms */
.form{
  display:grid;
  gap:12px;
  max-width:640px;
}
.input{
  width:100%;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:#fff;
  font:inherit;
}
textarea.input{ min-height:130px; resize:vertical; }

.notice{
  padding:14px 16px;
  border-radius:16px;
  border:1px solid rgba(16,185,129,.28);
  background:rgba(16,185,129,.08);
}

/* Responsive */
@media (max-width: 960px){
  .hero{ grid-template-columns: 1fr; min-height: unset; }
  .hero-left{ padding:100px 0 38px; }
  .hero-right{ min-height: 46vh; }
  .grid-3{ grid-template-columns:1fr; }
  .grid-2{ grid-template-columns:1fr; }
  .process-grid{ grid-template-columns:1fr; }
  .hero-benefits{ grid-template-columns:1fr; }
  .portfolio-grid{ grid-template-columns: repeat(2, 1fr); }
  .footer-grid{ grid-template-columns:1fr; }
  .site-header{ position:sticky; }
  .site-header.on-hero{ position:absolute; }
  .nav-toggle{ display:inline-block; }
  .site-nav{
    position:absolute;
    top:64px;
    right:20px;
    left:20px;
    display:none;
    flex-direction:column;
    align-items:stretch;
    padding:12px;
    border-radius:18px;
    border:1px solid rgba(229,231,235,.9);
    background:rgba(255,255,255,.95);
    box-shadow: 0 18px 50px rgba(0,0,0,.16);
  }
  .site-header.on-hero .site-nav{
    /* mobile dropdown on hero: make it opaque enough so text behind doesn't clash */
    background: rgba(3,7,18,.92);
    border-color: rgba(255,255,255,.18);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
  }
  .site-nav.open{ display:flex; }
  .site-header.on-hero .site-nav a{ color:#fff; }
  .site-header.on-hero .site-nav a{ text-decoration:none; }
  .site-header.on-hero .site-nav a:hover{ background: rgba(255,255,255,.10); text-decoration:none; }
  .site-header.on-hero .site-nav a.active{ background: rgba(255,255,255,.14); }
}

@media (max-width: 560px){
  .portfolio-grid{ grid-template-columns:1fr; }
  .cookie-inner{ flex-direction:column; align-items:stretch; }
  .cookie-actions{ justify-content:stretch; }
  .cookie-actions .btn{ width:100%; }
}
