:root {
  --navy: #0b1f33;
  --blue: #123a5e;
  --accent: #1e7fd6;
  --light-bg: #f4f7fa;
  --text: #1c2b36;
  --muted: #5c6b76;
  --white: #ffffff;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Segoe UI", Arial, sans-serif;
  color: var(--text);
  line-height: 1.6;
}

.section[id] { scroll-margin-top: 90px; }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3 { margin: 0 0 16px; color: var(--navy); }
p { margin: 0 0 16px; color: var(--muted); }

a { text-decoration: none; color: inherit; }

.btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 0.2s ease;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: #1569b0; }
.btn-outline { border-color: #fff; color: #fff; }
.btn-outline:hover { background: rgba(255,255,255,0.15); }

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: var(--navy);
  z-index: 100;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
}
.logo { font-size: 22px; font-weight: 700; color: #fff; letter-spacing: 0.5px; }
.main-nav { display: flex; gap: 28px; align-items: center; }
.main-nav a { color: #cdd9e4; font-weight: 500; font-size: 15px; position: relative; }
.main-nav a:hover { color: #fff; }
.main-nav a.active { color: #fff; font-weight: 700; }
.main-nav a.active:not(.nav-cta)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -6px;
  height: 2px;
  background: var(--accent);
}
.main-nav .nav-cta {
  background: var(--accent);
  color: #fff;
  padding: 8px 18px;
  border-radius: 4px;
}
.main-nav .nav-cta.active { box-shadow: inset 0 0 0 2px #fff; }
.nav-toggle { display: none; background: none; border: none; color: #fff; font-size: 24px; cursor: pointer; }

.lang-switch { position: relative; margin-left: 8px; }
.lang-trigger {
  display: flex;
  align-items: center;
  gap: 6px;
  background: none;
  border: 1px solid #3b5368;
  color: #cdd9e4;
  font-size: 13px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-trigger:hover { color: #fff; border-color: #fff; }
.lang-icon { font-size: 15px; line-height: 1; }
.lang-caret { font-size: 10px; margin-left: 2px; }
.lang-dropdown {
  display: none;
  flex-direction: column;
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  min-width: 130px;
  background: var(--navy);
  border: 1px solid #3b5368;
  border-radius: 4px;
  overflow: hidden;
  z-index: 200;
}
.lang-dropdown.open { display: flex; }
.lang-dropdown button {
  background: none;
  border: none;
  color: #cdd9e4;
  font-size: 13px;
  font-weight: 600;
  padding: 10px 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s ease;
}
.lang-dropdown button:hover { background: rgba(255, 255, 255, 0.08); color: #fff; }
.lang-dropdown button.active { background: var(--accent); color: #fff; }

/* Hero */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  color: #fff;
  overflow: hidden;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero h1 { color: #fff; font-size: 40px; line-height: 1.25; }
.hero p { color: #d7e3ee; font-size: 18px; }
.hero-actions { display: flex; gap: 16px; margin-top: 24px; }

/* Stats */
.stats { background: var(--light-bg); padding: 40px 0; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  text-align: center;
  gap: 24px;
}
.value-title { font-size: 17px; margin-bottom: 8px; }
.value-desc { color: var(--muted); font-size: 14px; margin: 0; }

.section { padding: 72px 0; }
.section-lead { max-width: 700px; font-size: 17px; }
.container-wide .section-lead { max-width: none; }

/* About */
.about-inner { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: start; }
.about-card { background: var(--light-bg); border-radius: 8px; padding: 32px; }
.checklist { list-style: none; padding: 0; margin: 0; }
.checklist li {
  padding: 10px 0 10px 28px;
  position: relative;
  color: var(--text);
  border-bottom: 1px solid #e0e6eb;
}
.checklist li:last-child { border-bottom: none; }
.checklist li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--accent);
  font-weight: 700;
}

/* Cards */
.services-pcb { background: var(--light-bg); }
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 32px;
}
.cards-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 24px;
  margin-top: 32px;
}
.container-wide {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
.tiles-split {
  grid-template-columns: repeat(3, 1fr);
}
.card {
  background: var(--light-bg);
  border-radius: 8px;
  padding: 28px;
  border: 2px solid var(--accent);
}
.services-pcb .card { background: #fff; }

.card-link {
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-user-drag: none;
  user-drag: none;
}
.card-link:hover {
  background: #fff;
  transform: translateY(-4px);
  box-shadow: 0 10px 22px rgba(30, 127, 214, 0.22);
}

/* Showcase */
.showcase { background: var(--navy); color: #fff; }
.showcase h2 { color: #fff; }
.showcase p { color: #cdd9e4; }
.showcase-inner { display: grid; grid-template-columns: 1.2fr 1fr; gap: 48px; align-items: center; }
.showcase-inner:has(.showcase-text:only-child) { grid-template-columns: 1fr; }
.showcase-visual {
  height: 260px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), #0b1f33);
}

/* Contact */
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; }
.contact-details { list-style: none; padding: 0; }
.contact-details li { margin-bottom: 10px; color: var(--text); }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.contact-form input, .contact-form textarea {
  padding: 12px 14px;
  border: 1px solid #d3dbe2;
  border-radius: 4px;
  font-family: inherit;
  font-size: 15px;
}
.contact-form button { align-self: flex-start; }

/* Footer */
.site-footer {
  background: var(--navy);
  color: #9fb0bf;
  text-align: center;
  padding: 24px 0;
  font-size: 14px;
}

/* Responsive */
@media (max-width: 900px) {
  .about-inner, .showcase-inner, .contact-inner { grid-template-columns: 1fr; }
  .cards-grid { grid-template-columns: 1fr; }
  .cards-grid-4 { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 720px) {
  .main-nav { display: none; }
  .nav-toggle { display: block; }
  .main-nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--navy);
    padding: 16px 24px;
    gap: 16px;
  }
  .hero h1 { font-size: 30px; }
  .cards-grid-4 { grid-template-columns: 1fr; }
}
