:root {
  --bg: #081122;
  --primary: #0f3f8f;
  --primary-2: #1657c5;
  --secondary: #14a4c7;
  --accent: #f7c64b;
  --text: #112033;
  --muted: #5e7087;
  --white: #ffffff;
  --surface: #f6f9fc;
  --line: #dce5ef;
  --dark: #091323;
  --dark-2: #0d1b31;
  --shadow: 0 20px 60px rgba(6, 23, 48, 0.12);
  --shadow-soft: 0 10px 30px rgba(6, 23, 48, 0.08);
  --radius: 22px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #fbfdff 0%, #f2f7fb 100%);
  line-height: 1.7;
}
img { display: block; width: 100%; max-width: 100%; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { width: min(1200px, 92%); margin: 0 auto; }
.narrow { max-width: 860px; }

.topbar {
  background: var(--dark);
  color: rgba(255,255,255,.78);
  font-size: 13px;
}
.topbar-inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 999;
  background: rgba(255,255,255,.88);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(220,229,239,.8);
}
.nav-wrap {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 14px;
}
.logo span:last-child {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo strong { color: var(--dark); font-size: 1rem; }
.logo small { color: var(--muted); font-size: .76rem; margin-top: 4px; }
.logo-mark {
  width: 46px; height: 46px; border-radius: 14px;
  display: grid; place-items: center;
  color: white; font-weight: 800;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  box-shadow: var(--shadow-soft);
}
.main-nav {
  display: flex; align-items: center; gap: 28px;
}
.main-nav a {
  color: var(--text); font-weight: 600; position: relative;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary); }
.main-nav a.active::after, .main-nav a:hover::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -12px; height: 3px;
  border-radius: 999px; background: var(--accent);
}
.nav-toggle {
  display: none; border: 0; background: transparent; font-size: 30px; cursor: pointer;
}

.hero {
  padding: 88px 0 70px;
}
.premium-hero {
  background:
    radial-gradient(circle at 10% 10%, rgba(20,164,199,.18), transparent 24%),
    radial-gradient(circle at 95% 30%, rgba(15,63,143,.16), transparent 30%),
    linear-gradient(180deg, #eff6fc 0%, #f9fcff 100%);
}
.hero-grid, .split-grid, .contact-layout {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 38px;
  align-items: center;
}
.hero-copy h1, .page-hero h1 {
  font-size: clamp(2.4rem, 4vw, 4.5rem);
  line-height: 1.08;
  margin: 14px 0 20px;
  color: var(--dark);
}
.hero-copy p, .page-hero p, .section-head p, .info-card p, .service-card p, .card-body p,
.contact-panel p, .timeline-box p, .service-detail p, .project-highlight p {
  color: var(--muted);
}
.eyebrow {
  display: inline-block;
  text-transform: uppercase;
  letter-spacing: .12em;
  font-size: .78rem;
  font-weight: 800;
  color: var(--secondary);
}
.light { color: rgba(255,255,255,.85); }
.hero-actions { display: flex; gap: 14px; margin-top: 28px; flex-wrap: wrap; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 14px 24px; border-radius: 14px; font-weight: 700; transition: .25s ease;
  border: 1px solid transparent;
}
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--primary-2)); color: white; box-shadow: var(--shadow-soft); }
.btn-primary:hover { transform: translateY(-2px); }
.btn-secondary { background: white; color: var(--primary); border-color: var(--line); }
.btn-light { background: white; color: var(--primary); }
.full-width { width: 100%; }

.glass-card, .soft-card, .premium-surface, .contact-form {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(255,255,255,.8);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
}
.glass-card { padding: 18px; }
.soft-card { padding: 30px; }
.showcase-card { padding: 14px; overflow: hidden; }
.showcase-card img, .hero-visual img, .contact-illustration {
  border-radius: 18px;
}

.hero-metrics {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; margin-top: 34px;
}
.hero-metrics article {
  background: rgba(255,255,255,.7);
  border: 1px solid rgba(220,229,239,.9);
  border-radius: 18px;
  padding: 18px;
  box-shadow: var(--shadow-soft);
}
.hero-metrics strong { display: block; color: var(--primary); font-size: 1.5rem; line-height: 1; margin-bottom: 8px; }
.hero-metrics span { color: var(--muted); font-size: .95rem; }

.section, .page-hero { padding: 86px 0; }
.section-alt { background: linear-gradient(180deg, #f6f9fc 0%, #edf4fb 100%); }
.page-hero {
  background: linear-gradient(180deg, #eef5fc 0%, #fafcff 100%);
  border-bottom: 1px solid var(--line);
}
.center-text { text-align: center; }
.section-head { max-width: 760px; margin: 0 auto 40px; }
.section-head h2, .cta-panel h2, .split-grid h2, .contact-panel h2, .service-detail h2 {
  font-size: clamp(1.9rem, 3vw, 3rem);
  line-height: 1.15;
  margin: 12px 0 14px;
  color: var(--dark);
}
.section-overlap { padding-top: 0; margin-top: -24px; }

.cards-3, .project-gallery-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.info-card h3, .service-card h3, .gallery-card h3, .timeline-box h3, .project-highlight h3 { color: var(--dark); margin-bottom: 10px; }
.icon-badge, .timeline-number {
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: linear-gradient(135deg, rgba(15,63,143,.12), rgba(20,164,199,.16));
  color: var(--primary); font-weight: 800; margin-bottom: 18px;
}

.check-list { display: grid; gap: 12px; margin-top: 20px; }
.check-list li {
  padding-left: 28px; position: relative; color: var(--text);
}
.check-list li::before {
  content: '✔'; position: absolute; left: 0; top: 0; color: var(--secondary); font-weight: 800;
}

.dark-section {
  background: linear-gradient(135deg, var(--dark), var(--dark-2));
  color: white;
}
.dark-section h2, .dark-section h3, .dark-section p { color: white; }
.premium-card {
  overflow: hidden;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 24px;
  backdrop-filter: blur(8px);
}
.premium-card img, .gallery-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
}
.card-body { padding: 24px; }

.project-highlight-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr;
  gap: 24px;
}
.project-highlight {
  position: relative;
  overflow: hidden;
  padding: 0;
  min-height: 280px;
}
.project-highlight img {
  height: 100%;
  object-fit: cover;
}
.project-highlight.wide { min-height: 420px; }
.overlay-content {
  position: absolute;
  inset: auto 0 0 0;
  padding: 24px;
  background: linear-gradient(180deg, transparent 0%, rgba(8,17,34,.85) 100%);
  color: white;
}
.overlay-content h3, .overlay-content p { color: white; }
.pill {
  display: inline-flex;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(247,198,75,.18);
  border: 1px solid rgba(247,198,75,.22);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.cta-wrap { padding-top: 10px; }
.cta-panel {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border-radius: 28px;
  padding: 42px;
  color: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  box-shadow: var(--shadow);
}
.cta-panel h2 { color: white; max-width: 700px; }

.footer-logo strong { color: white; }
.footer-logo small { color: rgba(255,255,255,.6); }
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,.72);
}
.footer-grid {
  display: grid; grid-template-columns: 1.2fr .8fr .8fr; gap: 32px;
  padding: 62px 0 28px;
}
.site-footer h4 { color: white; margin-bottom: 14px; }
.site-footer ul { display: grid; gap: 10px; }
.site-footer a:hover { color: white; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 18px 0;
}

.service-detail-grid { display: grid; gap: 26px; }
.service-detail {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 28px;
  padding: 16px;
  border-radius: 26px;
  background: rgba(255,255,255,.8);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
  align-items: center;
}
.service-detail.reverse { grid-template-columns: 1.1fr .9fr; }
.service-detail.reverse img { order: 2; }
.service-detail img { border-radius: 20px; }

.project-gallery-grid .gallery-card {
  overflow: hidden; padding: 0;
}
.timeline-premium {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.timeline-box { padding: 30px; }

.contact-layout {
  align-items: start;
}
.contact-panel {
  padding: 30px;
}
.contact-list {
  display: grid; gap: 16px; margin: 22px 0 26px;
}
.contact-list div {
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255,255,255,.6);
}
.contact-list strong {
  display: block; color: var(--dark); margin-bottom: 6px;
}
.contact-list span { color: var(--muted); }
.contact-form {
  padding: 30px;
  border: 1px solid var(--line);
}
.form-row {
  display: grid; grid-template-columns: 1fr 1fr; gap: 18px;
}
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block; margin-bottom: 8px; font-weight: 700; color: var(--dark);
}
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 15px 16px; border-radius: 14px; border: 1px solid var(--line);
  background: white; font: inherit; color: var(--text); outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--secondary);
  box-shadow: 0 0 0 4px rgba(20,164,199,.12);
}
.form-note {
  margin-top: 14px; color: var(--muted); font-size: .95rem;
}

@media (max-width: 1080px) {
  .hero-grid, .split-grid, .contact-layout, .service-detail, .service-detail.reverse,
  .cards-3, .project-gallery-grid, .timeline-premium, .footer-grid, .project-highlight-grid {
    grid-template-columns: 1fr;
  }
  .service-detail.reverse img { order: 0; }
  .cta-panel { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 768px) {
  .topbar-inner { flex-direction: column; justify-content: center; padding: 8px 0; }
  .nav-toggle { display: block; }
  .main-nav {
    display: none;
    position: absolute;
    top: 84px;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--line);
    padding: 18px 4%;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .main-nav.show { display: flex; }
  .main-nav a.active::after, .main-nav a:hover::after { display: none; }
  .hero, .section, .page-hero { padding: 68px 0; }
  .hero-metrics, .form-row { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .soft-card, .contact-form, .contact-panel { padding: 24px; }
}
