:root{
  --brand_dark:#3f4956;
  --brand_accent:#faa940;
  --ink:#111827;
  --muted:#6b7280;
  --surface:#ffffff;
  --surface_alt:#f7f7f8;
  --border:#e5e7eb;
  --radius:12px;
  --shadow:0 8px 24px rgba(0,0,0,.08);
}

*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--ink);
  background:var(--surface);
  line-height:1.6;
  font-size:16px;
}

/* Layout */
.wrap{max-width:1120px;margin:0 auto;padding:0 20px}
.wrap.narrow{max-width:860px}
.centered{text-align:center}
.centered.fadeInUp{margin-top:48px}

/* Header */
.siteHeader{
  position:sticky;top:0;z-index:10;
  backdrop-filter:saturate(180%) blur(8px);
  background:rgba(255,255,255,.9);
  border-bottom:1px solid var(--border);
}
.siteHeader .wrap{display:flex;align-items:center;justify-content:space-between;height:68px}
.brand{display:flex;align-items:center;text-decoration:none;color:var(--ink)}
.brandLogo{height:40px;width:auto}
.mainNav a{
  text-decoration:none;color:#374151;margin-left:20px;font-weight:500
}
.mainNav a[aria-current="page"]{color:var(--brand_dark)}
.mainNav a:hover{color:var(--brand_dark)}

/* Header social icon */
.navSocial{display:inline-flex;align-items:center;margin-left:14px}
.navSocial svg{width:20px;height:20px;display:block;fill:#0a66c2}
.navSocial:hover svg{filter:brightness(1.1)}

/* Hero */
.hero{
  min-height:100vh;
  color:white;
  display:flex;align-items:center;
  background:#1f2937 center/cover no-repeat;
  position:relative;
  background-attachment:fixed;
  overflow:hidden;
}
.hero::before{
  content:"";position:absolute;inset:0;background:inherit;background-attachment:fixed;background-size:cover;background-position:center;transform:translateZ(0);will-change:transform
}
.hero::after{
  content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.55),rgba(0,0,0,.45));z-index:1
}
.hero .heroContent{position:relative;z-index:2;animation:fadeInUp 0.8s ease-out}
.hero h1{font-size:42px;line-height:1.15;margin:0 0 10px;animation:fadeInUp 0.8s ease-out 0.2s both}
.hero p{max-width:720px;margin:0 0 16px;font-size:18px;animation:fadeInUp 0.8s ease-out 0.3s both}
.hero p a{color:inherit;text-decoration:underline}
.hero p a:hover{opacity:.9}
.heroDescription{max-width:720px;margin-top:16px;font-size:20px;animation:fadeInUp 0.8s ease-out 0.4s both}
.hero .actions{animation:fadeInUp 0.8s ease-out 0.5s both}

/* Sections */
.section{padding:72px 0}
.section.alt{background:var(--surface_alt)}
.pageBanner{
  padding:84px 0;background:#0f172a center/cover no-repeat;color:white;position:relative
}
.pageBanner::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.35)}
.pageBanner .wrap{position:relative;z-index:1}
.pageBanner h1{font-size:48px;margin:0 0 12px}
.pageBanner p{font-size:20px;margin:0}

/* About banner taller */
.aboutBanner{min-height:64vh;background-attachment:fixed}
.aboutBanner .wrap{min-height:64vh;display:flex;flex-direction:column;justify-content:center;align-items:flex-start}

/* Buttons */
.btnPrimary,.btnGhost{
  display:inline-block;padding:12px 20px;border-radius:8px;text-decoration:none;font-weight:600;
  min-height:44px;
  display:inline-flex;align-items:center;justify-content:center;
}
.btnPrimary{background:var(--brand_accent);color:#1f2937;border:none;cursor:pointer}
.btnPrimary:hover{filter:brightness(.95)}
.btnGhost{border:1px solid rgba(255,255,255,.7);color:white;background:transparent}
.section .btnGhost{border:1px solid var(--brand_dark);color:var(--brand_dark)}
.btnGhost:hover{background:rgba(255,255,255,.1)}
.section .btnGhost:hover{background:var(--surface_alt)}
.contactTeaser .btnGhost{border:2px solid rgba(255,255,255,.9);color:white;background:rgba(255,255,255,.1);font-weight:600}
.contactTeaser .btnGhost:hover{background:rgba(255,255,255,.2);border-color:white}

/* Cards and grids */
.cardGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}
.serviceCard{
  display:block;color:white;text-decoration:none;padding:24px;height:220px;border-radius:var(--radius);
  background:#111 center/cover no-repeat;box-shadow:var(--shadow);position:relative;overflow:hidden
}
.serviceCard::after{
  content:"";position:absolute;inset:0;border-radius:var(--radius);background:linear-gradient(180deg,rgba(0,0,0,.4),rgba(0,0,0,.7))
}
.serviceCard:hover::after{
  background:linear-gradient(180deg,rgba(0,0,0,.5),rgba(0,0,0,.8))
}
.serviceCard h3{position:relative;z-index:1;margin:0 0 8px;font-size:22px;font-weight:600;text-shadow:0 2px 4px rgba(0,0,0,.5)}
.serviceCard p{position:relative;z-index:1;margin:0;max-width:46ch;font-size:15px;text-shadow:0 1px 3px rgba(0,0,0,.5)}

.workGrid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px;margin-top:32px}
.workGrid.large{grid-template-columns:repeat(3,1fr)}
.workItem{
  height:200px;border-radius:var(--radius);background:#ddd center/cover no-repeat;display:flex;align-items:end;padding:12px;color:white;box-shadow:var(--shadow);position:relative
}
.workItem::after{content:"";position:absolute;inset:0;border-radius:var(--radius);background:linear-gradient(180deg,transparent,rgba(0,0,0,.45))}
.workItem h4, .workItem h3{position:relative;z-index:1;margin:0;font-size:18px}

/* How We Work Icon Grid */
.sectionIntro{
  max-width:800px;
  margin:0 auto 48px;
  font-size:18px;
  line-height:1.7;
  color:var(--muted);
  text-align:center;
}

/* Left-align sectionIntro for About's How We Work */
#how_we_work .sectionIntro{max-width:800px;margin:0 0 48px 0;text-align:left}

.workIconGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:32px;
  margin-top:48px;
}

.workIconItem{
  text-align:left;
  padding:32px 20px;
  background:var(--surface);
  border-radius:var(--radius);
  box-shadow:var(--shadow);
  transition:transform 0.3s ease,box-shadow 0.3s ease;
}

.workIconItem:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(0,0,0,.12);
}

.workIcon{
  width:64px;
  height:64px;
  margin:0 0 20px;
  color:var(--brand_accent);
  display:flex;
  align-items:center;
  justify-content:center;
}

.workIcon svg{
  width:100%;
  height:100%;
}

.workIconItem h4{
  margin:0 0 12px;
  font-size:20px;
  color:var(--brand_dark);
  font-weight:600;
}

.workIconItem p{
  margin:0;
  color:var(--muted);
  line-height:1.6;
  font-size:15px;
}

/* How We Work Detail Section */
.howWeWorkDetail{
  margin-top:48px;
}

.howWeWorkItem{
  display:grid;
  grid-template-columns:80px 1fr;
  gap:32px;
  margin-bottom:48px;
  align-items:start;
}

.howWeWorkItem:last-child{
  margin-bottom:0;
}

.howWeWorkIcon{
  width:80px;
  height:80px;
  color:var(--brand_accent);
  background:rgba(250,169,64,.1);
  border-radius:var(--radius);
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}

.howWeWorkIcon svg{
  width:48px;
  height:48px;
}

.howWeWorkContent h3{
  margin:0 0 12px;
  font-size:28px;
  color:var(--brand_dark);
  font-weight:600;
}

.howWeWorkContent p{
  margin:0 0 16px;
  line-height:1.7;
  color:var(--ink);
  max-width:72ch;
}

.howWeWorkContent p:first-of-type{
  font-weight:500;
  color:var(--brand_dark);
  font-size:17px;
}

/* Services detail */
.serviceDetail{display:grid;grid-template-columns:1.1fr 1fr;gap:32px;margin:60px 0;align-items:center}
.serviceDetail:nth-child(even) .serviceMedia{order:2}
.serviceDetail:nth-child(even) .serviceText{order:1}
.serviceMedia{height:260px;border-radius:var(--radius);background:#ddd center/cover no-repeat;box-shadow:var(--shadow)}
.serviceText h2{margin:0 0 16px;font-size:32px}
.bullet{list-style:none;padding-left:0}
.bullet li{
  margin:8px 0;
  padding-left:24px;
  position:relative;
}
.bullet li::before{
  content:"•";
  position:absolute;
  left:0;
  color:var(--brand_accent);
  font-weight:bold;
  font-size:20px;
}

/* New Services Page Layout */
.serviceSection{
  margin-bottom:80px;
}

.serviceSection:last-child{
  margin-bottom:0;
}

.serviceHeader{
  margin-bottom:48px;
}

.serviceHeader h2{
  font-size:36px;
  margin:0 0 12px;
  color:var(--brand_dark);
}

.serviceIntro{
  font-size:18px;
  color:var(--muted);
  margin:0;
  line-height:1.6;
}

.serviceCardGrid{
  display:grid;
  grid-template-columns:repeat(3,1fr);
  gap:24px;
  margin-bottom:48px;
}

.serviceMiniCard{
  background:var(--surface);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:24px;
  text-align:center;
  box-shadow:var(--shadow);
  transition:transform 0.3s ease,box-shadow 0.3s ease;
}

.serviceMiniCard:hover{
  transform:translateY(-4px);
  box-shadow:0 12px 32px rgba(0,0,0,.12);
}

.serviceMiniIcon{
  font-size:48px;
  margin-bottom:16px;
  line-height:1;
  color:var(--brand_accent);
}
.serviceMiniIcon svg{width:48px;height:48px}

.serviceMiniCard h3{
  margin:0 0 12px;
  font-size:20px;
  color:var(--brand_dark);
  font-weight:600;
}

.serviceMiniCard p{
  margin:0;
  color:var(--muted);
  font-size:15px;
  line-height:1.6;
}

.serviceDetailGrid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
  margin-top:48px;
}

.serviceDetailGrid.threeColumns{
  grid-template-columns:repeat(3,1fr);
}

.serviceDetailColumn h3{
  margin:0 0 20px;
  font-size:24px;
  color:var(--brand_dark);
  font-weight:600;
}

.serviceDetailColumn ul{
  margin:0 0 20px;
}

.serviceDetailColumn p{
  margin:0;
  color:var(--ink);
  line-height:1.7;
  font-size:16px;
}

/* Contact teaser */
.contactTeaser{color:white;position:relative;background:#0f172a center/cover no-repeat;padding:72px 0;background-attachment:fixed;overflow:hidden}
.contactTeaser::before{content:"";position:absolute;inset:0;background:inherit;background-attachment:fixed;background-size:cover;background-position:center;transform:translateZ(0);will-change:transform;z-index:0}
.contactTeaser::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.4);z-index:1}
.contactPanel{position:relative;z-index:2}
.contactCards{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.contactCardItem{background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);border-radius:var(--radius);padding:16px;color:white;min-height:220px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:var(--shadow)}
.contactCardItem h3{margin:0 0 8px}
.contactCardItem p{margin:0 0 10px;color:#e5e7eb}
.linkOnDark{color:#ffffff;text-decoration:underline}
.logoCard{align-items:center;justify-content:center}
.logoCard img{width:160px;height:auto;opacity:.5}

/* Contact page layout */
.contactLayout{display:grid;grid-template-columns:360px 1fr;gap:28px;margin-top:32px}
.contactCard,.formCard{background:var(--surface);border:1px solid var(--border);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow)}
.contactPage .contactCard,.contactPage .formCard{background:#3f4956;color:#ffffff;border:1px solid rgba(255,255,255,.15)}
.contactPage .contactCard a,.contactPage .formCard a{color:#ffffff;text-decoration:underline}
.contactPage .contactCard hr{border:none;border-top:1px solid rgba(255,255,255,.25);margin:16px 0}
.contactItem{display:flex;gap:10px;align-items:center}
.contactItem svg{width:20px;height:20px;flex:0 0 20px;margin:0;fill:none;stroke:#ffffff;stroke-width:2}
.contactItem .linkedinIcon{fill:#0a66c2;stroke:none}
.contactCard h3{margin:0 0 16px;font-size:24px}
.contactCard hr{margin:24px 0;border:none;border-top:1px solid var(--border)}
.formCard h3{margin:0 0 20px;font-size:24px}
.formCard label{display:block;margin-bottom:8px;font-weight:600}
.formCard input,.formCard textarea{
  width:100%;padding:10px 12px;border:1px solid var(--border);border-radius:8px;font:inherit;
  margin-top:6px;
  min-height:44px;
}
.formCard textarea{
  min-height:120px;
  resize:vertical;
}
.formCard button{margin-top:8px;width:100%}
.formNote{font-size:14px;color:var(--muted);margin-top:16px}

/* Projects gallery */
.projectsGallery{display:grid;grid-template-columns:repeat(3,1fr);gap:24px;margin-top:32px}
.projectItem{
  border-radius:var(--radius);background:#ddd center/cover no-repeat;height:280px;box-shadow:var(--shadow);
  position:relative;overflow:hidden;
}
.projectItem::after{content:"";position:absolute;inset:0;background:rgba(0,0,0,.3);transition:background .3s}
.projectItem:hover::after{background:rgba(0,0,0,.5)}

/* About page */
.aboutLayout{display:grid;grid-template-columns:200px 1fr;gap:28px;align-items:start}
.aboutContent{margin-top:0}
.aboutSidePhoto{border-radius:var(--radius);background:#ddd center/cover no-repeat;box-shadow:var(--shadow);width:200px;height:450px}
.aboutContent h2{margin:32px 0 16px;font-size:28px}
.aboutContent p{margin:0 0 16px;max-width:72ch}

/* Legal pages */
.legalContent{margin-top:32px}
.legalContent h2{margin:32px 0 16px;font-size:28px}
.legalContent h3{margin:24px 0 12px;font-size:22px}
.legalContent p{margin:0 0 16px;max-width:72ch}
.legalContent ul{padding-left:24px;margin:16px 0}

/* Footer */
.siteFooter{background:#0b1220;color:#cbd5e1;margin-top:40px}
.footerGrid{display:grid;grid-template-columns:2fr 1fr 1fr;gap:24px;padding:40px 0}
.brandFooter{font-weight:800;font-size:20px;margin-bottom:8px;color:white}
.linkList{list-style:none;padding:0;margin:0}
.linkList li{margin:6px 0}
.linkList a{color:#cbd5e1;text-decoration:none}
.linkList a:hover{color:#ffffff}
.footerLegal{border-top:1px solid rgba(255,255,255,.1);padding:16px 0;text-align:center}
.footerLegal p{margin:0}
.footerLegal a{color:#cbd5e1;text-decoration:underline;font-weight:700}
.footerLegal a:hover{color:#ffffff}

/* Cookie bar */
.cookieBar{position:fixed;left:0;right:0;bottom:0;z-index:50;display:none}
.cookieBar .cookieWrap{max-width:1120px;margin:0 auto;padding:12px 20px;display:flex;gap:16px;align-items:center;justify-content:space-between;background:#111827;color:#e5e7eb;border-top:1px solid rgba(255,255,255,.1);box-shadow:0 -8px 24px rgba(0,0,0,.18)}
.cookieText{margin:0;line-height:1.5;font-size:14px}
.cookieText a{color:#ffffff;text-decoration:underline}
.cookieActions{display:flex;gap:10px}
.btnSmall{padding:8px 12px;border-radius:8px;font-weight:600;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;min-height:36px;border:1px solid transparent}
.btnAccept{background:var(--brand_accent);color:#1f2937}
.btnDecline{background:transparent;border-color:#6b7280;color:#e5e7eb}

/* Responsive */
@media (max-width: 1000px){
  .cardGrid{grid-template-columns:1fr 1fr}
  .workGrid{grid-template-columns:1fr 1fr}
  .workGrid.large{grid-template-columns:1fr 1fr}
  .workIconGrid{grid-template-columns:1fr 1fr}
  .howWeWorkItem{grid-template-columns:60px 1fr;gap:24px}
  .serviceDetail{grid-template-columns:1fr}
  .serviceDetail:nth-child(even) .serviceMedia{order:1}
  .serviceDetail:nth-child(even) .serviceText{order:2}
  .serviceCardGrid{grid-template-columns:1fr}
  .serviceDetailGrid{grid-template-columns:1fr}
  .serviceDetailGrid.threeColumns{grid-template-columns:1fr}
  .contactPanel{grid-template-columns:1fr}
  .contactCards{grid-template-columns:1fr 1fr}
  .contactLayout{grid-template-columns:1fr}
  .projectsGallery{grid-template-columns:1fr 1fr}
  .aboutLayout{grid-template-columns:1fr;gap:20px}
  .aboutSidePhoto{width:100%;height:360px}
  .aboutContent{margin-top:0}
}

@media (max-width: 640px){
  .cardGrid{grid-template-columns:1fr}
  .workGrid{grid-template-columns:1fr}
  .workGrid.large{grid-template-columns:1fr}
  .workIconGrid{grid-template-columns:1fr;gap:24px}
  .howWeWorkItem{grid-template-columns:1fr;gap:20px;text-align:center}
  .howWeWorkIcon{margin:0 auto}
  .hero h1{font-size:34px}
  .pageBanner h1{font-size:36px}
  .mainNav a{margin-left:12px;font-size:14px}
  .projectsGallery{grid-template-columns:1fr}
  .footerGrid{grid-template-columns:1fr;gap:32px}
  .hero,.contactTeaser{background-attachment:scroll}
  .sectionIntro{font-size:16px}
  .serviceHeader h2{font-size:28px}
  .serviceIntro{font-size:16px}
  .serviceCardGrid{grid-template-columns:1fr}
  .contactCards{grid-template-columns:1fr}
  .aboutSidePhoto{width:100%;height:280px}
}

/* Scroll Animations */
@keyframes fadeInUp{
  from{opacity:0;transform:translateY(30px)}
  to{opacity:1;transform:translateY(0)}
}

.fadeInUp{
  opacity:0;
  transition:opacity 0.6s ease-out,transform 0.6s ease-out;
  transform:translateY(30px);
}

.fadeInUp.visible{
  opacity:1;
  transform:translateY(0);
}

.workItem,.serviceCard{
  opacity:0;
  transform:translateY(20px);
  transition:opacity 0.6s ease-out,transform 0.6s ease-out;
}

.workItem.visible,.serviceCard.visible{
  opacity:1;
  transform:translateY(0);
}

/* Smooth scrolling */
html{
  scroll-behavior:smooth;
}

/* Header scroll effect */
.siteHeader.scrolled{
  box-shadow:0 2px 8px rgba(0,0,0,.1);
  background:rgba(255,255,255,.95);
}

