:root{
  --bg:#f6fbff; --surface:#ffffff; --surface2:#eef6ff; --text:#17324a; --muted:#5d7892;
  --line:#d7e7f5; --primary:#0b6efd; --primary2:#45b7ff; --shadow:0 18px 40px rgba(20,60,100,.10);
  --radius:22px; --max:1180px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,sans-serif;background:linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);color:var(--text)}
a{text-decoration:none;color:inherit} img{max-width:100%;display:block}
.container{width:min(var(--max),calc(100% - 28px));margin:0 auto}
.topbar{background:#eaf4ff;border-bottom:1px solid var(--line);font-size:14px;color:var(--muted)}
.topbar-inner,.nav,.hero-grid,.section-head,.cards,.footer-grid,.contact-grid,.project-filters,.stats,.nav-row{display:flex;gap:18px}
.topbar-inner{justify-content:space-between;align-items:center;padding:10px 0;flex-wrap:wrap}
.header{position:sticky;top:0;z-index:99;background:rgba(255,255,255,.86);backdrop-filter:blur(14px);border-bottom:1px solid rgba(215,231,245,.9)}
.nav{padding:14px 0;align-items:center;justify-content:space-between}
.brand{display:flex;gap:14px;align-items:center;min-width:0}
.brand-badge{width:48px;height:48px;border-radius:14px;display:grid;place-items:center;color:#fff;font-weight:800;background:linear-gradient(135deg,var(--primary),var(--primary2));box-shadow:var(--shadow)}
.brand-copy strong{display:block;font-size:15px}.brand-copy small{display:block;color:var(--muted);font-size:12px}
.nav-row{align-items:center}.nav-menu{display:flex;align-items:center;gap:16px;flex-wrap:wrap}
.nav-menu a{font-weight:600;color:#35516a}.nav-menu a.active,.nav-menu a:hover{color:var(--primary)}
.lang-switcher{display:flex;gap:6px;align-items:center;padding:6px;border:1px solid var(--line);background:#eff6ff;border-radius:999px;flex-wrap:wrap}
.lang-switcher button{border:0;background:transparent;border-radius:999px;padding:8px 11px;font:inherit;font-weight:700;color:#537290;cursor:pointer}
.lang-switcher button.active{background:#fff;color:var(--primary);box-shadow:0 4px 14px rgba(16,54,93,.08)}
.menu-toggle{display:none;border:1px solid var(--line);background:#fff;border-radius:12px;padding:10px 12px;font-weight:700;cursor:pointer}
.mobile-panel{display:none;padding:0 0 14px}.mobile-panel.open{display:block}
.mobile-panel .nav-menu{flex-direction:column;align-items:flex-start;padding-top:6px}.mobile-panel .lang-switcher{margin-top:10px}
.btn{display:inline-flex;align-items:center;justify-content:center;padding:14px 20px;border-radius:999px;font-weight:700;border:1px solid transparent;gap:8px}
.btn-primary{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;box-shadow:0 16px 30px rgba(11,110,253,.18)}
.btn-secondary{background:#fff;border-color:var(--line)} .btn-ghost{background:#eef6ff;border-color:var(--line);color:var(--primary)}
.hero{padding:70px 0 54px;overflow:hidden}.hero-grid{align-items:center}.hero-grid>*{flex:1;min-width:0}
.eyebrow{margin:0 0 14px;letter-spacing:.12em;text-transform:uppercase;font-size:12px;color:var(--primary);font-weight:800}
h1,h2,h3,p{margin-top:0} h1{font-size:clamp(34px,5.6vw,58px);line-height:1.04;margin-bottom:16px} h2{font-size:clamp(28px,4vw,42px);line-height:1.1;margin-bottom:14px} h3{font-size:20px;margin-bottom:10px} p{line-height:1.7;color:#48657f}
.hero-visual{position:relative;min-height:420px}
.hero-photo,.inner-photo{border-radius:28px;border:1px solid var(--line);box-shadow:var(--shadow);background:#dfefff center/cover no-repeat}
.hero-photo{position:absolute;inset:0;background-image:url('https://images.unsplash.com/photo-1517048676732-d65bc937f952?auto=format&fit=crop&w=1400&q=80')}
.float-card,.card,.project-card,.year-chip,.stat{background:rgba(255,255,255,.9);border:1px solid var(--line);box-shadow:var(--shadow);border-radius:var(--radius)}
.float-card{position:absolute;padding:18px 20px;max-width:220px}.float-a{top:16px;left:-8px}.float-b{right:-8px;top:118px}.float-c{left:38px;bottom:16px}
.stats{flex-wrap:wrap;margin-top:22px}.stat{flex:1 1 180px;padding:18px}.stat strong{display:block;color:var(--primary);font-size:24px;margin-bottom:6px}
section{padding:68px 0}.section-head{justify-content:space-between;align-items:end;flex-wrap:wrap;margin-bottom:26px}
.cards{flex-wrap:wrap}.cards>.card,.cards>.project-card{flex:1 1 280px}.card,.project-card{padding:24px}
.meta{display:flex;gap:10px;flex-wrap:wrap;color:var(--muted);font-size:14px}
.badge{display:inline-flex;padding:7px 11px;border-radius:999px;background:#eff6ff;border:1px solid var(--line);color:var(--primary);font-size:13px;font-weight:700}
.inner-hero{padding:46px 0}.inner-grid{display:grid;grid-template-columns:1.1fr .9fr;gap:24px;align-items:center}
.inner-photo{min-height:300px}
.photo-team{background-image:url('https://images.unsplash.com/photo-1521737604893-d14cc237f11d?auto=format&fit=crop&w=1200&q=80')}
.photo-office{background-image:url('https://images.unsplash.com/photo-1497366754035-f200968a6e72?auto=format&fit=crop&w=1200&q=80')}
.photo-site{background-image:url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?auto=format&fit=crop&w=1200&q=80')}
.project-filters{flex-wrap:wrap;margin:18px 0 26px}.year-chip{padding:10px 14px;font-weight:700;color:#4f6f8d;cursor:pointer}.year-chip.active{background:linear-gradient(135deg,var(--primary),var(--primary2));color:#fff;border-color:transparent}
.contact-grid>*{flex:1 1 320px} form{display:grid;gap:14px} input,textarea{width:100%;padding:14px 16px;border-radius:16px;border:1px solid var(--line);font:inherit} textarea{min-height:150px;resize:vertical}
.footer{padding:28px 0 40px;background:#eff7ff;border-top:1px solid var(--line)} .footer-grid>*{flex:1 1 220px} .footer-note{padding-top:20px;color:var(--muted);font-size:14px}
.reveal{opacity:0;transform:translateY(26px);transition:opacity .7s ease, transform .7s ease}.reveal.in{opacity:1;transform:translateY(0)} .parallax{will-change:transform}
@media (max-width:980px){.desktop-only{display:none!important}.menu-toggle{display:block}.hero-grid,.topbar-inner,.section-head,.footer-grid,.contact-grid{flex-direction:column}.inner-grid{grid-template-columns:1fr}}
@media (max-width:720px){.container{width:min(var(--max),calc(100% - 20px))}.hero{padding-top:42px}h1{font-size:34px}.hero-visual{min-height:320px}.hero-photo{position:relative;min-height:230px}.float-card{position:static;max-width:none;margin-top:14px}.card,.project-card,.stat{padding:18px}.topbar{font-size:12px}}

/* PREMIUM SECTION DESIGN */
section {
  position: relative;
  padding: 80px 0;
  border-top: 1px solid rgba(215,231,245,0.6);
}

section:nth-of-type(odd) {
  background: linear-gradient(180deg,#f8fbff 0%,#eef6ff 100%);
}

section:nth-of-type(even) {
  background: #ffffff;
}

section::before {
  content: "";
  position: absolute;
  top: -40px;
  left: 0;
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, transparent, rgba(0,0,0,0.02));
}

section:nth-of-type(even) .container {
  background: #ffffff;
  box-shadow: 0 20px 50px rgba(20,60,100,0.08);
  border-radius: 24px;
  padding: 40px;
}

.card, .project-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover, .project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 25px 60px rgba(20,60,100,0.15);
}

/* NEXT LEVEL UI */

/* 1) richer hero */
.hero {
  position: relative;
  overflow: hidden;
  padding: 110px 0 80px;
}

.hero::before,
.hero::after {
  content: "";
  position: absolute;
  inset: auto;
  border-radius: 999px;
  filter: blur(60px);
  opacity: 0.35;
  pointer-events: none;
}

.hero::before {
  width: 320px;
  height: 320px;
  top: 40px;
  right: -60px;
  background: rgba(69, 183, 255, 0.35);
}

.hero::after {
  width: 260px;
  height: 260px;
  bottom: 10px;
  left: -40px;
  background: rgba(11, 110, 253, 0.18);
}

.hero-grid {
  align-items: center;
  gap: 34px;
}

.hero h1 {
  font-size: clamp(42px, 6vw, 68px);
  line-height: 1.02;
  letter-spacing: -0.03em;
  max-width: 760px;
}

.hero p {
  max-width: 720px;
}

.hero .btn {
  min-width: 180px;
}

/* 2) glass top bar/header */
.header {
  background: rgba(255, 255, 255, 0.78);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(215, 231, 245, 0.8);
}

.topbar {
  background: linear-gradient(90deg, #eff7ff 0%, #e6f2ff 100%);
}

/* 3) premium section headings */
.section-head h2 {
  font-size: clamp(30px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.section-head p {
  max-width: 700px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-weight: 800;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 1px;
  background: currentColor;
  opacity: 0.5;
}

/* 4) better cards */
.card,
.project-card,
.stat,
.float-card {
  border: 1px solid rgba(215, 231, 245, 0.95);
  box-shadow:
    0 10px 30px rgba(20, 60, 100, 0.05),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

.card,
.project-card {
  overflow: visible;
}

.card:hover,
.project-card:hover {
  transform: translateY(-8px);
  box-shadow:
    0 28px 70px rgba(20, 60, 100, 0.16),
    0 1px 0 rgba(255, 255, 255, 0.9) inset;
}

/* 5) image cards for projects (ONLY projects page) */

/* default project card (homepage) */
.project-card {
  padding: 24px;
}

/* image version (projects page only) */
.project-card.has-image {
  position: relative;
  padding: 0;
  overflow: hidden;
}

.project-card.has-image .project-image {
  height: 210px;
  background-size: cover;
  background-position: center;
}

.project-card.has-image .project-image::after {
  content: "";
  display: block;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(0,0,0,0.08), rgba(0,0,0,0.02));
}

.project-card.has-image .project-content {
  padding: 22px;
}

.project-card.has-image .project-content h3 {
  margin: 10px 0 8px;
}

.project-card.has-image .project-content p {
  margin-bottom: 0;
}
/* 6) wave divider */
.section-wave {
  position: relative;
}

.section-wave::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 80px;
  background:
    radial-gradient(circle at 25% 0, transparent 34px, rgba(255,255,255,0.9) 35px, rgba(255,255,255,0.9) 36px, transparent 37px) bottom left / 120px 80px repeat-x;
  opacity: 0.55;
  pointer-events: none;
}

/* 7) better buttons */
.btn {
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  box-shadow: 0 22px 40px rgba(11, 110, 253, 0.28);
}

/* 8) nicer language switcher */
.lang-switcher {
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.8);
}

.lang-switcher button.active {
  background: linear-gradient(180deg, #ffffff 0%, #f5faff 100%);
}

/* 9) stats feel more refined */
.stat strong {
  font-size: clamp(22px, 3vw, 30px);
  letter-spacing: -0.02em;
}

.stat span {
  display: block;
  margin-top: 6px;
}

/* 10) mobile polish */
@media (max-width: 720px) {
  .hero {
    padding: 70px 0 42px;
  }

  .hero h1 {
    font-size: 36px;
  }

  .section-head h2 {
    font-size: 30px;
  }

  .project-card.has-image .project-image {
    height: 180px;
  }
}