/* ===== ATD Aerospace — styles ===== */
:root {
  --bg:        #0a0e17;
  --bg-2:      #0e1422;
  --surface:   #131b2e;
  --surface-2: #18223a;
  --border:    #243049;
  --text:      #e9eef7;
  --muted:     #93a1bd;
  --accent:    #ff6b3d;   /* engine-flame orange */
  --accent-2:  #4ea1ff;   /* sky/space blue */
  --max:       1180px;
  --radius:    14px;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; line-height: 1.1; letter-spacing: -0.02em; }

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

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--accent);
  margin-bottom: 1rem;
}
.eyebrow--center { text-align: center; }

.section__title { font-size: clamp(1.8rem, 4vw, 2.6rem); text-align: center; }
.section__title--sub { margin-top: 5rem; }
.section__intro { text-align: center; color: var(--muted); max-width: 620px; margin: 0.9rem auto 0; }
.section__note { text-align: center; color: var(--muted); font-size: 0.85rem; margin-top: 2rem; }
.caption { color: var(--muted); font-size: 0.78rem; margin-top: 1.2rem; }

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  font-weight: 600;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
  font-size: 0.95rem;
}
.btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(255,107,61,.35); }
.btn--ghost { background: transparent; border: 1px solid var(--border); }
.btn--ghost:hover { background: rgba(255,255,255,.05); box-shadow: none; }
.btn--small { padding: 0.55rem 1.1rem; font-size: 0.85rem; }
.btn--full { width: 100%; }

/* ===== Nav ===== */
.nav {
  position: sticky; top: 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem clamp(1.2rem, 5vw, 3rem);
  background: rgba(10,14,23,.72);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.nav__brand { display: flex; align-items: center; gap: .7rem; font-family: 'Space Grotesk'; font-weight: 700; letter-spacing: .04em; }
.nav__brand img { height: 44px; width: auto; }
.nav__links { display: flex; align-items: center; gap: 1.6rem; font-size: .92rem; color: var(--muted); }
.nav__links a:not(.btn):hover { color: var(--text); }
.lang { display: inline-flex; gap: .45rem; align-items: center; margin-left: .3rem; }
.lang__opt { display: inline-flex; border-radius: 3px; opacity: .45; transition: opacity .15s ease; outline: 2px solid transparent; }
.lang__opt img { width: 24px; height: auto; display: block; border-radius: 3px; }
.lang__opt:hover { opacity: .85; }
.lang__opt.is-active { opacity: 1; outline-color: var(--accent); }

/* ===== Hero ===== */
.hero { position: relative; min-height: 88vh; display: flex; align-items: center; overflow: hidden; }
.hero__bg { position: absolute; inset: 0; background-size: cover; background-position: center; transform: scale(1.05); }
.hero__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero__overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(10,14,23,.55) 0%, rgba(10,14,23,.82) 60%, var(--bg) 100%); }
.hero__content { position: relative; max-width: var(--max); margin: 0 auto; padding: 6rem clamp(1.2rem,5vw,3rem); }
.hero h1 { font-size: clamp(2.3rem, 6vw, 4.2rem); font-weight: 700; }
.hero__sub { max-width: 620px; margin-top: 1.5rem; font-size: 1.1rem; color: #cdd6e6; }
.hero__cta { display: flex; gap: 1rem; margin-top: 2.4rem; flex-wrap: wrap; }

/* ===== Section shell ===== */
section { padding: clamp(3.5rem, 8vw, 6.5rem) clamp(1.2rem, 5vw, 3rem); }
section > .eyebrow--center, section > .section__title, section > .section__intro { margin-left: auto; margin-right: auto; }

/* ===== About ===== */
.about {
  background:
    linear-gradient(rgba(10,14,23,.86), rgba(10,14,23,.90)),
    url('assets/about-bg.png') center/cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about__lead { max-width: 840px; margin: 1.1rem auto 0; text-align: center; color: #cdd6e6; font-size: 1.05rem; }
.about__cols { max-width: var(--max); margin: 2.8rem auto 0; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.about__block h3 { font-size: 1.2rem; margin-bottom: .9rem; }
.about__block ul { list-style: none; }
.about__block li { padding: .55rem 0; border-bottom: 1px solid var(--border); color: #cdd6e6; }
.about__block li::before { content: "▸ "; color: var(--accent); font-weight: 700; }
.about__block p { color: #cdd6e6; }
.about__block p + p { margin-top: .9rem; }

/* ===== Credibility strip ===== */
.strip { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding-top: 3rem; padding-bottom: 3rem; }
.strip__stats { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: repeat(3, 1fr); gap: 2rem; }
.stat { text-align: center; }
.stat__num { display: block; font-family: 'Space Grotesk'; font-size: clamp(2.2rem, 5vw, 3.2rem); font-weight: 700; color: #fff; }
.stat__label { display: block; color: var(--muted); font-size: .9rem; margin-top: .5rem; }
.strip__logos { max-width: var(--max); margin: 2.5rem auto 0; display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; color: var(--muted); font-weight: 600; letter-spacing: .05em; opacity: .8; }

/* ===== ESA ===== */
.esa { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.esa h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.esa p { color: #cdd6e6; margin-top: 1rem; }
.esa__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.esa__feature { grid-column: 1 / -1; margin-top: 2.5rem; text-align: center; }
.esa__feature img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }
.esa__feature figcaption { color: var(--muted); font-size: .82rem; margin-top: .7rem; }
.esa__feature figcaption a { color: var(--accent); }
.esa__feature figcaption a:hover { text-decoration: underline; }

/* ===== Proof / test heritage ===== */
.proof { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.proof__grid { max-width: var(--max); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.proof__item { margin: 0; }
.proof__item img, .proof__item video { width: 100%; height: 240px; object-fit: cover; border-radius: var(--radius); border: 1px solid var(--border); display: block; background: #000; }
.proof__item figcaption { color: var(--muted); font-size: .85rem; margin-top: .7rem; text-align: center; }

/* ===== Section backgrounds (faded) ===== */
.engines {
  background:
    linear-gradient(rgba(10,14,23,.90), rgba(10,14,23,.93)),
    url('assets/bg-rocket.jpg') center/cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.caps {
  background:
    linear-gradient(rgba(10,14,23,.89), rgba(10,14,23,.93)),
    url('assets/bg-cryo.jpg') center/cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* ===== UAV ===== */
.uav {
  background:
    linear-gradient(rgba(10,14,23,.84), rgba(10,14,23,.90)),
    url('assets/bg-earth.jpg') center/cover no-repeat;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.uav__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); align-items: center; }
.uav h2 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
.uav p { color: #cdd6e6; margin-top: 1rem; }
.uav__stats { display: flex; gap: 2.5rem; margin-top: 2rem; }
.uav__media img { width: 100%; border-radius: var(--radius); border: 1px solid var(--border); display: block; }

/* ===== Cards ===== */
.cards { max-width: var(--max); margin: 3rem auto 0; display: grid; gap: 1.2rem; }
.cards--4 { grid-template-columns: repeat(4, 1fr); }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.6rem;
  transition: transform .15s ease, border-color .15s ease;
}
.card:hover { transform: translateY(-4px); border-color: var(--accent); }
.card__big { font-family: 'Space Grotesk'; font-size: 1.8rem; font-weight: 700; color: var(--accent); display: block; }
.card h3 { margin: .6rem 0 .5rem; font-size: 1.1rem; }
.card p { color: var(--muted); font-size: .9rem; }
.card--cap h3 { color: #fff; }

/* ===== Partners ===== */
.partners__grid { max-width: var(--max); margin: 3rem auto 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 1.2rem; }
.card--partner { text-align: center; }
.partner__logo { background: #fff; border-radius: 10px; height: 88px; display: flex; align-items: center; justify-content: center; padding: 16px; margin-bottom: 1.1rem; }
.partner__logo img { max-height: 100%; max-width: 100%; object-fit: contain; }
.partner__logo--text span { color: #0a0e17; font-family: 'Space Grotesk', sans-serif; font-weight: 700; font-size: .98rem; line-height: 1.12; letter-spacing: .02em; text-align: center; }

/* ===== People ===== */
.people { max-width: var(--max); margin: 3rem auto 0; display: grid; gap: 1.4rem; }
.people--lead { grid-template-columns: repeat(3, 1fr); max-width: 880px; }
.people--grid { grid-template-columns: repeat(3, 1fr); }
.person {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.8rem;
  text-align: center;
}
.person__avatar {
  width: 64px; height: 64px; margin: 0 auto 1rem;
  border-radius: 50%;
  display: grid; place-items: center;
  font-family: 'Space Grotesk'; font-weight: 700; font-size: 1.1rem; color: #fff;
  background: linear-gradient(135deg, var(--accent), #c2410c);
}
.person h3 { font-size: 1.15rem; }
.person__role { display: block; color: var(--accent-2); font-size: .85rem; font-weight: 600; margin: .3rem 0 .7rem; }
.person p { color: var(--muted); font-size: .88rem; }

/* ===== Contact ===== */
.contact { background: var(--bg-2); border-top: 1px solid var(--border); }
.contact__inner { max-width: var(--max); margin: 0 auto; display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem,5vw,4rem); }
.contact__left .section__title, .contact__left .section__intro { text-align: left; margin-left: 0; }
.contact__details { list-style: none; margin-top: 2rem; }
.contact__details li { padding: .9rem 0; border-bottom: 1px solid var(--border); }
.contact__details span { display: block; text-transform: uppercase; letter-spacing: .12em; font-size: .68rem; color: var(--muted); margin-bottom: .2rem; }
.contact__details a:hover { color: var(--accent); }
.form { display: grid; gap: 1rem; }
.form label { display: grid; gap: .4rem; font-size: .82rem; color: var(--muted); }
.form input, .form textarea {
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  padding: .75rem .9rem; color: var(--text); font: inherit; font-size: .95rem;
}
.form input:focus, .form textarea:focus { outline: none; border-color: var(--accent); }

/* ===== Footer ===== */
.footer { text-align: center; padding: 3rem 1.5rem; border-top: 1px solid var(--border); color: var(--muted); font-size: .85rem; }
.footer__brand { display: flex; align-items: center; justify-content: center; gap: .6rem; font-family: 'Space Grotesk'; font-weight: 700; color: var(--text); margin-bottom: 1rem; }
.footer__brand img { height: 26px; }
.footer__social { display: flex; gap: 1.4rem; justify-content: center; margin-top: 1rem; }
.footer__social a:hover { color: var(--accent); }

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .cards--4 { grid-template-columns: repeat(2, 1fr); }
  .proof__grid { grid-template-columns: 1fr; }
  .esa, .uav__inner, .contact__inner, .about__cols { grid-template-columns: 1fr; }
  .people--lead, .people--grid { grid-template-columns: repeat(2, 1fr); }
  .strip__stats { grid-template-columns: 1fr; gap: 1.5rem; }
  .nav__links { gap: 1rem; }
}
@media (max-width: 560px) {
  .cards--4, .people--lead, .people--grid { grid-template-columns: 1fr; }
  .nav__links a:not(.btn) { display: none; }
}
