/* ============================================================
   Unmanned Services — Main Stylesheet
   Palette: Navy #0d1b2a | Teal #1a7a8a | Light Teal #3eb8cc
             Off-white #f4f7f9 | Mid-grey #8a9bb0
   ============================================================ */

:root {
  --navy:        #0d1b2a;
  --navy-mid:    #162840;
  --teal:        #1a7a8a;
  --teal-light:  #3eb8cc;
  --teal-pale:   #e6f6f9;
  --white:       #ffffff;
  --off-white:   #f4f7f9;
  --grey-light:  #dce4ed;
  --grey-mid:    #8a9bb0;
  --text-dark:   #1c2b3a;
  --text-body:   #3a4f63;
  --transition:  0.3s ease;
  --radius:      6px;
  --shadow-sm:   0 2px 8px rgba(13,27,42,0.10);
  --shadow-md:   0 6px 24px rgba(13,27,42,0.14);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

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

/* ── Typography ── */
h1, h2, h3, h4 {
  font-family: 'Inter', 'Segoe UI', system-ui, sans-serif;
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2rem, 5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.25rem); }
h3 { font-size: 1.15rem; font-weight: 600; }

p { margin-bottom: 1rem; }
p:last-child { margin-bottom: 0; }

/* ── Layout Helpers ── */
.container {
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 2rem;
}

.section {
  padding: 6rem 0;
}

.section--alt {
  background: var(--off-white);
}

.section__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.75rem;
}

.section__heading {
  margin-bottom: 1.25rem;
}

.section__intro {
  max-width: 640px;
  font-size: 1.05rem;
  color: var(--text-body);
}

.divider {
  width: 48px;
  height: 3px;
  background: var(--teal-light);
  border-radius: 2px;
  margin: 1.25rem 0 2.5rem;
}

/* ── Navigation ── */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(13, 27, 42, 0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(62, 184, 204, 0.15);
  transition: box-shadow var(--transition);
}

.nav.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.35);
}

.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

.nav__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav__logo img {
  height: 44px;
  width: auto;
}

.nav__links {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  list-style: none;
}

.nav__links a {
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--grey-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  transition: color var(--transition);
  position: relative;
  padding-bottom: 2px;
}

.nav__links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--teal-light);
  transition: width var(--transition);
}

.nav__links a:hover { color: var(--white); }
.nav__links a:hover::after { width: 100%; }

.nav__cta {
  background: var(--teal);
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: var(--radius);
  transition: background var(--transition) !important;
}
.nav__cta:hover { background: var(--teal-light) !important; }
.nav__cta::after { display: none !important; }

/* Mobile nav toggle */
.nav__toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}
.nav__toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--grey-light);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ── Hero ── */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: var(--navy);
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26,122,138,0.22) 0%, transparent 70%),
    radial-gradient(ellipse 50% 80% at 10% 80%, rgba(62,184,204,0.10) 0%, transparent 60%),
    linear-gradient(160deg, #0d1b2a 0%, #162840 60%, #0d2233 100%);
}

/* Subtle grid overlay */
.hero__bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(62,184,204,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(62,184,204,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
}

.hero__content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 1.5rem;
}

.hero__eyebrow::before {
  content: '';
  display: block;
  width: 28px;
  height: 2px;
  background: var(--teal-light);
  border-radius: 2px;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 1.5rem;
}

.hero h1 span {
  color: var(--teal-light);
}

.hero__sub {
  font-size: 1.1rem;
  color: var(--grey-mid);
  max-width: 560px;
  margin-bottom: 2.5rem;
  line-height: 1.75;
}

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

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.8rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  border: none;
  transition: all var(--transition);
}

.btn--primary {
  background: var(--teal);
  color: var(--white);
}
.btn--primary:hover {
  background: var(--teal-light);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(26,122,138,0.4);
}

.btn--outline {
  background: transparent;
  color: var(--grey-light);
  border: 1px solid rgba(138,155,176,0.4);
}
.btn--outline:hover {
  border-color: var(--teal-light);
  color: var(--teal-light);
  transform: translateY(-1px);
}

/* ── About ── */
.about__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}

.about__visual {
  position: relative;
}

.about__visual-box {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
  border-radius: 12px;
  padding: 3rem 2.5rem;
  border: 1px solid rgba(62,184,204,0.2);
  box-shadow: var(--shadow-md);
}

.about__stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
}

.about__stat {
  text-align: center;
  padding: 1.5rem 1rem;
  background: rgba(62,184,204,0.07);
  border-radius: var(--radius);
  border: 1px solid rgba(62,184,204,0.15);
}

.about__stat-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal-light);
  line-height: 1;
  margin-bottom: 0.4rem;
}

.about__stat-label {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--grey-mid);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.about__text p {
  font-size: 1.025rem;
  color: var(--text-body);
  line-height: 1.8;
}

.about__pillars {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 2rem;
}

.about__pillar {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.25rem;
  background: var(--teal-pale);
  border-left: 3px solid var(--teal);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.about__pillar-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
  margin-top: 1px;
}

.about__pillar-text strong {
  display: block;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 0.2rem;
}

.about__pillar-text span {
  font-size: 0.85rem;
  color: var(--text-body);
}

/* ── Services ── */
.services__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 1rem;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--grey-light);
  border-radius: 10px;
  padding: 2rem 1.75rem;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  opacity: 0;
  transition: opacity var(--transition);
}

.service-card:hover {
  border-color: rgba(26,122,138,0.3);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  width: 48px;
  height: 48px;
  background: var(--teal-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 1.25rem;
  transition: background var(--transition);
}

.service-card:hover .service-card__icon {
  background: rgba(26,122,138,0.15);
}

.service-card h3 {
  color: var(--navy);
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.service-card p {
  font-size: 0.9rem;
  color: var(--text-body);
  line-height: 1.7;
}

/* ── Contact ── */
.contact {
  background: var(--navy);
}

.contact .section__label { color: var(--teal-light); }
.contact .section__heading { color: var(--white); }
.contact .divider { background: var(--teal); }
.contact .section__intro { color: var(--grey-mid); }

.contact__layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: start;
  margin-top: 1rem;
}

.contact__info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.contact__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.contact__item-icon {
  width: 44px;
  height: 44px;
  background: rgba(62,184,204,0.1);
  border: 1px solid rgba(62,184,204,0.2);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}

.contact__item-text strong {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--teal-light);
  margin-bottom: 0.25rem;
}

.contact__item-text a,
.contact__item-text span {
  color: var(--grey-light);
  font-size: 0.95rem;
  transition: color var(--transition);
}

.contact__item-text a:hover { color: var(--teal-light); }

/* Contact Form */
.contact__form {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(62,184,204,0.15);
  border-radius: 12px;
  padding: 2.5rem;
}

.form__group {
  margin-bottom: 1.25rem;
}

.form__group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--grey-mid);
  margin-bottom: 0.5rem;
}

.form__group input,
.form__group select,
.form__group textarea {
  width: 100%;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(138,155,176,0.25);
  border-radius: var(--radius);
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  color: var(--white);
  font-family: inherit;
  transition: border-color var(--transition), background var(--transition);
  outline: none;
}

.form__group input::placeholder,
.form__group textarea::placeholder {
  color: rgba(138,155,176,0.5);
}

.form__group input:focus,
.form__group select:focus,
.form__group textarea:focus {
  border-color: var(--teal);
  background: rgba(255,255,255,0.09);
}

.form__group select option {
  background: var(--navy-mid);
  color: var(--white);
}

.form__group textarea {
  resize: vertical;
  min-height: 120px;
}

.form__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form__submit {
  width: 100%;
  padding: 0.9rem;
  margin-top: 0.5rem;
}

.form__note {
  font-size: 0.8rem;
  color: var(--grey-mid);
  text-align: center;
  margin-top: 1rem;
}

/* Form success state */
.form__success {
  display: none;
  text-align: center;
  padding: 2rem;
  color: var(--teal-light);
}

.form__success svg {
  margin: 0 auto 1rem;
}

/* ── Footer ── */
.footer {
  background: #080f17;
  border-top: 1px solid rgba(62,184,204,0.1);
  padding: 2.5rem 0;
}

.footer__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.footer__logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.footer__logo img {
  height: 32px;
  width: auto;
  opacity: 0.85;
}

.footer__copy {
  font-size: 0.8rem;
  color: var(--grey-mid);
}

.footer__links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.footer__links a {
  font-size: 0.8rem;
  color: var(--grey-mid);
  transition: color var(--transition);
}
.footer__links a:hover { color: var(--teal-light); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .about__grid,
  .contact__layout {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .services__grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .about__visual { order: -1; }
}

@media (max-width: 640px) {
  .section { padding: 4rem 0; }

  .services__grid {
    grid-template-columns: 1fr;
  }

  .nav__links {
    display: none;
    position: absolute;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--navy);
    flex-direction: column;
    align-items: flex-start;
    padding: 1.5rem 2rem;
    gap: 1.25rem;
    border-bottom: 1px solid rgba(62,184,204,0.15);
  }

  .nav__links.open { display: flex; }
  .nav__toggle { display: flex; }

  .form__row { grid-template-columns: 1fr; }

  .hero__actions { flex-direction: column; }

  .about__stat-grid { grid-template-columns: 1fr 1fr; }

  .footer__inner { flex-direction: column; text-align: center; }
}
