:root {
  --blue: #1a6b9c;
  --blue-dark: #14557d;
  --blue-deep: #0c3d5c;
  --blue-light: #e8f4fa;
  --accent: #2d9cdb;
  --bg: #f6f9fc;
  --card: #ffffff;
  --text: #1a2b3c;
  --muted: #5a6d7e;
  --border: #d4e2ec;
  --shadow: 0 4px 24px rgba(20, 85, 125, 0.08);
  --shadow-lg: 0 20px 60px rgba(12, 61, 92, 0.15);
  --radius: 14px;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}

body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Segoe UI", system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); }

.container {
  width: min(1140px, calc(100% - 40px));
  margin-inline: auto;
}

/* Prototype banner */
.prototype-banner {
  background: linear-gradient(90deg, #f59e0b, #d97706);
  color: #1a1200;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 8px 16px;
}

/* Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}

.site-header.scrolled { box-shadow: var(--shadow); }

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.brand img { height: 40px; width: auto; }

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-desktop a {
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.2s;
}

.nav-desktop a:hover { color: var(--blue); }

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-pills {
  display: flex;
  gap: 2px;
  background: var(--blue-light);
  padding: 3px;
  border-radius: 8px;
}

.lang-pills button {
  border: none;
  background: transparent;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 9px;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.lang-pills button.active,
.lang-pills button:hover {
  background: #fff;
  color: var(--blue-dark);
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 10px;
  font-size: 0.92rem;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  border: none;
  transition: transform 0.15s, box-shadow 0.2s, background 0.2s;
}

.btn:hover { transform: translateY(-1px); }

.btn-primary {
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(26, 107, 156, 0.35);
}

.btn-primary:hover {
  color: #fff;
  box-shadow: 0 6px 20px rgba(26, 107, 156, 0.45);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255,255,255,.7);
}

.btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

.btn-ghost {
  background: var(--blue-light);
  color: var(--blue-dark);
}

.btn-ghost:hover { background: #dceef8; color: var(--blue-dark); }

.menu-toggle {
  display: none;
  border: none;
  background: var(--blue-light);
  border-radius: 8px;
  padding: 8px 10px;
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue-dark);
  margin: 5px 0;
  border-radius: 2px;
  transition: 0.3s;
}

.nav-mobile {
  display: none;
  position: fixed;
  inset: 0;
  top: calc(var(--header-h) + 33px);
  background: rgba(255,255,255,.98);
  padding: 24px;
  flex-direction: column;
  gap: 8px;
  z-index: 99;
  border-top: 1px solid var(--border);
}

.nav-mobile.open { display: flex; }

.nav-mobile a {
  padding: 14px 16px;
  border-radius: 10px;
  color: var(--text);
  font-weight: 500;
  font-size: 1.05rem;
}

.nav-mobile a:hover { background: var(--blue-light); }

/* Hero */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h) - 33px);
  min-height: calc(100dvh - var(--header-h) - 33px);
  display: flex;
  align-items: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background: url("../img/hero.jpg") center / cover no-repeat;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(12, 61, 92, 0.88) 0%,
    rgba(26, 107, 156, 0.75) 50%,
    rgba(20, 85, 125, 0.82) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  padding: 80px 0 100px;
  color: #fff;
  max-width: 680px;
}

.hero-badge {
  display: inline-block;
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  backdrop-filter: blur(8px);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 20px;
  animation: fadeUp 0.7s ease both;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.12;
  margin: 0 0 20px;
  letter-spacing: -0.02em;
  animation: fadeUp 0.7s 0.1s ease both;
}

.hero-lead {
  font-size: clamp(1rem, 2vw, 1.2rem);
  opacity: 0.92;
  margin: 0 0 32px;
  line-height: 1.7;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.7s 0.3s ease both;
}

.hero-scroll {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  color: rgba(255,255,255,.6);
  font-size: 0.75rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  animation: bounce 2s infinite;
}

.hero-scroll::after {
  content: "";
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, rgba(255,255,255,.5), transparent);
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes bounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(6px); }
}

/* Stats */
.stats {
  margin-top: -56px;
  position: relative;
  z-index: 2;
  padding-bottom: 20px;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  background: var(--card);
  border-radius: var(--radius);
  padding: 28px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
}

.stat {
  text-align: center;
  padding: 8px;
}

.stat-value {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--blue);
  line-height: 1.1;
}

.stat-label {
  font-size: 0.82rem;
  color: var(--muted);
  margin-top: 4px;
  font-weight: 500;
}

.stat-hint {
  font-size: 0.72rem;
  color: var(--muted);
  margin-top: 4px;
  line-height: 1.35;
  opacity: 0.9;
}

/* Sections */
section { padding: 88px 0; }

.section-header {
  text-align: center;
  max-width: 620px;
  margin: 0 auto 52px;
}

.section-tag {
  display: inline-block;
  color: var(--blue);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-header h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
  font-weight: 800;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
  color: var(--blue-deep);
}

.section-header p {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.about-visual {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.about-visual img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

.about-visual-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--card);
  padding: 16px 20px;
  border-radius: 12px;
  box-shadow: var(--shadow);
}

.about-visual-badge strong {
  display: block;
  font-size: 1.5rem;
  color: var(--blue);
  font-weight: 800;
}

.about-visual-badge span {
  font-size: 0.85rem;
  color: var(--muted);
}

.about-text h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--blue-deep);
  margin: 0 0 16px;
}

.about-text p {
  color: var(--muted);
  margin: 0 0 16px;
}

.about-list {
  list-style: none;
  padding: 0;
  margin: 24px 0 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.95rem;
}

.about-list svg {
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--blue);
}

/* Sectors */
.sectors { background: var(--card); }

.sectors-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.sector-card {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 24px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  cursor: default;
}

.sector-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--blue);
}

.sector-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--blue), var(--blue-dark));
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  margin-bottom: 18px;
}

.sector-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
  color: var(--blue-deep);
}

.sector-card p {
  font-size: 0.9rem;
  color: var(--muted);
  margin: 0;
  line-height: 1.55;
}

/* Services strip */
.services-strip {
  background: linear-gradient(135deg, var(--blue-deep), var(--blue-dark));
  color: #fff;
  padding: 64px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.service-item {
  text-align: center;
  padding: 20px;
}

.service-item svg {
  margin: 0 auto 16px;
  opacity: 0.9;
}

.service-item h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 0 0 8px;
}

.service-item p {
  font-size: 0.9rem;
  opacity: 0.8;
  margin: 0;
}

/* FDS CTA */
.fds-cta {
  padding: 72px 0;
}

.fds-card {
  background: linear-gradient(135deg, var(--blue-light), #fff);
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 4px);
  padding: 48px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 32px;
  align-items: center;
  box-shadow: var(--shadow);
}

.fds-card h2 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--blue-deep);
  margin: 0 0 10px;
}

.fds-card p {
  color: var(--muted);
  margin: 0;
  max-width: 520px;
}

/* Contact */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-info {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.contact-block {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 24px;
}

.contact-block h3 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--blue);
  margin: 0 0 8px;
}

.contact-block p {
  margin: 0;
  color: var(--text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.contact-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
}

.contact-form h3 {
  margin: 0 0 20px;
  font-size: 1.2rem;
  color: var(--blue-deep);
}

.form-row { margin-bottom: 16px; }

.form-row label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 6px;
  color: var(--text);
}

.form-row input,
.form-row textarea,
.form-row select {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: inherit;
  font-size: 0.95rem;
  transition: border-color 0.2s, outline 0.2s;
}

.form-row input:focus,
.form-row textarea:focus,
.form-row select:focus {
  outline: 2px solid var(--blue);
  border-color: var(--blue);
}

.form-row textarea { resize: vertical; min-height: 100px; }

.form-note {
  font-size: 0.78rem;
  color: var(--muted);
  margin-top: 12px;
}

/* Footer */
.site-footer {
  background: var(--blue-deep);
  color: rgba(255,255,255,.85);
  padding: 56px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  height: 36px;
  margin-bottom: 16px;
  filter: brightness(0) invert(1);
}

.footer-brand p {
  font-size: 0.9rem;
  opacity: 0.75;
  margin: 0;
  max-width: 320px;
  line-height: 1.6;
}

.footer-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin: 0 0 14px;
  opacity: 0.6;
}

.footer-col a {
  display: block;
  color: rgba(255,255,255,.85);
  font-size: 0.9rem;
  padding: 4px 0;
  transition: opacity 0.2s;
}

.footer-col a:hover { opacity: 1; color: #fff; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.12);
  padding-top: 24px;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 12px;
  font-size: 0.8rem;
  opacity: 0.6;
}

/* Reveal animation */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid,
  .contact-grid,
  .fds-card,
  .footer-grid,
  .services-grid { grid-template-columns: 1fr; }
  .fds-card { padding: 32px 24px; text-align: center; }
  .fds-card .btn { width: 100%; }
}

@media (max-width: 720px) {
  .nav-desktop { display: none; }
  .menu-toggle { display: block; }
  .header-actions .btn-ghost { display: none; }
  .stats { margin-top: -32px; }
  .stats-grid { grid-template-columns: 1fr 1fr; padding: 20px; }
  section { padding: 64px 0; }
  .hero-content { padding: 60px 0 80px; }
  .hero-scroll { display: none; }
}
