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

:root {
  --navy:   #0f2244;
  --blue:   #1a56db;
  --blue-light: #3b82f6;
  --accent: #06b6d4;
  --gray-50:  #f8fafc;
  --gray-100: #f1f5f9;
  --gray-300: #cbd5e1;
  --gray-500: #64748b;
  --gray-700: #334155;
  --white: #ffffff;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(15,34,68,.10);
}

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.6;
}

/* ── NAV ── */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 6%;
  height: 68px;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--gray-100);
}

.nav-logo {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--navy);
  text-decoration: none;
  letter-spacing: -.3px;
}
.nav-logo span { color: var(--blue); }

.nav-links { display: flex; gap: 2rem; list-style: none; }
.nav-links a {
  font-size: .9rem;
  font-weight: 500;
  color: var(--gray-500);
  text-decoration: none;
  transition: color .2s;
}
.nav-links a:hover { color: var(--blue); }

.btn {
  display: inline-block;
  padding: .55rem 1.4rem;
  border-radius: 8px;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all .2s;
}
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border: none;
}
.btn-primary:hover { background: #1648c0; transform: translateY(-1px); }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 6% 80px;
  background: linear-gradient(135deg, var(--navy) 0%, #163060 60%, #1a4080 100%);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  width: 600px; height: 600px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(26,86,219,.25) 0%, transparent 70%);
  top: -100px; right: -100px;
}

.hero-content { max-width: 680px; position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(6,182,212,.15);
  border: 1px solid rgba(6,182,212,.3);
  color: var(--accent);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .5px;
  text-transform: uppercase;
  padding: .35rem .9rem;
  border-radius: 100px;
  margin-bottom: 1.5rem;
}

.hero h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--white);
  margin-bottom: 1.25rem;
  letter-spacing: -.5px;
}
.hero h1 span { color: var(--accent); }

.hero p {
  font-size: 1.1rem;
  color: rgba(255,255,255,.72);
  max-width: 520px;
  margin-bottom: 2.5rem;
}

.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
  border-color: var(--white);
  background: rgba(255,255,255,.08);
}

/* ── SECTION COMMON ── */
section { padding: 96px 6%; }
.section-label {
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -.3px;
  margin-bottom: 1rem;
}
.section-sub {
  font-size: 1rem;
  color: var(--gray-500);
  max-width: 520px;
  margin-bottom: 3rem;
}

/* ── ABOUT ── */
#about { background: var(--gray-50); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-text p { color: var(--gray-500); margin-bottom: 1rem; }

.stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-top: 2rem;
}
.stat-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
}
.stat-card .number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--blue);
}
.stat-card .label {
  font-size: .82rem;
  color: var(--gray-500);
  margin-top: .25rem;
}

.about-visual {
  background: linear-gradient(135deg, var(--navy), #1a56db);
  border-radius: 20px;
  padding: 3rem;
  color: white;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.about-visual .tag {
  display: inline-block;
  background: rgba(255,255,255,.12);
  border-radius: 8px;
  padding: .5rem 1rem;
  font-size: .88rem;
  font-weight: 500;
}
.about-visual h3 { font-size: 1.3rem; opacity: .9; }
.about-visual p { font-size: .9rem; opacity: .7; }

/* ── SERVICES ── */
#services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--gray-100);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1), box-shadow .28s ease, border-color .2s;
  box-shadow: 0 2px 12px rgba(15,34,68,.06);
  cursor: pointer;
  position: relative;
  outline: none;
}
.service-card:hover,
.service-card:focus-visible {
  transform: translateY(-10px) scale(1.035);
  box-shadow: 0 24px 56px rgba(15,34,68,.18), 0 0 0 1px var(--blue-light);
  border-color: var(--blue-light);
}
.service-card:active { transform: translateY(-6px) scale(1.02); }

.service-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.4rem;
  transition: transform .28s cubic-bezier(.34,1.56,.64,1);
}
.service-card:hover .service-icon,
.service-card:focus-visible .service-icon { transform: scale(1.18) rotate(-4deg); }

.service-card h3 {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .6rem;
}
.service-card p { font-size: .9rem; color: var(--gray-500); }

.card-cta {
  display: inline-block;
  margin-top: 1rem;
  font-size: .82rem;
  font-weight: 600;
  color: var(--blue);
  opacity: 0;
  transform: translateY(4px);
  transition: opacity .2s, transform .2s;
}
.service-card:hover .card-cta,
.service-card:focus-visible .card-cta { opacity: 1; transform: translateY(0); }

/* ── SERVICE MODAL ── */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(15,34,68,.55);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s ease, visibility .3s ease;
}
.modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
}
.modal-card {
  background: var(--white);
  border-radius: 20px;
  padding: 2.5rem;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(15,34,68,.28);
  transform: scale(.88) translateY(24px);
  transition: transform .35s cubic-bezier(.34,1.4,.64,1);
}
.modal-overlay.is-open .modal-card { transform: scale(1) translateY(0); }

.modal-close {
  position: absolute;
  top: 1rem; right: 1rem;
  background: var(--gray-100);
  border: none;
  border-radius: 50%;
  width: 32px; height: 32px;
  font-size: 1.1rem;
  cursor: pointer;
  color: var(--gray-500);
  display: flex; align-items: center; justify-content: center;
  transition: background .2s, color .2s;
}
.modal-close:hover { background: var(--gray-300); color: var(--navy); }

.modal-icon {
  width: 56px; height: 56px;
  border-radius: 14px;
  background: linear-gradient(135deg, #eff6ff, #dbeafe);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.8rem;
  margin-bottom: 1.25rem;
}
.modal-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 1rem;
}
.modal-body {
  font-size: .92rem;
  color: var(--gray-500);
  white-space: pre-line;
  line-height: 1.7;
  margin-bottom: 1.75rem;
}
.modal-cta { align-self: flex-start; }

/* ── CONTACT ── */
#contact { background: var(--gray-50); }
.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.contact-icon {
  width: 44px; height: 44px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--blue), var(--blue-light));
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  font-size: 1.1rem;
  color: white;
}
.contact-item h4 { font-size: .82rem; color: var(--gray-500); font-weight: 500; margin-bottom: .2rem; }
.contact-item a, .contact-item p {
  font-size: .95rem;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
}
.contact-item a:hover { color: var(--blue); }

.contact-form { display: flex; flex-direction: column; gap: 1rem; }
.form-group { display: flex; flex-direction: column; gap: .4rem; }
.form-group label { font-size: .83rem; font-weight: 600; color: var(--navy); }
.form-group input,
.form-group textarea {
  border: 1.5px solid var(--gray-300);
  border-radius: 8px;
  padding: .7rem 1rem;
  font-family: inherit;
  font-size: .9rem;
  color: var(--gray-700);
  background: var(--white);
  transition: border-color .2s;
  outline: none;
}
.form-group input:focus,
.form-group textarea:focus { border-color: var(--blue); }
.form-group textarea { resize: vertical; min-height: 120px; }

/* ── FOOTER ── */
footer {
  background: var(--navy);
  color: rgba(255,255,255,.6);
  text-align: center;
  padding: 2rem 6%;
  font-size: .85rem;
}
footer strong { color: var(--white); }

/* ── RESPONSIVE ── */
@media (max-width: 768px) {
  nav { padding: 0 5%; }
  .nav-links { display: none; }
  .about-grid, .contact-wrapper { grid-template-columns: 1fr; gap: 2.5rem; }
  .hero { padding: 100px 5% 60px; }
  section { padding: 64px 5%; }
  .modal-overlay { padding: 1rem; align-items: flex-end; }
  .modal-card { max-height: 85vh; border-radius: 20px 20px 12px 12px; padding: 1.75rem; }
}
