/* =============================================
   ROCKETMAN TECHNOLOGY COLLECTIVE
   Modern Rewrite — 2026
   Palette: #C41E2D red / #0C1117 dark / white
   ============================================= */

/* --- Custom Properties --- */
:root {
  --red:        #C41E2D;
  --red-dark:   #9B1523;
  --red-light:  #E03347;
  --bg:         #0C1117;
  --bg-2:       #141A24;
  --bg-3:       #1C2434;
  --border:     #252E3D;
  --text:       #CDD5E0;
  --text-muted: #7D8FA5;
  --heading:    #EDF2F7;
  --white:      #FFFFFF;

  --font-head: 'Barlow Condensed', 'Arial Narrow', Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;

  --nav-h:      72px;
  --radius:     8px;
  --radius-lg:  16px;
  --ease:       0.3s ease;
  --max-w:      1200px;
  --shadow:     0 4px 32px rgba(0,0,0,.5);
  --shadow-red: 0 8px 32px rgba(196,30,45,.25);
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* --- Layout --- */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1.5rem;
}
.section { padding: 6rem 0; }
.section--alt  { background: var(--bg-2); }
.section--dark { background: var(--bg-3); }

/* --- Typography --- */
h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--heading);
  line-height: 1.05;
  text-transform: uppercase;
  letter-spacing: .02em;
}
.eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red-light);
  margin-bottom: .75rem;
}
.section-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  margin-bottom: 1.25rem;
}
.section-sub {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.75;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .85rem 2rem;
  font-family: var(--font-body);
  font-size: .95rem;
  font-weight: 600;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--ease);
  border: 2px solid transparent;
  white-space: nowrap;
}
.btn-red {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: var(--shadow-red);
}
.btn-red:hover { background: var(--red-dark); border-color: var(--red-dark); transform: translateY(-2px); }
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.btn-outline:hover { border-color: var(--text-muted); transform: translateY(-2px); }

/* =============================================
   NAVIGATION
   ============================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-h);
  z-index: 1000;
  transition: var(--ease);
}
.site-header.scrolled {
  background: rgba(12,17,23,.96);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo img { height: 46px; width: auto; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}
.nav-links a {
  font-size: .8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  transition: var(--ease);
}
.nav-links a:hover,
.nav-links a.active { color: var(--white); }
.nav-links .nav-cta {
  padding: .5rem 1.25rem;
  background: var(--red);
  color: var(--white) !important;
  border-radius: var(--radius);
}
.nav-links .nav-cta:hover { background: var(--red-dark); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: .4rem;
  color: var(--white);
  line-height: 0;
}

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--nav-h);
  overflow: hidden;
  background: var(--bg);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 45%, rgba(196,30,45,.13) 0%, transparent 65%),
    repeating-linear-gradient(0deg,   transparent, transparent 39px, rgba(37,46,61,.4) 40px),
    repeating-linear-gradient(90deg,  transparent, transparent 39px, rgba(37,46,61,.4) 40px);
  pointer-events: none;
}
.hero-content { position: relative; max-width: 720px; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  background: rgba(196,30,45,.14);
  border: 1px solid rgba(196,30,45,.3);
  color: var(--red-light);
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  padding: .4rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.5rem;
}
.hero-badge svg { flex-shrink: 0; }
.hero-title {
  font-size: clamp(4rem, 11vw, 8rem);
  font-weight: 800;
  line-height: .95;
  color: var(--white);
  margin-bottom: 1.5rem;
}
.hero-title .accent { color: var(--red); }
.hero-sub {
  font-size: 1.15rem;
  color: var(--text-muted);
  line-height: 1.8;
  max-width: 540px;
  margin-bottom: 2.5rem;
}
.hero-actions { display: flex; gap: 1rem; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 3rem;
  margin-top: 4rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
  flex-wrap: wrap;
}
.stat-num {
  display: block;
  font-family: var(--font-head);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--red);
  line-height: 1;
}
.stat-label { font-size: .82rem; color: var(--text-muted); margin-top: .25rem; }

/* =============================================
   WHO WE ARE
   ============================================= */
.who-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 5rem;
  align-items: center;
}
.feature-list { display: flex; flex-direction: column; gap: 1.5rem; margin-top: 2.5rem; }
.feature-item { display: flex; gap: 1rem; align-items: flex-start; }
.feature-icon {
  flex-shrink: 0;
  width: 40px; height: 40px;
  background: rgba(196,30,45,.14);
  border: 1px solid rgba(196,30,45,.25);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--red-light);
}
.feature-title {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  margin-bottom: .25rem;
}
.feature-text { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }
.who-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 3rem;
  position: relative;
  overflow: hidden;
}
.who-card::before {
  content: '';
  position: absolute;
  top: -40%; right: -20%;
  width: 280px; height: 280px;
  background: radial-gradient(circle, rgba(196,30,45,.16) 0%, transparent 70%);
  pointer-events: none;
}
.who-card-quote {
  font-family: var(--font-head);
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  line-height: 1.2;
  margin-bottom: 1.5rem;
  position: relative;
}
.who-card-text { font-size: .95rem; color: var(--text-muted); line-height: 1.75; position: relative; }

/* =============================================
   WHY US
   ============================================= */
.why-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 3rem;
}
.why-card {
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--ease);
  position: relative;
  overflow: hidden;
}
.why-card::after {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--red);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .4s ease;
}
.why-card:hover { border-color: rgba(196,30,45,.3); transform: translateY(-4px); }
.why-card:hover::after { transform: scaleX(1); }
.why-icon {
  width: 48px; height: 48px;
  background: rgba(196,30,45,.12);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--red-light);
  margin-bottom: 1.25rem;
}
.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  margin-bottom: .7rem;
}
.why-text { font-size: .88rem; color: var(--text-muted); line-height: 1.65; }

/* =============================================
   WHAT WE DO
   ============================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.svc-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: var(--ease);
}
.svc-card:hover {
  border-color: rgba(196,30,45,.4);
  background: var(--bg-3);
  transform: translateY(-4px);
}
.svc-icon {
  width: 52px; height: 52px;
  background: rgba(196,30,45,.12);
  border: 1px solid rgba(196,30,45,.2);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--red-light);
  margin-bottom: 1.25rem;
}
.svc-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
  margin-bottom: .6rem;
}
.svc-text { font-size: .875rem; color: var(--text-muted); line-height: 1.65; }

.no-contracts {
  background: linear-gradient(135deg, var(--red) 0%, var(--red-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 2.5rem 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}
.no-contracts-title {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: .5rem;
}
.no-contracts-text { font-size: .95rem; color: rgba(255,255,255,.82); max-width: 500px; line-height: 1.65; }
.btn-white {
  background: var(--white);
  color: var(--red);
  border-color: var(--white);
  font-weight: 700;
  flex-shrink: 0;
}
.btn-white:hover { background: var(--heading); border-color: var(--heading); transform: translateY(-2px); }

/* =============================================
   ABOUT US
   ============================================= */
.about-intro { max-width: 640px; margin-bottom: 3rem; }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.person-card {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  transition: var(--ease);
}
.person-card:hover { border-color: rgba(196,30,45,.3); }
.person-avatar {
  width: 64px; height: 64px;
  background: var(--red);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}
.person-name {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--heading);
  text-transform: uppercase;
}
.person-role {
  font-size: .78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--red-light);
  margin-bottom: 1.25rem;
  margin-top: .25rem;
}
.person-bio { font-size: .88rem; color: var(--text-muted); line-height: 1.75; }
.specialties { margin-top: 1.5rem; }
.spec-label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .5rem;
}
.spec-tags { display: flex; flex-wrap: wrap; gap: .35rem; }
.tag {
  font-size: .7rem;
  padding: .2rem .6rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: 999px;
  color: var(--text-muted);
}

/* =============================================
   CONTACT
   ============================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 4rem;
  align-items: start;
}
.contact-intro { margin-bottom: 2.5rem; }
.contact-items { display: flex; flex-direction: column; gap: 1.5rem; }
.contact-item { display: flex; gap: 1rem; align-items: flex-start; }
.ci-icon {
  width: 44px; height: 44px;
  background: rgba(196,30,45,.14);
  border: 1px solid rgba(196,30,45,.25);
  border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  color: var(--red-light);
  flex-shrink: 0;
}
.ci-label {
  font-size: .72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--text-muted);
  margin-bottom: .2rem;
}
.ci-value { font-size: 1rem; font-weight: 600; color: var(--heading); }
.ci-value a:hover { color: var(--red-light); }

.contact-form-wrap {
  background: var(--bg-2);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-label {
  display: block;
  font-size: .75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: var(--text-muted);
  margin-bottom: .45rem;
}
.form-input,
.form-textarea {
  width: 100%;
  padding: .82rem 1rem;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: var(--ease);
  outline: none;
  appearance: none;
}
.form-input:focus,
.form-textarea:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(196,30,45,.15);
}
.form-textarea { min-height: 130px; resize: vertical; }
.form-note { font-size: .78rem; color: var(--text-muted); margin-top: 1rem; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer {
  background: var(--bg);
  border-top: 1px solid var(--border);
  padding: 2.5rem 0;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.footer-logo img { height: 34px; opacity: .75; }
.footer-links { display: flex; gap: 1.75rem; }
.footer-links a {
  font-size: .78rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  transition: var(--ease);
}
.footer-links a:hover { color: var(--white); }
.footer-copy { font-size: .78rem; color: var(--text-muted); }

/* =============================================
   SCROLL ANIMATIONS
   ============================================= */
.fade-up {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .65s ease, transform .65s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: .1s; }
.delay-2 { transition-delay: .2s; }
.delay-3 { transition-delay: .3s; }
.delay-4 { transition-delay: .4s; }
.delay-5 { transition-delay: .5s; }

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .services-grid,
  .why-cards { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --nav-h: 64px; }

  .nav-links {
    position: fixed;
    top: var(--nav-h);
    left: 0; right: 0;
    background: rgba(12,17,23,.98);
    backdrop-filter: blur(14px);
    flex-direction: column;
    padding: 2rem 1.5rem;
    gap: 1.5rem;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%);
    opacity: 0;
    pointer-events: none;
    transition: transform .3s ease, opacity .3s ease;
    z-index: 999;
  }
  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }
  .nav-links a { font-size: 1.05rem; }
  .nav-toggle { display: flex; }

  .who-grid,
  .resi-grid,
  .contact-grid,
  .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }

  .services-grid,
  .why-cards { grid-template-columns: 1fr; }

  .hero-stats { gap: 1.5rem; }

  .no-contracts { flex-direction: column; text-align: center; }
  .no-contracts-text { max-width: 100%; }

  .form-row { grid-template-columns: 1fr; }

  .footer-inner { flex-direction: column; text-align: center; }
  .footer-links { flex-wrap: wrap; justify-content: center; }

  .section { padding: 4rem 0; }
}

@media (max-width: 480px) {
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { text-align: center; justify-content: center; }
}


/* =============================================
   TECHNOLOGIES SECTION
   ============================================= */

.tech-grid {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 2.5rem;
}

.tech-category {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.tech-cat-label {
  font-size: .7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--red-light);
  padding-bottom: .6rem;
  border-bottom: 1px solid var(--border);
}

.tech-logos {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
}

.tech-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .6rem;
  padding: 1.25rem 1.5rem;
  min-width: 110px;
  background: var(--bg-3);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: border-color var(--ease), background var(--ease);
  cursor: default;
}

.tech-logo:hover {
  border-color: var(--red);
  background: rgba(196,30,45,.06);
}

.tech-logo:hover .tech-text-logo {
  color: var(--heading);
}

.tech-text-logo {
  font-family: var(--font-head);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--text-muted);
  transition: color var(--ease);
}

.tech-more {
  text-align: center;
  margin-top: 2.5rem;
  color: var(--text-muted);
  font-size: .9rem;
  font-style: italic;
}

/* Responsive */
@media (max-width: 600px) {
  .tech-logos { gap: .5rem; }
  .tech-logo  { min-width: 90px; padding: 1rem; }
}
