/* ══════════════════════════════════════════════════════════
   PHI3D INNOVATIONS — styles.css v2.0
   © 2025 PHI3D INNOVATIONS S.A.S.
   
   ESTRUCTURA:
   1. Variables y Reset
   2. Utilidades globales
   3. Navbar
   4. Hero
   5. Secciones (shared)
   6. Servicios
   7. Proyectos + Modal
   8. Nosotros
   9. Por qué elegirnos
   10. CTA Banner
   11. Contacto
   12. Footer
   13. Responsive
══════════════════════════════════════════════════════════ */

/* ── 1. VARIABLES Y RESET ─────────────────────────────── */
:root {
  --bg:      #080618;
  --bg2:     #0f0c22;
  --surface: #161336;
  --card:    #1c1840;
  --blue:    #4a8fff;
  --purple:  #8b5cf6;
  --accent:  #c084fc;
  --white:   #eef1ff;
  --text:    #c8d4f0;
  --muted:   #7080b0;
  --border:  rgba(90, 120, 255, 0.18);
  --grad:    linear-gradient(135deg, #4a8fff, #8b5cf6);
  --grad-h:  linear-gradient(135deg, #5a9fff, #9b6cf6);
}

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

html { scroll-behavior: smooth; }

body {
  font-family: 'Exo 2', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--purple); border-radius: 3px; }

/* ── 2. UTILIDADES GLOBALES ───────────────────────────── */

/* Fondo con grilla de puntos */
.gbg { position: relative; overflow: hidden; }
.gbg::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(74,143,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,143,255,.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

/* Texto con gradiente de marca */
.gt {
  background: linear-gradient(90deg, #4a8fff, #8b5cf6, #c084fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Títulos */
h1, h2, h3, h4 {
  font-family: 'Orbitron', sans-serif;
  line-height: 1.2;
}

/* Línea divisora con gradiente */
.adiv {
  height: 2px;
  max-width: 1160px;
  margin: 0 auto;
  background: linear-gradient(90deg, transparent, var(--blue), var(--purple), transparent);
  opacity: 0.3;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 50px;
  font-family: 'Exo 2', sans-serif;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s;
  border: none;
}
.btn-p {
  background: var(--grad);
  color: #fff;
  box-shadow: 0 0 28px rgba(139, 92, 246, 0.3);
}
.btn-p:hover {
  background: var(--grad-h);
  transform: translateY(-2px);
  box-shadow: 0 0 45px rgba(139, 92, 246, 0.5);
}
.btn-o {
  background: transparent;
  color: var(--white);
  border: 1.5px solid rgba(74, 143, 255, 0.45);
}
.btn-o:hover {
  border-color: var(--blue);
  background: rgba(74, 143, 255, 0.08);
  transform: translateY(-2px);
}

/* Encabezado de sección */
.stag {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.stag::before {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--grad);
  border-radius: 2px;
}
.stitle {
  font-size: clamp(26px, 4vw, 44px);
  color: var(--white);
  margin-bottom: 14px;
}
.ssub {
  font-size: 15px;
  color: var(--muted);
  max-width: 580px;
  line-height: 1.75;
}

/* Contenedor centrado */
.ctr {
  max-width: 1160px;
  margin: 0 auto;
}

/* Secciones */
section {
  padding: 96px 48px;
  position: relative;
  z-index: 1;
}

/* ── 3. NAVBAR ────────────────────────────────────────── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 48px;
  height: 68px;
  background: rgba(8, 6, 24, 0.9);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
#nav.scrolled { box-shadow: 0 4px 40px rgba(0,0,0,.6); }

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
}
.nav-logo img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 8px;
}
.nav-brand {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  font-weight: 700;
}
.nav-brand .p { color: var(--blue); }
.nav-brand .d { color: var(--accent); }
.nav-brand small {
  display: block;
  font-size: 8.5px;
  letter-spacing: 3px;
  color: var(--muted);
  font-weight: 400;
  margin-top: 1px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-links a {
  color: var(--muted);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 6px 14px;
  border-radius: 6px;
  transition: all 0.2s;
}
.nav-links a:hover { color: var(--white); background: rgba(255,255,255,.04); }
.nav-links a.active { color: var(--blue); }

/* Menú hamburguesa (mobile) */
.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.burger span {
  width: 24px;
  height: 2px;
  background: var(--muted);
  border-radius: 2px;
  transition: all 0.3s;
}

#mobile-menu {
  display: none;
  position: fixed;
  top: 68px; left: 0; right: 0;
  z-index: 199;
  background: rgba(8,6,24,.97);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  flex-direction: column;
  gap: 4px;
}
#mobile-menu a {
  color: var(--muted);
  text-decoration: none;
  font-size: 14px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 500;
  padding: 12px 16px;
  border-radius: 8px;
  transition: all 0.2s;
}
#mobile-menu a:hover { color: var(--white); background: rgba(255,255,255,.04); }
#mobile-menu.open { display: flex; }

/* ── 4. HERO ──────────────────────────────────────────── */
#hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 110px 40px 80px;
  position: relative;
}

.hero-glow {
  position: absolute;
  top: 15%; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(139,92,246,.1) 0%, transparent 70%);
  pointer-events: none;
  animation: glow-pulse 6s ease-in-out infinite;
}
.hero-glow2 {
  position: absolute;
  bottom: 5%; right: 5%;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(74,143,255,.07) 0%, transparent 70%);
  pointer-events: none;
}

@keyframes glow-pulse {
  0%, 100% { opacity: .7; transform: translateX(-50%) scale(1); }
  50%       { opacity: 1;  transform: translateX(-50%) scale(1.08); }
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(74,143,255,.1);
  border: 1px solid rgba(74,143,255,.22);
  border-radius: 50px;
  padding: 6px 18px;
  margin-bottom: 28px;
  font-size: 11px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--blue);
  font-weight: 600;
  position: relative;
  z-index: 1;
}
.hero-badge .dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--blue);
  animation: dot-pulse 2s infinite;
}
@keyframes dot-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: .4; transform: scale(1.4); }
}

#hero h1 {
  font-size: clamp(34px, 6vw, 74px);
  color: var(--white);
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}
#hero .sub {
  font-size: clamp(15px, 2vw, 20px);
  color: var(--muted);
  max-width: 620px;
  margin: 18px auto 38px;
  line-height: 1.75;
  font-weight: 300;
  position: relative;
  z-index: 1;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  gap: 56px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 80px;
  padding-top: 56px;
  border-top: 1px solid var(--border);
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 800px;
}
.stat { text-align: center; }
.stat-n {
  font-family: 'Orbitron', sans-serif;
  font-size: 34px;
  font-weight: 700;
}
.stat-n.b { color: var(--blue); }
.stat-n.p { color: var(--purple); }
.stat-n.a { color: var(--accent); }
.stat-l {
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--muted);
  text-transform: uppercase;
  margin-top: 4px;
}

/* ── 6. SERVICIOS ─────────────────────────────────────── */
#servicios { background: var(--bg2); }

.svc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
  gap: 22px;
  margin-top: 56px;
}

.svc-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 30px;
  position: relative;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: default;
}
.svc-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad);
  transform: scaleX(0);
  transition: transform .35s;
  transform-origin: left;
}
.svc-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,.38);
  box-shadow: 0 18px 56px rgba(139,92,246,.13);
}
.svc-card:hover::after { transform: scaleX(1); }

.svc-ico {
  width: 54px; height: 54px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
}
.ico-b { background: rgba(74,143,255,.1);  border: 1px solid rgba(74,143,255,.22); }
.ico-p { background: rgba(139,92,246,.1); border: 1px solid rgba(139,92,246,.22); }
.ico-a { background: rgba(192,132,252,.1); border: 1px solid rgba(192,132,252,.22); }

.svc-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 15px;
  color: var(--white);
  margin-bottom: 10px;
}
.svc-card p {
  font-size: 13.5px;
  color: var(--muted);
  line-height: 1.7;
}
.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 16px;
}
.svc-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 20px;
  font-weight: 500;
  background: rgba(74,143,255,.07);
  color: var(--blue);
  border: 1px solid rgba(74,143,255,.18);
}

/* ── 7. PROYECTOS ─────────────────────────────────────── */
#proyectos { background: var(--bg); }

.proj-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin: 40px 0 48px;
}
.pf-btn {
  padding: 7px 20px;
  border-radius: 30px;
  font-family: 'Exo 2', sans-serif;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--muted);
  transition: all .25s;
}
.pf-btn:hover,
.pf-btn.on {
  background: rgba(74,143,255,.1);
  border-color: rgba(74,143,255,.4);
  color: var(--blue);
}

.proj-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 24px;
}
.proj-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 18px;
  overflow: hidden;
  transition: transform .3s, box-shadow .3s, border-color .3s;
  cursor: pointer;
}
.proj-card:hover {
  transform: translateY(-6px);
  border-color: rgba(139,92,246,.4);
  box-shadow: 0 20px 60px rgba(139,92,246,.15);
}

.proj-thumb {
  height: 200px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--surface);
}
.proj-thumb .big-icon {
  font-size: 64px;
  z-index: 1;
  position: relative;
}
.proj-thumb-bg {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(74,143,255,.08), rgba(139,92,246,.12));
}
.proj-thumb-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(74,143,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(74,143,255,.06) 1px, transparent 1px);
  background-size: 20px 20px;
}

.proj-cat {
  position: absolute;
  top: 14px; left: 14px;
  font-size: 10px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
}
.cat-3d  { background: rgba(74,143,255,.2);  color: var(--blue);   border: 1px solid rgba(74,143,255,.35); }
.cat-sw  { background: rgba(192,132,252,.2); color: var(--accent); border: 1px solid rgba(192,132,252,.35); }
.cat-iot { background: rgba(139,92,246,.2);  color: var(--purple); border: 1px solid rgba(139,92,246,.35); }

.proj-body { padding: 24px; }
.proj-body h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 14px;
  color: var(--white);
  margin-bottom: 8px;
}
.proj-body p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  margin-bottom: 16px;
}
.proj-tech { display: flex; flex-wrap: wrap; gap: 6px; }
.tech-tag {
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  color: var(--muted);
}

/* Modal de proyecto */
#proj-modal {
  display: none;
  position: fixed; inset: 0;
  z-index: 500;
  background: rgba(4,3,14,.85);
  backdrop-filter: blur(12px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}
#proj-modal.open { display: flex; }

.modal-box {
  background: var(--surface);
  border: 1px solid rgba(139,92,246,.3);
  border-radius: 20px;
  padding: 40px;
  max-width: 620px;
  width: 100%;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}
.modal-close {
  position: absolute;
  top: 16px; right: 18px;
  cursor: pointer;
  font-size: 22px;
  color: var(--muted);
  background: none;
  border: none;
  transition: color .2s;
}
.modal-close:hover { color: var(--white); }
.modal-cat {
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
  display: inline-block;
  padding: 4px 14px;
  border-radius: 20px;
}
.modal-icon { font-size: 52px; margin-bottom: 16px; }
.modal-box h2 {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  color: var(--white);
  margin-bottom: 12px;
}
.modal-box p {
  font-size: 14px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 16px;
}
.modal-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 20px 0;
}
.mh-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  color: var(--text);
}
.mh-item::before {
  content: '→';
  color: var(--blue);
  font-weight: 700;
  flex-shrink: 0;
}
.modal-tech {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}

/* ── 8. NOSOTROS ──────────────────────────────────────── */
#nosotros { background: var(--bg2); }

.nos-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 56px;
}
.mv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 38px;
}
.mv-icon { font-size: 34px; margin-bottom: 18px; }
.mv-label {
  font-size: 11px;
  letter-spacing: 3px;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 10px;
}
.mv-label.b { color: var(--blue); }
.mv-label.a { color: var(--accent); }
.mv-card h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 14px;
}
.mv-card p { font-size: 14px; line-height: 1.8; color: var(--text); }

.vals { margin-top: 56px; }
.vals-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  color: var(--white);
  text-align: center;
  margin-bottom: 32px;
}
.vals-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 18px;
}
.val {
  text-align: center;
  padding: 26px 18px;
  background: rgba(255,255,255,.02);
  border: 1px solid var(--border);
  border-radius: 14px;
  transition: border-color .3s, background .3s;
}
.val:hover {
  background: rgba(74,143,255,.05);
  border-color: rgba(74,143,255,.28);
}
.val-ico { font-size: 30px; margin-bottom: 10px; }
.val h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  color: var(--blue);
  letter-spacing: 1px;
  margin-bottom: 7px;
}
.val p { font-size: 12px; color: var(--muted); line-height: 1.6; }

/* ── 9. POR QUÉ ELEGIRNOS ────────────────────────────── */
#porque { background: var(--bg); }

.pq-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 56px;
}
.pq-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.orbit-wrap {
  width: 360px;
  height: 360px;
  position: relative;
}
.orbit-ring {
  position: absolute;
  top: 50%; left: 50%;
  border-radius: 50%;
  border: 1px solid rgba(74,143,255,.12);
  transform: translate(-50%,-50%);
}
.or1 { width: 190px; height: 190px; animation: spin 16s linear infinite; }
.or2 { width: 300px; height: 300px; animation: spin 26s linear infinite reverse; }
.or-dot {
  position: absolute;
  width: 9px; height: 9px;
  border-radius: 50%;
  top: -4.5px;
  left: 50%;
  transform: translateX(-50%);
}
.or1 .or-dot { background: var(--blue);   box-shadow: 0 0 10px var(--blue); }
.or2 .or-dot { background: var(--accent); box-shadow: 0 0 10px var(--accent); }

@keyframes spin { to { transform: translate(-50%,-50%) rotate(360deg); } }

.orbit-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 100px; height: 100px;
  border-radius: 50%;
  background: var(--grad);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 50px rgba(139,92,246,.4);
}
.orbit-center img {
  width: 68px; height: 68px;
  object-fit: contain;
  border-radius: 50%;
}

.pq-list { display: flex; flex-direction: column; gap: 18px; }
.pq-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  transition: border-color .3s;
}
.pq-item:hover { border-color: rgba(139,92,246,.35); }
.pq-num {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  min-width: 34px;
  color: var(--purple);
  opacity: 0.65;
}
.pq-item h4 {
  font-size: 14px;
  color: var(--white);
  margin-bottom: 4px;
  font-family: 'Exo 2', sans-serif;
  font-weight: 600;
}
.pq-item p { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── 10. CTA BANNER ───────────────────────────────────── */
#cta {
  background: linear-gradient(135deg, rgba(74,143,255,.1) 0%, rgba(139,92,246,.1) 100%);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 80px 48px;
  text-align: center;
}
#cta h2 { font-size: clamp(22px, 4vw, 40px); color: var(--white); margin-bottom: 14px; }
#cta p  { font-size: 16px; color: var(--muted); margin-bottom: 34px; }
.cta-btns { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ── 11. CONTACTO ─────────────────────────────────────── */
#contacto { background: var(--bg2); }

.cnt-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 56px;
  margin-top: 56px;
  align-items: start;
}
.cnt-info { display: flex; flex-direction: column; gap: 16px; }
.cnt-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
}
.cnt-ico {
  width: 38px; height: 38px;
  border-radius: 9px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 17px;
  background: rgba(74,143,255,.1);
  border: 1px solid rgba(74,143,255,.2);
}
.cnt-item h4 {
  font-size: 12px;
  color: var(--muted);
  margin-bottom: 3px;
  letter-spacing: 0.5px;
}
.cnt-item p,
.cnt-item a {
  font-size: 13.5px;
  color: var(--white);
  text-decoration: none;
}
.cnt-item a:hover { color: var(--blue); }

.cnt-form {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 38px;
}
.cnt-form h3 {
  font-family: 'Orbitron', sans-serif;
  font-size: 17px;
  color: var(--white);
  margin-bottom: 26px;
}
.frow { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fg { margin-bottom: 16px; }
.fg label {
  display: block;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  margin-bottom: 7px;
  text-transform: uppercase;
}
.fg input,
.fg select,
.fg textarea {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 15px;
  color: var(--white);
  font-family: 'Exo 2', sans-serif;
  font-size: 13.5px;
  transition: border-color .2s;
  outline: none;
  resize: vertical;
}
.fg input:focus,
.fg select:focus,
.fg textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(74,143,255,.08);
}
.fg select option { background: var(--surface); }
.fg input::placeholder,
.fg textarea::placeholder { color: var(--muted); }
.f-submit {
  width: 100%;
  padding: 15px;
  background: var(--grad);
  color: #fff;
  border: none;
  border-radius: 50px;
  font-family: 'Orbitron', sans-serif;
  font-size: 12px;
  letter-spacing: 2px;
  cursor: pointer;
  font-weight: 600;
  transition: opacity .2s, transform .2s;
}
.f-submit:hover { opacity: .9; transform: translateY(-2px); }

/* ── 12. FOOTER ───────────────────────────────────────── */
footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 56px 48px 28px;
}
.ft {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 56px;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 24px;
}
.fb img {
  width: 46px; height: 46px;
  object-fit: contain;
  border-radius: 9px;
  margin-bottom: 14px;
}
.fb .fn { font-family: 'Orbitron', sans-serif; font-size: 14px; }
.fb .fn .p { color: var(--blue); }
.fb .fn .d { color: var(--accent); }
.fb .fn small {
  display: block;
  font-size: 8px;
  letter-spacing: 3px;
  color: var(--muted);
  margin-top: 2px;
}
.fb p {
  font-size: 13px;
  color: var(--muted);
  line-height: 1.7;
  max-width: 270px;
  margin-top: 10px;
}
.fc h4 {
  font-family: 'Orbitron', sans-serif;
  font-size: 11px;
  letter-spacing: 2px;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.fc ul { list-style: none; display: flex; flex-direction: column; gap: 9px; }
.fc ul li a {
  color: var(--muted);
  text-decoration: none;
  font-size: 13px;
  transition: color .2s;
}
.fc ul li a:hover { color: var(--white); }
.fb-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.fb-copy { font-size: 12px; color: var(--muted); }
.fb-tag  { font-size: 12px; color: var(--muted); font-style: italic; }

/* ── 13. RESPONSIVE ───────────────────────────────────── */
@media (max-width: 960px) {
  #nav { padding: 0 20px; }
  .nav-links { display: none; }
  .burger { display: flex; }
  section { padding: 70px 22px; }
  .nos-grid,
  .pq-inner,
  .cnt-grid,
  .ft { grid-template-columns: 1fr; }
  .frow { grid-template-columns: 1fr; }
  .hero-stats { gap: 28px; }
  footer { padding: 50px 22px 22px; }
  .proj-grid { grid-template-columns: 1fr; }
  .orbit-wrap { width: 280px; height: 280px; }
}
