:root {
  --primary: #ff9100;
  --primary-dark: #f57c00;
  --accent: #ffd54f;
  --deep: #0b2a3a;
  --ink: #1c2b36;
  --muted: #55707f;
  --bg: #f7f9fb;
  --card: #ffffff;
  --line: #e3eaf0;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(11, 42, 58, 0.10);
  --font: 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 76px; }

body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}

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

/* ---------- Top bar ---------- */
.topbar { background: var(--deep); color: #dbeaf3; font-size: 13px; }
.topbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 8px 24px;
  display: flex; gap: 24px; align-items: center; flex-wrap: wrap;
}
.topbar .tagline { margin-left: auto; color: var(--accent); font-weight: 600; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1200px; margin: 0 auto; padding: 10px 24px;
  display: flex; align-items: center; gap: 24px;
}
.logo { display: flex; align-items: center; gap: 10px; }
.logo-badge {
  width: 44px; height: 44px; border-radius: 12px;
  background: linear-gradient(135deg, #ffd54f, #ff9100);
  display: grid; place-items: center;
  box-shadow: 0 4px 10px rgba(255,145,0,0.35);
}
.logo-badge svg { width: 34px; height: 34px; }
.logo-text { font-size: 26px; font-weight: 800; color: var(--deep); letter-spacing: -0.5px; }
.logo-text span { color: var(--primary); }

.nav { margin-left: auto; display: flex; gap: 6px; }
.nav a {
  padding: 8px 12px; border-radius: 8px; font-weight: 500; color: var(--ink);
  transition: background .15s, color .15s;
}
.nav a:hover { background: #fff2e0; color: var(--primary-dark); }

.burger {
  display: none; margin-left: auto; flex-direction: column; gap: 5px;
  background: none; border: 0; padding: 8px; cursor: pointer;
}
.burger span { width: 24px; height: 3px; background: var(--deep); border-radius: 2px; transition: .2s; }
.burger.open span:nth-child(1){ transform: translateY(8px) rotate(45deg); }
.burger.open span:nth-child(2){ opacity: 0; }
.burger.open span:nth-child(3){ transform: translateY(-8px) rotate(-45deg); }

.mobile-nav {
  display: none; flex-direction: column; position: absolute; top: 62px; left: 0; right: 0;
  background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow);
  padding: 10px 0; z-index: 40;
}
.mobile-nav.open { display: flex; }
.mobile-nav a { padding: 12px 24px; font-weight: 500; border-bottom: 1px solid var(--line); }
.mobile-nav a:last-child { border-bottom: 0; }
.mobile-nav a:hover { background: #fff4e0; color: var(--primary-dark); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg, #0b2a3a 0%, #124a63 55%, #0ea5e9 130%);
  color: #fff; padding: 96px 24px 120px;
}
.hero-sun {
  position: absolute; top: -120px; right: -120px;
  width: 380px; height: 380px; border-radius: 50%;
  background: radial-gradient(circle, rgba(255,213,79,0.55), rgba(255,145,0,0.08) 70%);
  filter: blur(6px);
}
.hero-inner { max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.eyebrow {
  text-transform: uppercase; letter-spacing: 2px; font-size: 13px; font-weight: 700;
  color: var(--primary-dark);
}
.hero .eyebrow { color: var(--accent); }
.hero h1 {
  font-size: clamp(34px, 6vw, 60px); line-height: 1.05; font-weight: 800;
  margin: 16px 0 18px; color: #fff;
}
.hero h1 span { color: var(--accent); }
.lede { max-width: 640px; font-size: 18px; color: #d7e9f4; }
.hero-actions { display: flex; gap: 14px; margin: 30px 0 54px; flex-wrap: wrap; }

.btn {
  display: inline-block; padding: 14px 26px; border-radius: 12px;
  font-weight: 700; cursor: pointer; border: 2px solid transparent;
  transition: transform .12s, box-shadow .12s;
  text-align: center;
}
.btn:active { transform: translateY(2px); }
.btn-primary {
  background: linear-gradient(135deg, #ffb300, var(--primary));
  color: #fff; box-shadow: 0 8px 20px rgba(255,145,0,0.4);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(255,145,0,0.5); }
.btn-ghost { background: transparent; border-color: rgba(255,255,255,0.5); color: #fff; }
.btn-ghost:hover { background: rgba(255,255,255,0.12); }
.btn-block { width: 100%; }

.hero-stats { display: flex; gap: 40px; list-style: none; flex-wrap: wrap; }
.hero-stats strong { font-size: 30px; font-weight: 800; color: var(--accent); display: block; }
.hero-stats span { color: #cfe5f0; font-size: 14px; }

.hero-wave { position: absolute; bottom: 0; left: 0; width: 100%; height: 90px; z-index: 1; }

/* ---------- Sections ---------- */
.section { padding: 84px 24px; }
.section.alt { background: #eef4f8; }
.section-inner { max-width: 1200px; margin: 0 auto; }
.section h2 { font-size: clamp(28px, 4vw, 40px); margin: 10px 0 12px; color: var(--deep); }
.sub { color: var(--muted); margin-bottom: 30px; }

/* ---------- Grid / cards ---------- */
.grid { display: grid; gap: 22px; margin-top: 34px; }
.cards { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow); transition: transform .15s;
}
.card:hover { transform: translateY(-4px); }
.card-icon {
  width: 52px; height: 52px; border-radius: 14px; font-size: 26px;
  display: grid; place-items: center; background: #fff4e0; margin-bottom: 16px;
}
.card h3 { font-size: 20px; margin-bottom: 8px; color: var(--deep); }
.card p { color: var(--muted); }

/* ---------- Split ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
}
.split-visual svg { width: 100%; border-radius: var(--radius); box-shadow: var(--shadow); }
.checklist { list-style: none; margin-top: 22px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 30px; color: var(--ink); }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 12px; font-weight: 800;
  display: grid; place-items: center;
}

/* ---------- Projects ---------- */
.projects { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.project {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; box-shadow: var(--shadow);
}
.project figure { aspect-ratio: 3 / 2; overflow: hidden; background: #d9e6ef; }
.project img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s; }
.project:hover img { transform: scale(1.05); }
.project-body { padding: 18px; }
.project-body h3 { font-size: 18px; color: var(--deep); }
.project-body p { color: var(--muted); font-size: 14px; margin-top: 4px; }

/* ---------- Offices ---------- */
.office-cards { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.office {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px; box-shadow: var(--shadow); position: relative;
}
.office h3 { font-size: 18px; color: var(--deep); margin-bottom: 8px; }
.office .tag {
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
  background: linear-gradient(135deg,#ffd300,var(--primary)); color: #fff;
  padding: 3px 8px; border-radius: 999px; vertical-align: middle; margin-left: 6px;
}
.office .addr { color: var(--muted); margin-bottom: 10px; }
.office .tel { font-weight: 700; color: var(--primary-dark); }

/* ---------- Contact ---------- */
.contact .contact-lines { margin: 20px 0; display: grid; gap: 8px; }
.contact-lines a { color: var(--primary-dark); font-weight: 600; }
.socials-title { margin: 10px 0 12px; color: var(--deep); font-size: 18px; }
.socials { display: flex; gap: 12px; }
.social {
  width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center;
  background: var(--deep); transition: transform .15s, background .15s;
}
.social svg { width: 22px; height: 22px; fill: #fff; stroke: #fff; stroke-width: 1.2; }
.social:hover { transform: translateY(-3px); background: var(--primary); }
.social.small { width: 40px; height: 40px; font-size: 12px; font-weight: 800; }

.contact-form {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px;
}
.contact-form label { font-weight: 600; font-size: 14px; color: var(--deep); display: grid; gap: 6px; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px; border: 1px solid var(--line); border-radius: 10px;
  font-family: var(--font); font-size: 15px; background: #fbfdff; color: var(--ink);
}
.contact-form input:focus, .contact-form textarea:focus {
  outline: 2px solid var(--primary); border-color: transparent;
}
.form-msg { font-weight: 600; min-height: 20px; }
.form-msg.ok { color: #1e7d32; }
.form-msg.err { color: #c62828; }

/* ---------- Footer ---------- */
.site-footer { background: var(--deep); color: #c6d8e3; padding: 56px 24px 20px; }
.footer-inner {
  max-width: 1200px; margin: 0 auto;
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 30px;
}
.footer-brand .logo-text { color: #fff; font-size: 30px; }
.footer-brand p { margin-top: 10px; color: var(--muted); max-width: 260px; }
.footer-col h4 { color: var(--accent); margin-bottom: 10px; font-size: 15px; }
.footer-col a, .footer-col p { display: block; padding: 4px 0; color: #cacee3; }
.footer-col a:hover { color: var(--accent); }
.footer-socials { display: flex; gap: 8px; }
.footer-bottom {
  max-width: 1200px; margin: 40px auto 0; padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,0.12); text-align: center; font-size: 13px;
  color: var(--muted);
}

/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .split { grid-template-columns: 1fr; gap: 40px; }
  .nav { display: none; }
  .burger { display: flex; }
  .topbar-inner { justify-content: flex-start; }
  .topbar .tagline { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) {
  .footer-inner { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; }
}