/* FILE: styles.css
   DESCRIPTION: Complete design system for Gabriel Te Asegura — Midnight Navy + Teal palette
   TIED TO: index.html, contact.html
   LINE COUNT: ~1050
   ============================================ */

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

:root {
  --primary: #2563EB;
  --primary-light: #60A5FA;
  --primary-pale: rgba(37, 99, 235, 0.12);
  --gold: #00E6F0;
  --gold-light: #84FFFF;
  --gold-pale: rgba(0, 230, 240, 0.12);
  --navy: #050B14;
  --navy-mid: #0A1428;
  --navy-light: #112240;
  --navy-dark: #030712;
  --navy-card: #0C182F;
  --white: #FFFFFF;
  --off-white: #F8FAFC;
  --text-primary: #FFFFFF;
  --text-secondary: rgba(255, 255, 255, 0.85);
  --text-muted: rgba(255, 255, 255, 0.55);
  --border-color: rgba(255, 255, 255, 0.1);
  --border-hover: rgba(0, 230, 240, 0.3);
  --font-display: 'Montserrat', system-ui, sans-serif;
  --font-nav: 'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --ease: cubic-bezier(0.2, 0.8, 0.2, 1);
  --radius: 16px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text-secondary);
  background: var(--navy);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

/* ============================================
   SITE WRAPPER
   ============================================ */
.site-wrapper {
  position: relative;
  opacity: 1;
  background: var(--navy);
}

/* Global Cinematic Texture Overlay */
.site-wrapper::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.25;
  filter: url(#grain-noise);
}

.site-wrapper.visible {
  opacity: 1;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: box-shadow 0.3s var(--ease), transform 0.4s var(--ease), opacity 0.4s var(--ease), background 0.3s var(--ease);
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

.navbar.nav-visible {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.navbar.scrolled {
  background: rgba(10, 22, 40, 0.75);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.nav-container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
}

.nav-logo svg {
  color: var(--gold);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 1.5px;
  background: var(--white);
  border-radius: 2px;
  transition: 0.3s var(--ease);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-family: var(--font-nav);
  font-size: 0.72rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: var(--radius);
  transition: 0.2s var(--ease);
}

.nav-links a:hover {
  color: var(--white);
  background: rgba(255, 255, 255, 0.06);
}

/* ============================================
   CINEMATIC HERO
   ============================================ */
.cinematic-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: stretch;
  justify-content: flex-start;
  background: var(--navy);
  overflow: hidden;
  padding: 40px 30px 40px;
  perspective: 1000px;
  transform-style: preserve-3d;
}

@media (max-width: 768px) {
  .cinematic-hero {
    padding: 90px 20px 40px;
  }
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background: var(--navy);
  z-index: 0;
  overflow: hidden;
}

.hero-bg-image::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url('assets/Gemini_Generated_Image_6jw5nz6jw5nz6jw5.png') center center / cover no-repeat;
  opacity: 0.85;
}

.rim-light-glow {
  position: absolute;
  top: 35%;
  right: 15%;
  width: 800px;
  height: 800px;
  background: radial-gradient(circle, rgba(0, 230, 240, 0.25) 0%, transparent 60%);
  transform: translate(50%, -50%);
  z-index: 1;
  mix-blend-mode: screen;
  pointer-events: none;
  animation: glowPulse 10s infinite alternate ease-in-out;
}

@keyframes glowPulse {
  0% {
    transform: translate(50%, -50%) scale(1);
    opacity: 0.6;
  }

  100% {
    transform: translate(45%, -55%) scale(1.1);
    opacity: 0.9;
  }
}

.image-placeholder-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, var(--navy) 5%, transparent 100%);
  z-index: 1;
  pointer-events: none;
}

/* NETWORK BACKGROUND & DEPTH LAYERS */
.hero-network-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1;
  /* Middle Ground */
  opacity: 0.25;
  pointer-events: none;
  transform: translateZ(50px);
}

/* LIGHT LEAKS & ATMOSPHERE */
.light-leak {
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 20% 20%, rgba(0, 230, 240, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(37, 99, 235, 0.05) 0%, transparent 50%);
  z-index: 5;
  pointer-events: none;
  mix-blend-mode: screen;
  animation: lightShift 15s infinite alternate ease-in-out;
}

@keyframes lightShift {
  from {
    transform: scale(1) translate(0, 0);
    opacity: 0.5;
  }

  to {
    transform: scale(1.1) translate(20px, 10px);
    opacity: 0.8;
  }
}

/* MICRO-PARTICLES (DUST) */
.dust-container {
  position: absolute;
  inset: 0;
  z-index: 10;
  pointer-events: none;
  overflow: hidden;
}

.dust {
  position: absolute;
  width: 2px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
  animation: float 20s infinite linear;
}

@keyframes float {
  0% {
    transform: translate(0, 100vh) rotate(0deg);
    opacity: 0;
  }

  10% {
    opacity: 1;
  }

  90% {
    opacity: 1;
  }

  100% {
    transform: translate(100px, -100px) rotate(360deg);
    opacity: 0;
  }
}

.net-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, 0.2);
}

.net-ring-1 {
  width: 400px;
  height: 400px;
  border-style: solid;
  border-color: rgba(255, 255, 255, 0.05);
}

.net-ring-2 {
  width: 700px;
  height: 700px;
  opacity: 0.6;
}

.net-ring-3 {
  width: 1000px;
  height: 1000px;
  opacity: 0.3;
}

.net-shield {
  position: absolute;
  width: 80px;
  height: 80px;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(10, 20, 40, 0.5);
  backdrop-filter: blur(4px);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 40px rgba(0, 230, 240, 0.05);
}

.net-shield svg {
  width: 48px;
  height: 48px;
  opacity: 0.8;
}

.shield-tl {
  top: 25%;
  left: 20%;
  transform: rotate(-5deg);
}

.shield-tr {
  top: 20%;
  right: 25%;
  transform: rotate(5deg);
}

.shield-bl {
  bottom: 30%;
  left: 15%;
  transform: rotate(-8deg);
}

.shield-br {
  bottom: 25%;
  right: 20%;
  transform: rotate(12deg);
}

.cinematic-content {
  position: absolute;
  inset: 0;
  z-index: 100;
  padding: clamp(16px, 2.5vw, 40px) clamp(16px, 2.5vw, 40px);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  /* Allows interacting with background if needed */
}

/* Quadrant Zones */
.hero-header-zone,
.hero-quote-zone,
.hero-actions-zone {
  pointer-events: auto;
  /* Re-enable for content */
}

.hero-quote-zone {
  position: absolute;
  top: clamp(20px, 3vw, 50px);
  right: clamp(20px, 5vw, 80px);
  /* Moved slightly left */
  max-width: 550px;
  /* Increased for larger font */
}

.hero-actions-zone {
  margin-top: auto;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 0.95;
  letter-spacing: -0.02em;
  color: var(--gold-light);
  filter: drop-shadow(0px 8px 16px rgba(0, 0, 0, 0.5));
  margin-bottom: 8px;
}

.light-text {
  font-family: var(--font-nav);
  font-weight: 300;
  letter-spacing: 0.05em;
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1rem, 1.3vw, 1.4rem);
  font-weight: 700;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  margin-bottom: 0;
}

.hero-subtitle {
  font-family: Georgia, 'Times New Roman', serif;
  font-style: italic;
  font-size: clamp(1.3rem, 2vw, 2rem);
  /* Scaled even further */
  color: var(--text-secondary);
  line-height: 1.5;
  font-weight: 400;
  text-align: right;
  z-index: 101;
  /* Typewriter specific: cursor effect */
  border-right: 2px solid transparent;
  display: inline-block;
}

.hero-shield-decoration {
  position: absolute;
  bottom: -50px;
  right: -50px;
  width: clamp(300px, 40vw, 600px);
  height: auto;
  color: var(--gold);
  opacity: 0.08;
  z-index: 1;
  pointer-events: none;
  transform: rotate(-15deg);
  filter: drop-shadow(0 0 40px var(--gold));
}

.hero-shield-decoration svg {
  width: 100%;
  height: 100%;
}





.cinematic-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.btn-solid-teal,
.btn-solid-white {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 36px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  border-radius: 100px;
  border: 1.5px solid transparent;
  /* Keeps height mathematically precise */
  text-decoration: none;
  transition: all 0.3s var(--ease);
}

.btn-solid-teal {
  background: linear-gradient(135deg, #008080, #00E6F0);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(0, 230, 240, 0.2);
}

.btn-solid-teal:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(0, 230, 240, 0.4);
}

.btn-solid-white {
  background: #FFFFFF;
  color: var(--navy);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-solid-white:hover {
  transform: translateY(-4px);
  box-shadow: 0 15px 40px rgba(255, 255, 255, 0.2);
}

.hero-nav-indicators {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 120px;
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  color: var(--gold);
  opacity: 0.8;
  z-index: 10;
}

.hero-nav-indicators .active {
  position: relative;
}

.hero-nav-indicators .active::after {
  content: '';
  position: absolute;
  top: 15px;
  left: -10px;
  width: 40px;
  height: 1px;
  background: currentColor;
  transform: rotate(45deg);
}

.hero-nav-indicators .nav-label {
  transform: rotate(90deg);
  transform-origin: left top;
}

@media (max-width: 768px) {
  .hero-nav-indicators {
    display: none;
  }
}

/* Staggered entrance animation */
.anim-in {
  opacity: 0;
  transform: translateY(20px);
  animation: animIn 0.6s var(--ease) forwards;
  animation-delay: var(--delay, 0s);
}

@keyframes animIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   BUTTONS — Primary + Outline
   ============================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 230, 240, 0.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 30px;
  background: var(--white);
  color: var(--navy);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: var(--radius);
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease);
}

.btn-outline:hover {
  background: var(--off-white);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.25);
}

.btn-full {
  width: 100%;
  justify-content: center;
}

.btn-lg {
  padding: 16px 36px;
  font-size: 1rem;
}

/* ============================================
   SECTION COMMON
   ============================================ */
section {
  padding: 120px 5%;
}

.section-label {
  display: block;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 1.5rem;
  text-align: left;
}

.section-heading {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 900;
  color: var(--white);
  margin-bottom: 60px;
  line-height: 1.1;
  letter-spacing: -0.02em;
  text-align: left;
}

.reveal {
  opacity: 0;
  transform: translateY(50px);
  transition: opacity 1s cubic-bezier(0.16, 1, 0.3, 1), transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.about-left.reveal {
  transform: translateX(-60px);
}

.about-right.reveal {
  transform: translateX(60px);
}

.about-left.reveal.visible,
.about-right.reveal.visible {
  transform: translate(0);
}

/* Staggering effects for inner grids */
.about-right.reveal.visible .value-card {
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.about-right.reveal.visible .value-card:nth-child(1) {
  animation-delay: 0.1s;
}

.about-right.reveal.visible .value-card:nth-child(2) {
  animation-delay: 0.25s;
}

.about-right.reveal.visible .value-card:nth-child(3) {
  animation-delay: 0.4s;
}

.team-grid.reveal.visible .team-member {
  animation: revealUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) both;
}

.team-grid.reveal.visible .team-member:nth-child(1) {
  animation-delay: 0.1s;
}

.team-grid.reveal.visible .team-member:nth-child(2) {
  animation-delay: 0.25s;
}

.team-grid.reveal.visible .team-member:nth-child(3) {
  animation-delay: 0.4s;
}

@keyframes revealUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   ABOUT
   ============================================ */
.about {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
}

.about-container {
  max-width: 1060px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 72px;
  align-items: start;
}

.about-bio {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.9;
  margin-bottom: 14px;
}

.about-bio strong {
  color: var(--gold);
}

.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 80px;
  padding: 40px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.about-stats .stat {
  flex: 1;
  position: relative;
}

.about-stats .stat:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 4.5rem;
  font-weight: 800;
  color: var(--gold);
  display: block;
  line-height: 1;
}

.stat-lbl {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
  display: block;
}

.about-cta {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 48px;
}

.about-cta-note {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--text-muted);
  max-width: 200px;
  line-height: 1.4;
}

.about-right {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.value-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 24px;
  background: var(--navy-card);
  border-radius: var(--radius);
  border: 1px solid var(--border-color);
  transition: all 0.3s var(--ease);
}

.value-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 6px 20px rgba(0, 230, 240, 0.1);
  transform: translateY(-3px);
}

.value-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  background: var(--primary-pale);
  color: var(--primary);
}

.value-card h3 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 4px;
}

.value-card p {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ============================================
   SERVICES
   ============================================ */
.services {
  background: var(--navy-dark);
  text-align: center;
}

.services-container {
  max-width: 1060px;
  margin: 0 auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.service-card {
  background: rgba(255, 255, 255, 0.02);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: 32px;
  padding: 60px 40px;
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.5s var(--ease);
  opacity: 0;
  transform: translateY(20px);
  animation: cardIn 0.5s var(--ease) forwards;
}

@keyframes cardIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.service-card:hover {
  background: rgba(0, 230, 240, 0.03);
  border-color: rgba(0, 230, 240, 0.4);
  transform: translateY(-10px);
  box-shadow: 0 40px 80px rgba(0, 0, 0, 0.5);
}

.service-icon {
  width: 60px;
  height: 60px;
  margin: 0 auto 20px;
  background: var(--primary-pale);
  border: none;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  transition: 0.3s var(--ease);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy);
}

.service-title {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 20px;
}

.service-description {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
}

/* ============================================
   TEAM
   ============================================ */
.team {
  background: var(--navy-mid);
  text-align: center;
}

.team-container {
  max-width: 800px;
  margin: 0 auto;
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 60px;
}

.team-member {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: transparent;
}

.team-avatar {
  background: var(--navy-card);
  border: 2px solid rgba(255, 255, 255, 0.05);
  border-radius: 24px;
  aspect-ratio: 1/1;
  width: 100%;
  max-width: 250px;
  margin: 0 auto 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.5s ease;
}

.team-member:hover .team-avatar {
  border-color: var(--gold);
  transform: scale(1.05);
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
}

.team-member h3 {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--gold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.team-member p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* ============================================
   ORBITING AVATARS CTA
   ============================================ */
@keyframes orbitSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

@keyframes counterSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(-360deg);
  }
}

@keyframes avatarFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-14px);
  }
}

.orbit-cta {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 90vh;
  overflow: hidden;
  background: var(--navy-dark);
}

.orbit-cta-inner {
  position: relative;
  width: 100%;
  max-width: 700px;
  min-height: 80vh;
  height: 700px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.orbit-rings {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 1.5px dashed rgba(74, 158, 255, 0.15);
}

.orbit-ring-1 {
  width: 360px;
  height: 360px;
}

.orbit-ring-2 {
  width: 520px;
  height: 520px;
  opacity: 0.6;
}

.orbit-ring-3 {
  width: 660px;
  height: 660px;
  opacity: 0.3;
}

.orbit-avatars {
  position: absolute;
  inset: 0;
  animation: orbitSpin 45s linear infinite;
}

.orbit-avatar-pos {
  position: absolute;
  left: 50%;
  top: 50%;
}

.orbit-avatar-float {
  animation: avatarFloat 5s ease-in-out infinite;
}

.orbit-avatar-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
  animation: counterSpin 45s linear infinite;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
}

.orbit-avatar-circle:hover {
  transform: scale(1.2);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.orbit-avatar-circle span {
  color: white;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.orbit-content {
  position: relative;
  z-index: 100;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 1.5rem;
}

.orbit-shield {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
  margin-bottom: 0;
  box-shadow: 0 8px 32px rgba(0, 230, 240, 0.3);
}

.orbit-heading {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin: 0;
}

.orbit-desc {
  color: var(--text-muted);
  font-size: 1.1rem;
  max-width: 450px;
  line-height: 1.7;
  margin: 0;
}

/* ============================================
   TESTIMONIALS — auto-scrolling columns
   ============================================ */
.testimonials {
  background: linear-gradient(180deg, var(--navy) 0%, var(--navy-mid) 100%);
  overflow: hidden;
  position: relative;
}

.testimonials-container {
  max-width: 1200px;
  margin: 0 auto;
}

.testimonials-subtitle {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-top: 12px;
  margin-bottom: 48px;
  line-height: 1.7;
}

.testimonials-grid {
  display: flex;
  justify-content: center;
  gap: 24px;
  max-height: 700px;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
  mask-image: linear-gradient(to bottom, transparent, black 8%, black 92%, transparent);
}

.testimonial-column {
  flex: 0 0 320px;
  max-width: 320px;
  overflow: hidden;
}

.testimonial-col-md {
  display: none;
}

.testimonial-col-lg {
  display: none;
}

.testimonial-scroll {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0;
  margin: 0;
  animation: testimonialScroll linear infinite;
}

@keyframes testimonialScroll {
  0% {
    transform: translateY(0);
  }

  100% {
    transform: translateY(-50%);
  }
}

.testimonial-card {
  padding: 28px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-color);
  background: var(--navy-card);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  cursor: default;
  text-align: left;
}

.testimonial-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-card blockquote {
  margin: 0;
  padding: 0;
}

.testimonial-text {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.8;
  margin: 0;
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: box-shadow 0.3s var(--ease);
}

.testimonial-card:hover .testimonial-avatar {
  box-shadow: 0 0 0 3px rgba(0, 230, 240, 0.3);
}

.testimonial-avatar span {
  color: white;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
}

.testimonial-info {
  display: flex;
  flex-direction: column;
}

.testimonial-name {
  font-style: normal;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--white);
  line-height: 1.3;
}

.testimonial-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 2px;
}

@media (min-width: 768px) {
  .testimonial-col-md {
    display: block;
  }
}

@media (min-width: 1024px) {
  .testimonial-col-lg {
    display: block;
  }
}

/* ============================================
   CONTACT PAGE (separate page)
   ============================================ */
.contact-page {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  padding: 100px 28px 60px;
  background: var(--navy);
}

.contact-page-container {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  width: 100%;
}

.contact-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
  margin-bottom: 24px;
  transition: 0.2s;
}

.contact-back:hover {
  gap: 12px;
}

.contact-page-heading {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-top: 8px;
}

.contact-page-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.8;
  margin-top: 16px;
}

.contact-info-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
}

.contact-info-card {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 22px;
  border-radius: var(--radius);
  border: 1.5px solid var(--border-color);
  background: var(--navy-card);
  transition: 0.25s var(--ease);
}

.contact-info-card:hover {
  border-color: var(--border-hover);
  background: var(--navy-light);
  box-shadow: 0 4px 16px rgba(0, 230, 240, 0.1);
}

.contact-info-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: var(--primary-pale);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-info-card h4 {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--white);
}

.contact-info-card p {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-top: 2px;
}

.contact-page-right {
  background: var(--navy-card);
  border-radius: 16px;
  padding: 40px;
  border: 1.5px solid var(--border-color);
}

.contact-form {
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-select {
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--navy-mid);
  outline: none;
  transition: 0.25s var(--ease);
  min-height: 46px;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg width='12' height='8' viewBox='0 0 12 8' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M1 1.5L6 6.5L11 1.5' stroke='%2300E6F0' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 230, 240, 0.15);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 0.02em;
}

.form-group input,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius);
  font-family: var(--font-body);
  font-size: 0.88rem;
  color: var(--text-primary);
  background: var(--navy-mid);
  outline: none;
  transition: 0.25s var(--ease);
  min-height: 46px;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 230, 240, 0.15);
}

.form-group textarea {
  resize: vertical;
  min-height: 100px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  position: relative;
  overflow: hidden;
  padding: 15rem 5% 5rem;
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.6);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-glow {
  position: absolute;
  width: 500px;
  height: 300px;
  background: radial-gradient(ellipse, rgba(0, 230, 240, 0.06), transparent 70%);
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
}

.footer-bg-text {
  position: absolute;
  top: 5rem;
  left: 0;
  width: 100%;
  font-size: 25vw;
  font-family: var(--font-display);
  font-weight: 900;
  line-height: 0.7;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255, 255, 255, 0.03);
  text-align: center;
  user-select: none;
  pointer-events: none;
  z-index: 0;
  letter-spacing: -0.05em;
}

.footer-content {
  position: relative;
  z-index: 10;
  max-width: 1060px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 2rem;
  color: var(--white);
}

.footer-brand svg {
  color: var(--gold);
}

.footer-links {
  display: flex;
  gap: 40px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-bottom p {
  font-size: 0.75rem;
  opacity: 0.4;
}

.footer-socials {
  display: flex;
  gap: 8px;
}

.social-link {
  color: rgba(255, 255, 255, 0.35);
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.06);
  transition: 0.25s var(--ease);
}

.social-link:hover {
  color: var(--gold);
  background: rgba(0, 230, 240, 0.1);
  border-color: rgba(0, 230, 240, 0.3);
  transform: translateY(-2px);
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .about-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .team-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contact-page-container {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .contact-page-right {
    padding: 32px;
  }
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    background: rgba(10, 22, 40, 0.98);
    backdrop-filter: blur(16px);
    flex-direction: column;
    padding: 12px 20px;
    gap: 2px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: 0.25s var(--ease);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .nav-links a {
    padding: 12px 14px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 28px 24px;
    border-radius: 20px;
    display: flex;
    flex-direction: row;
    align-items: center;
    text-align: left;
    gap: 16px;
  }

  .service-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    margin: 0;
  }

  .service-title {
    font-size: 1.1rem;
    margin-bottom: 4px;
  }

  .service-description {
    font-size: 0.82rem;
    line-height: 1.5;
    margin: 0;
  }

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

  .orbit-cta {
    min-height: 70vh;
  }

  .orbit-cta-inner {
    width: 100%;
    height: 500px;
  }

  .orbit-ring-1 {
    width: 260px;
    height: 260px;
  }

  .orbit-ring-2 {
    width: 380px;
    height: 380px;
  }

  .orbit-ring-3 {
    width: 480px;
    height: 480px;
  }

  .orbit-avatar-circle {
    width: 40px;
    height: 40px;
  }

  .orbit-avatar-circle span {
    font-size: 0.72rem;
  }

  .footer-top {
    flex-direction: column;
    gap: 24px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    gap: 16px;
    text-align: center;
  }
}

@media (max-width: 768px) {

  /* MOBILE REFINEMENT: Unified Cinematic Hero */
  .cinematic-hero {
    min-height: 100vh;
    min-height: 100svh;
    padding: 90px 20px 32px;
    align-items: flex-start;
  }

  .hero-bg-image {
    position: absolute;
    inset: 0;
    z-index: 0;
  }

  .hero-bg-image::after {
    background-position: center center !important;
  }

  .cinematic-content {
    max-width: 100%;
    gap: 0;
  }

  .hero-title {
    font-size: clamp(2.2rem, 10vw, 3.2rem);
    line-height: 1;
    margin-bottom: 16px;
    max-width: 100%;
  }

  .hero-tagline {
    font-size: 0.75rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
  }

  .hero-subtitle {
    display: none;
  }

  .cinematic-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 24px;
  }

  .btn-solid-teal,
  .btn-solid-white {
    width: 100%;
    justify-content: center;
    padding: 16px 24px;
    font-size: 1rem;
  }

  /* Decorative BG — calm down on phone */
  .rim-light-glow {
    width: 400px;
    height: 400px;
    right: auto;
    left: 50%;
    transform: translateX(-50%);
  }

  .net-ring-1,
  .net-ring-2,
  .net-ring-3 {
    display: none;
  }

  .net-shield {
    display: none;
  }

  /* Section spacing */
  section {
    padding-left: 20px;
    padding-right: 20px;
  }

  .about-cta {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    margin-top: 32px;
  }
}
}

@media (max-width: 480px) {
  html {
    font-size: 15px;
  }

  .about-stats {
    flex-direction: column;
    gap: 16px;
  }

  .team-grid {
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }

  .team-avatar {
    max-width: 120px;
  }

  .cinematic-hero {
    padding: 80px 16px 28px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  .cinematic-hero {
    padding: 60px 16px 28px;
  }

  .hero-title {
    font-size: clamp(1.8rem, 10vw, 2.4rem);
  }

  /* Typography — tame big display text on small screens */
  h2 {
    font-size: clamp(1.6rem, 7vw, 2.2rem) !important;
  }

  h3 {
    font-size: 1.15rem;
  }

  /* Footer */
  .footer-brand {
    font-size: 1.4rem;
  }

  .footer-links {
    gap: 18px;
  }

  .footer-links a {
    font-size: 0.9rem;
  }

  /* Avoid horizontal scroll */
  body,
  html {
    overflow-x: hidden;
  }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }

  .reveal,
  .anim-in {
    opacity: 1;
    transform: none;
  }
}