/* ============================================
   Sigmax Aero — style.css
   Brand: Navy #1B3A5C · Gold #CC9933 · White
   ============================================ */

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

:root {
  --navy:    #1B3A5C;
  --navy-d:  #0F2640;
  --navy-l:  #2A5580;
  --gold:    #CC9933;
  --gold-l:  #E0B35C;
  --gold-d:  #A67A1F;
  --white:   #FFFFFF;
  --gray-50: #F8F9FA;
  --gray-100:#EEF0F2;
  --gray-200:#D4D8DD;
  --gray-500:#6B7280;
  --gray-700:#374151;
  --radius:  6px;
  --shadow:  0 4px 24px rgba(0,0,0,.12);
  --transition: .3s ease;
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  color: var(--gray-700);
  background: var(--white);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

h1,h2,h3,h4,h5,h6 {
  font-family: 'Montserrat', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--navy);
}

a { color: var(--gold); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--gold-l); }

img, svg { max-width: 100%; display: block; }

.container { width: 90%; max-width: 1140px; margin: 0 auto; }

/* ---------- Utility ---------- */
.section-label {
  display: inline-block;
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: .5rem;
}
.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}
.section-subtitle {
  max-width: 620px;
  margin: 0 auto 3rem;
  color: var(--gray-500);
  font-size: 1.05rem;
}
.text-center { text-align: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .95rem;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  text-transform: uppercase;
  letter-spacing: 1px;
}
.btn-gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.btn-gold:hover {
  background: var(--gold-d);
  border-color: var(--gold-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(204,153,51,.35);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline:hover {
  background: var(--white);
  color: var(--navy);
}
.btn-navy {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}
.btn-navy:hover {
  background: var(--navy-d);
  border-color: var(--navy-d);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(27,58,92,.35);
}

/* ---------- NAV ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 1rem 0;
  transition: background var(--transition), box-shadow var(--transition), padding var(--transition);
}
.navbar.scrolled {
  background: rgba(15,38,64,.97);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 20px rgba(0,0,0,.2);
  padding: .6rem 0;
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: .6rem;
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: 1px;
}
.nav-logo svg { width: 36px; height: 36px; flex-shrink: 0; }
.nav-logo span.gold { color: var(--gold); }

.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
.nav-links a {
  color: rgba(255,255,255,.85);
  font-size: .9rem;
  font-weight: 500;
  letter-spacing: .5px;
  transition: color var(--transition);
  position: relative;
}
.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0;
  width: 0; height: 2px;
  background: var(--gold);
  transition: width var(--transition);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links a:hover::after,
.nav-links a.active::after { width: 100%; }

.nav-lang {
  font-size: .8rem;
  padding: .35rem .75rem;
  border: 1px solid rgba(255,255,255,.3);
  border-radius: var(--radius);
  color: rgba(255,255,255,.8);
  cursor: pointer;
  transition: all var(--transition);
  background: transparent;
  font-family: 'Inter', sans-serif;
}
.nav-lang:hover { border-color: var(--gold); color: var(--gold); }

.nav-cta { margin-left: .5rem; }

/* Mobile burger */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.burger.open span:nth-child(2) { opacity: 0; }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy-d) 0%, var(--navy) 50%, var(--navy-l) 100%);
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(204,153,51,.08) 0%, transparent 70%),
    repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px),
    repeating-linear-gradient(90deg, transparent, transparent 60px, rgba(255,255,255,.015) 60px, rgba(255,255,255,.015) 61px);
}
/* Animated diagonal lines */
.hero::after {
  content: '';
  position: absolute;
  top: -50%; left: -50%;
  width: 200%; height: 200%;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 80px,
    rgba(204,153,51,.03) 80px,
    rgba(204,153,51,.03) 81px
  );
  animation: heroShift 20s linear infinite;
}
@keyframes heroShift { to { transform: translate(56px, 56px); } }

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
  padding: 7rem 0 5rem;
}
.hero-content .section-label { color: var(--gold); font-size: .85rem; margin-bottom: 1rem; }
.hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  color: var(--white);
  margin-bottom: .75rem;
  line-height: 1.15;
}
.hero h1 .gold { color: var(--gold); }
.hero .tagline {
  font-size: clamp(1rem, 2vw, 1.25rem);
  color: rgba(255,255,255,.7);
  margin-bottom: 2.5rem;
  font-weight: 400;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-buttons { display: flex; flex-wrap: wrap; gap: 1rem; }

/* Decorative SVG plane silhouette */
.hero-graphic {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  width: 55%;
  max-width: 650px;
  opacity: .06;
  z-index: 1;
}

/* ---------- SERVICES ---------- */
.services { padding: 6rem 0; background: var(--gray-50); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,0,0,.12); }
.service-card:hover::before { transform: scaleX(1); }

.service-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--navy), var(--navy-l));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}
.service-icon svg { width: 30px; height: 30px; fill: var(--gold); }

.service-card h3 { font-size: 1.25rem; margin-bottom: .75rem; }
.service-card p { color: var(--gray-500); font-size: .95rem; line-height: 1.7; }
.service-card ul { list-style: none; margin-top: 1rem; }
.service-card ul li {
  padding: .3rem 0;
  padding-left: 1.4rem;
  position: relative;
  color: var(--gray-500);
  font-size: .9rem;
}
.service-card ul li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--gold);
  font-weight: 700;
}

/* ---------- ABOUT ---------- */
.about { padding: 6rem 0; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-visual {
  background: linear-gradient(135deg, var(--navy-d), var(--navy-l));
  border-radius: var(--radius);
  padding: 3rem;
  position: relative;
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.about-visual::before {
  content: '';
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    transparent,
    transparent 20px,
    rgba(204,153,51,.06) 20px,
    rgba(204,153,51,.06) 21px
  );
}
.about-visual-content {
  position: relative;
  z-index: 2;
  text-align: center;
  color: var(--white);
}
.about-visual-content .icon-big { font-size: 3rem; margin-bottom: 1rem; opacity: .6; }
.about-stat {
  display: flex;
  gap: 2rem;
  margin-top: 1.5rem;
  justify-content: center;
}
.about-stat div { text-align: center; }
.about-stat .num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold);
}
.about-stat .label {
  font-size: .8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  opacity: .7;
  margin-top: .25rem;
}

.about-text .section-label { margin-bottom: .5rem; }
.about-text h2 { margin-bottom: 1.5rem; font-size: clamp(1.6rem, 3.5vw, 2.2rem); }
.about-text p { margin-bottom: 1rem; color: var(--gray-500); }
.about-text p strong { color: var(--navy); }
.about-division {
  display: inline-block;
  margin-top: 1rem;
  padding: .5rem 1rem;
  background: var(--gray-50);
  border-left: 3px solid var(--gold);
  font-size: .85rem;
  color: var(--gray-500);
  font-style: italic;
}

/* ---------- WHY ---------- */
.why { padding: 6rem 0; background: var(--navy); color: var(--white); }
.why .section-title { color: var(--white); }
.why .section-subtitle { color: rgba(255,255,255,.6); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.why-card {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 2rem;
  transition: all var(--transition);
}
.why-card:hover {
  background: rgba(255,255,255,.1);
  border-color: rgba(204,153,51,.3);
  transform: translateY(-4px);
}
.why-card-icon {
  font-size: 2rem;
  margin-bottom: 1rem;
}
.why-card h3 {
  font-size: 1.1rem;
  color: var(--gold);
  margin-bottom: .75rem;
}
.why-card p {
  font-size: .9rem;
  color: rgba(255,255,255,.65);
  line-height: 1.7;
}

/* ---------- CONTACT ---------- */
.contact { padding: 6rem 0; background: var(--gray-50); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}
.contact-info h3 {
  font-size: 1.3rem;
  margin-bottom: 1.5rem;
}
.contact-detail {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}
.contact-detail-icon {
  width: 44px; height: 44px;
  background: var(--navy);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.contact-detail-icon svg { width: 20px; height: 20px; fill: var(--gold); }
.contact-detail div { font-size: .9rem; }
.contact-detail strong { display: block; color: var(--navy); margin-bottom: .15rem; }
.contact-detail span, .contact-detail a { color: var(--gray-500); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 2.5rem;
  box-shadow: var(--shadow);
}
.contact-form h3 {
  font-size: 1.3rem;
  margin-bottom: .25rem;
}
.contact-form .form-sub {
  color: var(--gray-500);
  font-size: .9rem;
  margin-bottom: 1.5rem;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group { margin-bottom: 1rem; }
.form-group.full { grid-column: 1 / -1; }
.form-group label {
  display: block;
  font-size: .8rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: .35rem;
  text-transform: uppercase;
  letter-spacing: .5px;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: .75rem 1rem;
  border: 1px solid var(--gray-200);
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  transition: border-color var(--transition), box-shadow var(--transition);
  background: var(--white);
  color: var(--gray-700);
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(204,153,51,.15);
}
.form-group textarea { resize: vertical; min-height: 100px; }
.form-group input.error { border-color: #dc3545; }
.form-group .error-msg { color: #dc3545; font-size: .78rem; margin-top: .25rem; display: none; }
.form-group input.error + .error-msg { display: block; }
.form-submit { margin-top: .5rem; }
.form-success {
  display: none;
  background: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: var(--radius);
  margin-top: 1rem;
  font-size: .9rem;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy-d);
  color: rgba(255,255,255,.6);
  padding: 3rem 0 1.5rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
.footer-brand .nav-logo { margin-bottom: 1rem; font-size: 1.2rem; }
.footer-brand p { font-size: .85rem; max-width: 320px; line-height: 1.7; }
.footer-links h4 {
  color: var(--white);
  font-size: .85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 1rem;
}
.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { color: rgba(255,255,255,.5); font-size: .85rem; }
.footer-links a:hover { color: var(--gold); }

.footer-social {
  display: flex;
  gap: .75rem;
  margin-top: 1rem;
}
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,.5);
  font-size: .85rem;
  transition: all var(--transition);
}
.footer-social a:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(204,153,51,.1);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding-top: 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: .8rem;
  flex-wrap: wrap;
  gap: .5rem;
}

/* ---------- Scroll Animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  bottom: 2rem; right: 2rem;
  width: 44px; height: 44px;
  background: var(--gold);
  color: var(--white);
  border: none;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition);
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(204,153,51,.35);
}
.back-top.show { opacity: 1; visibility: visible; }
.back-top:hover { background: var(--gold-d); transform: translateY(-3px); }

/* ---------- RESPONSIVE ---------- */
@media (max-width: 992px) {
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { min-height: 260px; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .nav-links,
  .nav-lang,
  .nav-cta { display: none; }
  .burger { display: flex; }
  /* mobile menu */
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--navy-d);
    padding: 1.5rem 5%;
    gap: 1rem;
    box-shadow: 0 8px 24px rgba(0,0,0,.3);
  }
  .nav-links.open ~ .nav-lang,
  .nav-links.open ~ .nav-cta-mobile {
    display: inline-flex;
    position: absolute;
    top: calc(100% + 0px);
  }
  .hero-content { padding: 8rem 0 4rem; }
  .hero-graphic { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
}
