/* ===========================
   KAIRO ESTUDIO CREATIVO
   styles.css · v20260603
   =========================== */

/* ── FUENTES CUSTOM ── */
@font-face {
  font-family: 'Cinema Sunday';
  src: url('assets/fonts/CinemaSundayDemo.woff2') format('woff2'),
       url('assets/fonts/CinemaSundayDemo.woff')  format('woff'),
       url('assets/fonts/CinemaSundayDemo.otf')   format('opentype'),
       url('assets/fonts/CinemaSundayDemo.ttf')   format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: 'Delight';
  src: url('assets/fonts/DelightThin.woff2') format('woff2'),
       url('assets/fonts/DelightThin.woff')  format('woff'),
       url('assets/fonts/DelightThin.otf')   format('opentype'),
       url('assets/fonts/DelightThin.ttf')   format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

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

:root {
  --bg-deep:    #04040f;
  --bg-dark:    #07091a;
  --bg-mid:     #0a0e22;
  --blue-1:     #0033aa;
  --blue-2:     #0055cc;
  --blue-3:     #0077ff;
  --blue-neon:  #00aaff;
  --blue-bright:#33ccff;
  --accent:     #00aaff;
  --white:      #ffffff;
  --text:       rgba(255,255,255,0.88);
  --text-muted: rgba(255,255,255,0.45);
  --font-main:  'Inter', sans-serif;
  --font-display:'Barlow Condensed', sans-serif;
  --ease-out:   cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out:cubic-bezier(0.65, 0, 0.35, 1);
}

html { 
  scroll-behavior: smooth; 
  font-size: 16px; 
  max-width: 100vw;
  overflow-x: hidden;
}

body {
  background: var(--bg-deep);
  color: var(--text);
  font-family: var(--font-main);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ── PARTICLES CANVAS ── */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* ── CUSTOM CURSOR ── */
#cursor {
  position: fixed;
  width: 36px; height: 36px;
  border: 1.5px solid rgba(0,170,255,0.6);
  border-radius: 50%;
  pointer-events: none;
  z-index: 9999;
  transform: translate(-50%,-50%);
  transition: width 0.2s, height 0.2s, border-color 0.2s, opacity 0.3s;
  mix-blend-mode: normal;
}
#cursor-dot {
  position: fixed;
  width: 5px; height: 5px;
  background: var(--blue-neon);
  border-radius: 50%;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%,-50%);
  box-shadow: 0 0 8px var(--blue-neon);
}
body:hover #cursor { opacity: 1; }
@media (hover: none) { #cursor, #cursor-dot { display: none; } }

/* ── SPLASH ── */
#splash {
  position: fixed;
  inset: 0;
  background: var(--bg-deep);
  z-index: 10000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  animation: splashHide 0.6s ease-out 2.8s forwards;
}
@keyframes splashHide {
  to { opacity: 0; pointer-events: none; }
}
.splash-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: splashReveal 0.8s var(--ease-out) 0.3s both;
}
@keyframes splashReveal {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: translateY(0); }
}
.splash-logo svg { width: 180px; height: auto; }
.splash-sub {
  font-family: var(--font-main);
  font-size: 0.7rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.splash-bar {
  width: 180px; height: 2px;
  background: rgba(255,255,255,0.1);
  border-radius: 2px;
  overflow: hidden;
  animation: splashReveal 0.4s ease 0.6s both;
}
.splash-bar-fill {
  height: 100%;
  width: 0;
  background: linear-gradient(90deg, var(--blue-3), var(--blue-neon));
  border-radius: 2px;
  animation: splashLoad 2s ease 0.8s forwards;
}
@keyframes splashLoad { to { width: 100%; } }

/* ── NAV ── */
#nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 4vw;
  transition: background 0.4s, backdrop-filter 0.4s, padding 0.3s;
}
#nav.scrolled {
  background: rgba(4,4,15,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 0.8rem 4vw;
  border-bottom: 1px solid rgba(0,170,255,0.08);
}
.nav-logo {
  display: flex; flex-direction: column;
  text-decoration: none; line-height: 1;
}
.nav-logo-text {
  font-family: 'Cinema Sunday', var(--font-display);
  font-size: 1.8rem; font-weight: normal;
  letter-spacing: 0.04em;
  color: var(--white);
  background: linear-gradient(135deg, #fff 40%, var(--blue-neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: none;
}
.nav-logo-sub {
  font-family: 'Delight', 'Inter', sans-serif;
  font-weight: 100;
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: lowercase; color: var(--text-muted);
}
.nav-links {
  display: flex; align-items: center; gap: 2rem;
  list-style: none;
}
.nav-links a {
  color: var(--text-muted); text-decoration: none;
  font-size: 0.875rem; font-weight: 500;
  letter-spacing: 0.03em;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--blue-3) !important;
  color: var(--white) !important;
  padding: 0.5rem 1.25rem;
  border-radius: 100px;
  font-weight: 600 !important;
  transition: background 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 0 20px rgba(0,119,255,0.35);
}
.nav-cta:hover {
  background: var(--blue-neon) !important;
  box-shadow: 0 0 30px rgba(0,170,255,0.5) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  background: none; border: none;
  cursor: pointer; padding: 4px;
}
.nav-toggle span {
  display: block; width: 24px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── REVEAL ANIMATION ── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* Safety net: force visible after 6s */
.reveal[data-split] { opacity: 1; transform: none; }

/* ── CONTAINER ── */
.container {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 5vw;
}

/* ── SECTION COMMON ── */
.section-dark   { background: var(--bg-dark); padding: 7rem 0; position: relative; z-index: 1; }
.section-darker { background: var(--bg-mid);  padding: 7rem 0; position: relative; z-index: 1; }

.section-header { text-align: center; margin-bottom: 4rem; }
.section-eyebrow {
  font-size: 0.75rem; letter-spacing: 0.2em;
  text-transform: uppercase; color: var(--blue-neon);
  margin-bottom: 0.75rem; font-weight: 600;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 900; line-height: 1.1;
  color: var(--white);
}
.section-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-neon), var(--blue-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-desc {
  max-width: 560px; margin: 1.25rem auto 0;
  color: var(--text-muted); line-height: 1.7; font-size: 1rem;
}

/* ── BUTTONS ── */
.btn-primary {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: linear-gradient(135deg, var(--blue-3), var(--blue-neon));
  color: var(--white); text-decoration: none;
  padding: 0.85rem 2rem; border-radius: 100px;
  font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 0 30px rgba(0,119,255,0.4);
  transition: box-shadow 0.3s, transform 0.2s;
  position: relative; overflow: hidden;
}
.btn-primary::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--blue-neon), var(--blue-bright));
  opacity: 0; transition: opacity 0.3s;
}
.btn-primary:hover { box-shadow: 0 0 50px rgba(0,170,255,0.6); transform: translateY(-2px); }
.btn-primary:hover::after { opacity: 1; }
.btn-primary span, .btn-primary svg { position: relative; z-index: 1; }

.btn-ghost {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text); text-decoration: none;
  padding: 0.85rem 2rem; border-radius: 100px;
  font-weight: 600; font-size: 0.95rem;
  border: 1.5px solid rgba(255,255,255,0.15);
  transition: border-color 0.3s, color 0.3s, background 0.3s;
}
.btn-ghost:hover {
  border-color: var(--blue-neon);
  color: var(--blue-neon);
  background: rgba(0,170,255,0.06);
}

/* ── HERO ── */
#hero {
  min-height: 100svh;
  display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
  background: radial-gradient(ellipse 80% 70% at 50% -10%, #0d2a6e 0%, transparent 70%),
              var(--bg-deep);
  padding: 8rem 5vw 5rem;
  z-index: 1;
}
.hero-bg-glow {
  position: absolute; border-radius: 50%;
  filter: blur(80px); pointer-events: none;
}
.glow-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,85,204,0.25) 0%, transparent 70%);
  top: -150px; left: -150px;
  animation: glowPulse 8s ease-in-out infinite;
}
.glow-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,170,255,0.15) 0%, transparent 70%);
  top: 10%; right: -100px;
  animation: glowPulse 10s ease-in-out 2s infinite;
}
.glow-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,50,180,0.2) 0%, transparent 70%);
  bottom: 0; left: 30%;
  animation: glowPulse 7s ease-in-out 4s infinite;
}
@keyframes glowPulse {
  0%,100% { transform: scale(1); opacity: 0.8; }
  50%      { transform: scale(1.15); opacity: 1; }
}

.hero-content {
  position: relative; z-index: 2;
  max-width: 700px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1.5rem;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  border: 1px solid rgba(0,170,255,0.3);
  background: rgba(0,170,255,0.06);
  padding: 0.4rem 1rem; border-radius: 100px;
  font-size: 0.75rem; font-weight: 500;
  color: var(--blue-bright); letter-spacing: 0.05em;
}
.badge-dot {
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--blue-neon);
  box-shadow: 0 0 8px var(--blue-neon);
  animation: badgePulse 2s ease infinite;
}
@keyframes badgePulse {
  0%,100% { box-shadow: 0 0 6px var(--blue-neon); }
  50%      { box-shadow: 0 0 14px var(--blue-neon), 0 0 24px rgba(0,170,255,0.4); }
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900; line-height: 1.0;
  color: var(--white);
  display: flex; flex-direction: column;
  text-transform: uppercase; letter-spacing: 0.02em;
}
.hero-line { display: block; }
.hero-line-accent {
  background: linear-gradient(135deg, var(--blue-neon) 0%, var(--blue-bright) 50%, #ffffff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 30px rgba(0,170,255,0.4));
}

.hero-sub {
  font-size: clamp(1rem, 2.5vw, 1.3rem);
  color: var(--text-muted); max-width: 420px; line-height: 1.6;
}
.hero-sub strong { color: var(--white); font-weight: 700; }

/* ROCKET SCENE — TURTLE REAL */
.hero-rocket-wrap {
  position: relative;
  width: 360px; height: 360px;
}
.rocket-scene {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* Tortuga real */
.turtle-real-wrap {
  position: relative;
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  animation: turtleFloatReal 4s ease-in-out infinite;
}
.turtle-real-img {
  width: 100%; height: 100%;
  object-fit: contain;
  /* Sin borde redondo para que la tortuga recortada se vea libre */
  filter: drop-shadow(0 0 40px rgba(0,170,255,0.7))
          drop-shadow(0 0 80px rgba(0,120,255,0.4))
          drop-shadow(0 0 120px rgba(0,170,255,0.2));
  transition: filter 0.4s;
}
.team-card:hover .turtle-real-img,
.hero-rocket-wrap:hover .turtle-real-img {
  filter: drop-shadow(0 0 60px rgba(0,200,255,0.9))
          drop-shadow(0 0 100px rgba(0,150,255,0.5));
}
.turtle-real-glow {
  position: absolute; inset: -20%;
  background: radial-gradient(circle at 50% 60%, rgba(0,170,255,0.25) 0%, rgba(0,60,200,0.15) 40%, transparent 70%);
  border-radius: 50%;
  animation: turtleGlowPulse 4s ease-in-out infinite;
  pointer-events: none;
}
@keyframes turtleFloatReal {
  0%,100% { transform: translateY(0) rotate(-2deg); }
  50%      { transform: translateY(-20px) rotate(2deg); }
}
@keyframes turtleGlowPulse {
  0%,100% { opacity: 0.7; transform: scale(1); }
  50%      { opacity: 1;   transform: scale(1.1); }
}

/* Chispas decorativas */
.hero-spark {
  position: absolute;
  border-radius: 50%;
  background: var(--blue-neon);
  box-shadow: 0 0 10px var(--blue-neon);
}
.hero-spark.s1 { width:6px; height:6px; top:10%; right:15%; animation: sparkFloat 3s ease-in-out infinite; }
.hero-spark.s2 { width:4px; height:4px; top:70%; left:8%;  animation: sparkFloat 4s ease-in-out 0.8s infinite; }
.hero-spark.s3 { width:5px; height:5px; bottom:15%; right:10%; animation: sparkFloat 3.5s ease-in-out 1.5s infinite; opacity:0.7; }
.hero-spark.s4 { width:3px; height:3px; top:30%; left:5%;  animation: sparkFloat 2.8s ease-in-out 2s infinite; opacity:0.5; }
@keyframes sparkFloat {
  0%,100% { transform: translateY(0) scale(1); opacity:1; }
  50%      { transform: translateY(-12px) scale(1.5); opacity:0.4; }
}

@media (max-width: 700px) {
  .hero-rocket-wrap { width: 260px; height: 260px; }
}

.hero-actions {
  display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; justify-content: center;
}

.hero-stats {
  display: flex; align-items: center; gap: 2rem;
  margin-top: 0.5rem;
  padding: 1.25rem 2rem;
  background: rgba(0,170,255,0.05);
  border: 1px solid rgba(0,170,255,0.12);
  border-radius: 16px;
  backdrop-filter: blur(10px);
}
.stat { text-align: center; }
.stat-num {
  font-family: var(--font-display);
  font-size: 2rem; font-weight: 900;
  background: linear-gradient(135deg, var(--white), var(--blue-neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat span { font-size: 1.3rem; font-weight: 700; color: var(--blue-neon); vertical-align: top; margin-top: 4px; display: inline-block; }
.stat p { font-size: 0.7rem; color: var(--text-muted); letter-spacing: 0.05em; margin-top: 2px; }
.stat-divider { width: 1px; height: 40px; background: rgba(0,170,255,0.2); }

.hero-scroll-hint {
  position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: var(--text-muted); font-size: 0.72rem; letter-spacing: 0.1em;
  text-transform: uppercase; animation: hintFade 2s ease 3.5s both;
}
@keyframes hintFade { from { opacity: 0; } to { opacity: 1; } }
.scroll-arrow {
  width: 20px; height: 20px;
  border-right: 2px solid rgba(0,170,255,0.5);
  border-bottom: 2px solid rgba(0,170,255,0.5);
  transform: rotate(45deg);
  animation: arrowBounce 1.5s ease-in-out infinite;
}
@keyframes arrowBounce {
  0%,100% { transform: rotate(45deg) translateY(0); }
  50%      { transform: rotate(45deg) translateY(6px); }
}

/* ── TAGLINE BAND ── */
.tagline-band {
  background: linear-gradient(90deg, rgba(0,85,204,0.8), rgba(0,119,255,0.8));
  border-top: 1px solid rgba(0,170,255,0.2);
  border-bottom: 1px solid rgba(0,170,255,0.2);
  overflow: hidden; padding: 0.9rem 0;
  position: relative; z-index: 1;
}
.ticker-wrap { overflow: hidden; white-space: nowrap; }
.ticker {
  display: inline-block;
  animation: tickerScroll 25s linear infinite;
  white-space: nowrap;
}
.ticker span {
  display: inline-block;
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.05em; color: rgba(255,255,255,0.9);
  padding: 0 2rem;
}
@keyframes tickerScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ── SERVICES FLIP CARDS ── */
.services-spiral {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

/* Contenedor con perspectiva 3D */
.svc-flip {
  perspective: 1000px;
  height: 220px;
  cursor: pointer;
}
.svc-flip-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.55s cubic-bezier(0.45, 0, 0.15, 1);
  border-radius: 20px;
}
.svc-flip.open .svc-flip-inner {
  transform: rotateY(180deg);
}

/* Cara frontal y trasera */
.svc-front,
.svc-back {
  position: absolute; inset: 0;
  border-radius: 20px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2rem 1.5rem;
  gap: 0.75rem;
  overflow: hidden;
}

/* FRENTE */
.svc-front {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,170,255,0.12);
  transition: border-color 0.3s, box-shadow 0.3s;
}
.svc-flip:not(.open):hover .svc-front {
  border-color: rgba(0,170,255,0.4);
  box-shadow: 0 16px 48px rgba(0,85,204,0.2), inset 0 0 30px rgba(0,170,255,0.04);
}
.svc-icon-wrap { margin-bottom: 0.25rem; }
.svc-icon-wrap svg { width: 52px; height: 52px; }
.svc-front h3 {
  font-family: var(--font-display);
  font-size: 1.25rem; font-weight: 800;
  color: var(--white); line-height: 1.2;
}
.svc-hint {
  font-size: 0.68rem; letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(0,170,255,0.45);
  margin-top: 0.25rem;
  transition: color 0.3s;
}
.svc-flip:not(.open):hover .svc-hint { color: rgba(0,170,255,0.8); }

/* REVERSO */
.svc-back {
  background: linear-gradient(145deg, #0a1a50, #060e32);
  border: 1px solid rgba(0,170,255,0.35);
  box-shadow: 0 0 40px rgba(0,85,204,0.25), inset 0 0 40px rgba(0,50,180,0.1);
  transform: rotateY(180deg);
  justify-content: flex-start;
  padding-top: 1.5rem;
  gap: 0.6rem;
}
.svc-back-icon svg { width: 36px; height: 36px; opacity: 0.7; }
.svc-back h3 {
  font-family: var(--font-display);
  font-size: 1.15rem; font-weight: 800;
  color: var(--blue-neon); line-height: 1.2;
}
.svc-back p {
  font-size: 0.85rem; color: rgba(255,255,255,0.75);
  line-height: 1.65; flex: 1;
}
.svc-close {
  font-size: 0.68rem; letter-spacing: 0.08em;
  color: rgba(0,170,255,0.5);
  margin-top: auto;
  padding-top: 0.5rem;
  cursor: pointer;
  transition: color 0.2s;
}
.svc-close:hover { color: var(--blue-neon); }

/* Línea decorativa neón en el reverso */
.svc-back::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%; height: 2px;
  background: linear-gradient(90deg, transparent, var(--blue-neon), transparent);
  border-radius: 2px;
}

.reveal[data-delay] { transition-delay: var(--delay, 0s); }

/* ── PORTFOLIO GRID ── */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: auto auto;
  gap: 1.25rem;
}
.portfolio-item--large {
  grid-column: 1 / 3;
  grid-row: 1 / 2;
}
.portfolio-item {
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,170,255,0.1);
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
  cursor: pointer;
}
.portfolio-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 24px 60px rgba(0,85,204,0.25);
}
.portfolio-item:hover .portfolio-hover-glow { opacity: 1; }
.portfolio-media {
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #060d28, #0a1a45);
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
.portfolio-item--large .portfolio-media { aspect-ratio: 16/9; }
.portfolio-placeholder {
  display: flex; flex-direction: column; align-items: center; gap: 0.5rem;
  color: rgba(0,170,255,0.5);
}
.portfolio-placeholder svg { width: 48px; height: 48px; opacity: 0.6; }
.portfolio-placeholder span { font-size: 0.75rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; }
.portfolio-placeholder small { font-size: 0.65rem; color: rgba(255,255,255,0.2); }
.portfolio-info {
  padding: 1rem 1.25rem;
  display: flex; flex-direction: column; gap: 0.3rem;
}
.portfolio-tag {
  font-size: 0.65rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--blue-neon);
}
.portfolio-info h3 { font-size: 0.95rem; color: var(--white); font-weight: 600; }
.portfolio-hover-glow {
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(0,170,255,0.05), transparent);
  opacity: 0; transition: opacity 0.3s; pointer-events: none;
}
.portfolio-cta {
  margin-top: 3rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.portfolio-cta p { color: var(--text-muted); font-size: 0.95rem; }

/* ── NAV LOGO IMG ── */
.nav-logo-img {
  height: 38px;
  width: auto;
  object-fit: contain;
  /* El logo de Kairo tiene fondo azul — lo convertimos a blanco con filter */
  filter: brightness(0) invert(1);
}

/* ── TEAM ── */
.team-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 2rem; max-width: 800px; margin: 0 auto;
}
.team-card {
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,170,255,0.1);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s;
}
.team-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 80px rgba(0,85,204,0.25);
}
.team-card:hover .team-glow { opacity: 1; }
.team-card:hover .team-card-border { opacity: 1; }
.team-card-border {
  position: absolute; inset: 0; border-radius: 24px;
  border: 1px solid rgba(0,170,255,0.4);
  opacity: 0; transition: opacity 0.4s; pointer-events: none;
}
.team-photo-wrap {
  position: relative;
  background: linear-gradient(135deg, #060d28, #0a1840);
  aspect-ratio: 3/4;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden;
}
/* Foto real del equipo */
.team-photo-real {
  position: relative;
  width: 100%; height: 100%;
}
.team-real-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s var(--ease-out);
}
.team-card:hover .team-real-img { transform: scale(1.04); }
.team-img-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(4,4,15,0.7) 0%, transparent 50%);
  pointer-events: none;
}
.team-glow {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(0,119,255,0.15), transparent 70%);
  opacity: 0; transition: opacity 0.4s;
}
.team-info { padding: 1.5rem; }
.team-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem; font-weight: 800;
  color: var(--white); margin-bottom: 0.3rem;
}
.team-role {
  font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--blue-neon); font-weight: 600; margin-bottom: 0.75rem;
}
.team-bio { font-size: 0.85rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; }
.team-socials { display: flex; gap: 0.75rem; }
.team-socials a {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid rgba(0,170,255,0.2);
  color: var(--text-muted); text-decoration: none;
  transition: border-color 0.2s, color 0.2s, background 0.2s;
}
.team-socials a svg { width: 16px; height: 16px; }
.team-socials a:hover { border-color: var(--blue-neon); color: var(--blue-neon); background: rgba(0,170,255,0.08); }

/* ══════════════════════════════
   PORTFOLIO MODALES
══════════════════════════════ */

/* Hover hint en cards */
.pf-overlay-hint {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center; gap: 0.5rem;
  background: rgba(0,30,100,0.75);
  backdrop-filter: blur(4px);
  color: #fff; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.05em;
  opacity: 0; transition: opacity 0.3s;
  border-radius: 4px 4px 0 0;
}
.pf-card:hover .pf-overlay-hint { opacity: 1; }
.pf-card { cursor: pointer; }

/* ── OVERLAY ── */
.pf-overlay {
  position: fixed; inset: 0; z-index: 5000;
  background: rgba(2,4,18,0.92);
  backdrop-filter: blur(18px);
  display: flex; align-items: center; justify-content: center;
  padding: 2rem 5vw;
  opacity: 0; pointer-events: none;
  transition: opacity 0.35s var(--ease-out);
  overflow-y: auto;
}
.pf-overlay.open {
  opacity: 1; pointer-events: all;
}
/* Botón X — esquina superior derecha */
.pf-close {
  position: fixed; top: 1.25rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  z-index: 5001;
  font-size: 0; /* oculta texto si lo tiene */
}
.pf-close:hover {
  background: rgba(0,170,255,0.18);
  border-color: rgba(0,170,255,0.5);
  transform: rotate(90deg);
}

/* Botón ← Regresar — esquina superior izquierda */
.pf-back-btn {
  top: 1.25rem; left: 1.5rem; right: auto;
  width: auto; height: auto;
  padding: 0.55rem 1.1rem;
  border-radius: 100px;
  background: rgba(0,119,255,0.12);
  border: 1px solid rgba(0,170,255,0.25);
  font-size: 0.82rem; font-weight: 600;
  letter-spacing: 0.03em;
  gap: 0.4rem;
  transform: none !important; /* sin la rotación del X */
}
.pf-back-btn:hover {
  background: rgba(0,119,255,0.28) !important;
  border-color: var(--blue-neon) !important;
  transform: translateX(-3px) !important;
}

/* Botón ← Regresar al portafolio — dentro de cada modal al final */
.pf-modal-back {
  position: static; /* no fixed */
  margin-top: 2rem;
  width: auto; height: auto;
  padding: 0.65rem 1.5rem;
  border-radius: 100px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  font-size: 0.85rem; font-weight: 600;
  color: rgba(255,255,255,0.7);
  display: inline-flex; align-items: center; gap: 0.5rem;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s, color 0.2s, transform 0.2s !important;
  transform: none !important;
}
.pf-modal-back:hover {
  background: rgba(0,119,255,0.18) !important;
  border-color: rgba(0,170,255,0.45) !important;
  color: var(--white) !important;
  transform: translateX(-4px) !important;
}

/* ── MODALES INDIVIDUALES ── */
.pf-modal {
  display: none;
  flex-direction: column;
  align-items: center;
  width: 100%; max-width: 920px;
  animation: modalIn 0.4s var(--ease-out);
}
.pf-modal.active { display: flex; }
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.96) translateY(16px); }
  to   { opacity: 1; transform: scale(1) translateY(0); }
}
.pf-modal-header {
  text-align: center; margin-bottom: 2rem;
}
.pf-modal-tag {
  font-size: 0.7rem; letter-spacing: 0.18em; text-transform: uppercase;
  color: var(--blue-neon); font-weight: 700;
  display: block; margin-bottom: 0.5rem;
}
.pf-modal-header h3 {
  font-family: var(--font-display); font-size: clamp(1.6rem, 4vw, 2.5rem);
  font-weight: 900; color: var(--white);
}
.pf-modal-hint {
  font-size: 0.82rem; color: var(--text-muted); margin-bottom: 1.5rem; text-align: center;
}

/* ── VIDEO (corporativo + campañas) ── */
.pf-video-wrap {
  width: 100%; max-width: 780px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(0,170,255,0.15);
  border-radius: 16px; overflow: hidden;
}
.pf-video-placeholder {
  min-height: 380px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
  color: var(--text-muted);
}
.pf-video-placeholder p { font-size: 1rem; color: rgba(255,255,255,0.7); font-weight: 500; }
.pf-video-placeholder small { font-size: 0.75rem; }
.pf-upload-btn {
  display: inline-flex; align-items: center; gap: 0.5rem;
  margin-top: 0.5rem;
  background: rgba(0,119,255,0.2); border: 1px solid rgba(0,170,255,0.35);
  color: var(--blue-neon); padding: 0.6rem 1.5rem; border-radius: 100px;
  font-size: 0.85rem; font-weight: 600; cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.pf-upload-btn:hover { background: rgba(0,119,255,0.35); border-color: var(--blue-neon); }
.pf-file-input { display: none; }
.pf-video-player {
  width: 100%; max-height: 500px;
  background: #000; display: block;
}

/* ── BRANDING GRID WIDE (4 imágenes 16:9) ── */
.pf-brand-grid-wide {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: 100%;
}
.pf-brand-wide-slot {
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  background: rgba(255,255,255,0.03);
  border: 1.5px dashed rgba(0,170,255,0.2);
  overflow: hidden; cursor: zoom-in; position: relative;
  transition: border-color 0.25s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.pf-brand-wide-slot:hover {
  border-color: rgba(0,170,255,0.5);
  transform: scale(1.02);
  box-shadow: 0 12px 40px rgba(0,85,204,0.3);
}
.pf-brand-wide-slot:hover .pf-zoom-hint { opacity: 1; }
.pf-brand-wide-slot .pf-slot-img {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform 0.4s var(--ease-out);
}
.pf-brand-wide-slot:hover .pf-slot-img { transform: scale(1.04); }
.pf-brand-wide-slot .pf-slot-inner {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 0.5rem;
}
.pf-brand-wide-slot:not(.empty) .pf-slot-inner { display: none; }
.pf-brand-wide-slot.empty .pf-slot-img { display: none; }
.pf-brand-wide-slot.empty { cursor: default; }
.pf-slot-inner span { font-size: 0.65rem; color: rgba(0,170,255,0.45); }
/* Hint zoom */
.pf-zoom-hint {
  position: absolute; bottom: 0.6rem; right: 0.75rem;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(6px);
  color: #fff; font-size: 0.72rem; font-weight: 600;
  padding: 0.3rem 0.7rem; border-radius: 100px;
  display: flex; align-items: center; gap: 0.35rem;
  opacity: 0; transition: opacity 0.25s; pointer-events: none;
}
@media (max-width: 700px) { .pf-brand-grid-wide { grid-template-columns: 1fr; } }

/* ── LIGHTBOX ZOOM ── */
.pf-lightbox {
  position: fixed; inset: 0; z-index: 6000;
  background: rgba(2,4,18,0.97);
  backdrop-filter: blur(20px);
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none;
  transition: opacity 0.3s var(--ease-out);
}
.pf-lightbox.open { opacity: 1; pointer-events: all; }
.pf-lb-close {
  position: absolute; top: 1.25rem; right: 1.5rem;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, transform 0.2s;
}
.pf-lb-close:hover { background: rgba(255,60,60,0.25); transform: rotate(90deg); }
.pf-lb-hint {
  position: absolute; top: 1.4rem; left: 50%; transform: translateX(-50%);
  font-size: 0.7rem; color: rgba(255,255,255,0.3); letter-spacing: 0.05em; white-space: nowrap;
}
.pf-lb-stage {
  width: 92vw; height: 80vh;
  display: flex; align-items: center; justify-content: center;
  overflow: hidden; cursor: grab; position: relative;
  border-radius: 8px;
}
.pf-lb-stage.grabbing { cursor: grabbing; }
#pf-lb-img {
  max-width: none; max-height: none; width: auto; height: auto;
  transform-origin: center center;
  user-select: none; pointer-events: none;
  border-radius: 4px;
  box-shadow: 0 20px 80px rgba(0,0,0,0.7);
  will-change: transform;
}
.pf-lb-controls {
  position: absolute; bottom: 1.5rem; left: 50%; transform: translateX(-50%);
  display: flex; align-items: center; gap: 0.5rem;
  background: rgba(0,0,0,0.55); backdrop-filter: blur(10px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 100px; padding: 0.4rem 0.75rem;
}
.pf-lb-btn {
  width: 32px; height: 32px; border-radius: 50%;
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.12);
  color: #fff; font-size: 1.1rem; cursor: pointer; line-height: 1;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
}
.pf-lb-btn:hover { background: rgba(0,119,255,0.4); }
.pf-lb-scale { font-size: 0.78rem; color: rgba(255,255,255,0.6); min-width: 44px; text-align: center; font-weight: 600; }

/* ── SOCIAL CAROUSEL ── */
.pf-social-carousel {
  position: relative;
  width: 100%; max-width: 380px;
  overflow: hidden;
}
.pf-social-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.45,0,0.15,1);
}
.pf-social-slide {
  min-width: 100%; padding: 0 0.5rem;
}
.pf-social-slot {
  display: block;
  aspect-ratio: 1080 / 1350; /* formato portrait Instagram */
  border-radius: 16px;
  background: rgba(255,255,255,0.03);
  border: 1.5px dashed rgba(0,170,255,0.2);
  overflow: hidden; cursor: pointer; position: relative;
  transition: border-color 0.25s;
}
.pf-social-slot:hover { border-color: rgba(0,170,255,0.5); }
.pf-social-placeholder {
  width: 100%; height: 100%; min-height: 360px;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--text-muted);
}
.pf-social-placeholder p { font-size: 1rem; color: rgba(255,255,255,0.6); font-weight: 600; }
.pf-social-placeholder small { font-size: 0.72rem; }
.pf-social-img {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.pf-social-slot.has-img .pf-social-placeholder { display: none; }

/* Botones slide */
.pf-slide-btn {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(0,50,150,0.7); border: 1px solid rgba(0,170,255,0.3);
  color: #fff; font-size: 1.5rem; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s, border-color 0.2s;
  z-index: 2;
}
.pf-slide-btn:hover { background: rgba(0,119,255,0.7); border-color: var(--blue-neon); }
.pf-slide-prev { left: -22px; }
.pf-slide-next { right: -22px; }

.pf-slide-dots, .pf-reels-dots {
  display: flex; justify-content: center; gap: 0.4rem; margin-top: 1.25rem;
}
.pf-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: rgba(0,170,255,0.25);
  cursor: pointer; transition: background 0.25s, transform 0.25s;
}
.pf-dot.active { background: var(--blue-neon); transform: scale(1.3); }

/* ── REELS VERTICAL (phone mockup) ── */
.pf-reels-wrap {
  display: flex; align-items: center; gap: 1.5rem; flex-direction: column;
  width: 100%;
}
.pf-reels-viewport {
  width: 300px;
  overflow: hidden;
  /* centra el viewport dentro del wrap */
  margin: 0 auto;
}
.pf-reels-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.45,0,0.15,1);
  will-change: transform;
}
.pf-reel-slide {
  /* ancho = viewport, teléfono siempre centrado */
  min-width: 300px;
  width: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0.45;
  transform: scale(0.9);
  transition: opacity 0.4s, transform 0.4s;
}
.pf-reel-slide.active {
  opacity: 1;
  transform: scale(1);
}

/* Marco del teléfono */
.pf-phone-frame {
  width: 240px;
  background: linear-gradient(145deg, #1a1a2e, #0a0a1a);
  border-radius: 32px;
  border: 2px solid rgba(255,255,255,0.12);
  padding: 10px;
  box-shadow: 0 0 0 1px rgba(0,170,255,0.15),
              0 20px 60px rgba(0,0,0,0.6),
              inset 0 1px 0 rgba(255,255,255,0.06);
  position: relative;
}
.pf-phone-frame::before {
  /* Notch */
  content: ''; position: absolute; top: 10px; left: 50%; transform: translateX(-50%);
  width: 80px; height: 10px; background: #0a0a1a; border-radius: 0 0 10px 10px; z-index: 2;
}
.pf-phone-screen {
  aspect-ratio: 9/16;
  border-radius: 24px; overflow: hidden;
  background: linear-gradient(135deg, #06091f, #0d1540);
  position: relative;
}
.pf-reel-slot {
  display: block; width: 100%; height: 100%; cursor: pointer;
  position: relative;
}
.pf-reel-placeholder {
  width: 100%; height: 100%;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.5rem;
  color: var(--text-muted);
}
.pf-reel-placeholder p { font-size: 0.85rem; color: rgba(255,255,255,0.6); font-weight: 600; }
.pf-reel-placeholder small { font-size: 0.65rem; text-align: center; padding: 0 0.5rem; }
.pf-reel-video {
  position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover;
}
.pf-reel-slot.has-media .pf-reel-placeholder { display: none; }
.pf-phone-ui {
  position: absolute; bottom: 1rem; left: 1rem; right: 1rem;
  display: flex; flex-direction: column; gap: 4px;
}
.pf-phone-bar {
  height: 3px; border-radius: 2px;
  background: rgba(255,255,255,0.15);
}
.pf-phone-bar.short { width: 60%; }

.pf-reels-nav {
  font-size: 2rem; background: rgba(0,50,150,0.7);
  border: 1px solid rgba(0,170,255,0.3);
  color: #fff; width: 50px; height: 50px; border-radius: 50%;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: background 0.2s; align-self: center;
}
.pf-reels-nav:hover { background: rgba(0,119,255,0.7); }

.pf-reels-row {
  display: flex; align-items: center; gap: 1rem;
}

@media (max-width: 700px) {
  .pf-brand-grid { grid-template-columns: repeat(2, 1fr); }
  .pf-slide-prev { left: 4px; }
  .pf-slide-next { right: 4px; }
  .pf-reels-viewport { width: 260px; }
  .pf-reel-slide { min-width: 260px; width: 260px; }
  .pf-phone-frame { width: 210px; }
}

/* ── CLIENTS TICKER ── */
.clients-ticker-wrap { overflow: hidden; position: relative; padding: 2rem 0; }
.clients-fade {
  position: absolute; top: 0; bottom: 0; width: 120px; z-index: 2; pointer-events: none;
}
.clients-fade--left  { left: 0;  background: linear-gradient(90deg, var(--bg-mid), transparent); }
.clients-fade--right { right: 0; background: linear-gradient(-90deg, var(--bg-mid), transparent); }
.clients-ticker { overflow: hidden; }
.clients-track {
  display: flex; align-items: center; gap: 0;
  animation: clientsScroll 20s linear infinite;
  white-space: nowrap;
}
@keyframes clientsScroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-logo-item {
  flex-shrink: 0;
  padding: 0 2.5rem;
  display: flex; align-items: center; justify-content: center;
  border-right: 1px solid rgba(0,170,255,0.08);
  height: 72px;
}

/* Imagen real del logo */
.client-logo-img {
  height: 44px;
  width: auto;
  max-width: 140px;
  object-fit: contain;
  /* logos sobre fondo oscuro: los que son oscuros se invierten, los blancos se ven bien */
  filter: brightness(0) invert(1) opacity(0.55);
  transition: filter 0.3s;
  display: block;
}
.client-logo-item:hover .client-logo-img {
  filter: brightness(0) invert(1) opacity(1);
}

/* Fallback cuando no hay imagen */
.client-logo-fallback {
  display: none;
  font-family: var(--font-display);
  font-size: 0.75rem; font-weight: 600;
  color: rgba(255,255,255,0.18);
  text-transform: uppercase; letter-spacing: 0.1em;
  white-space: nowrap;
}

/* ── CTA SECTION ── */
.section-cta {
  background: var(--bg-deep);
  padding: 7rem 0;
  position: relative; overflow: hidden;
  z-index: 1;
}
.cta-bg-glow {
  position: absolute;
  inset: -50%;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,85,204,0.2) 0%, transparent 70%);
  pointer-events: none;
}
.cta-inner { text-align: center; position: relative; z-index: 2; }
.cta-title {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 900; color: var(--white);
  line-height: 1.1; margin: 0.75rem 0 1.25rem;
}
.cta-title em {
  font-style: normal;
  background: linear-gradient(135deg, var(--blue-neon), var(--blue-bright));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.cta-desc { color: var(--text-muted); max-width: 450px; margin: 0 auto 2.5rem; line-height: 1.7; }
.cta-actions {
  display: flex; align-items: center; justify-content: center; gap: 1rem; flex-wrap: wrap;
  margin-bottom: 2rem;
}
.btn-whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); box-shadow: 0 0 30px rgba(37,211,102,0.35); }
.btn-whatsapp:hover { box-shadow: 0 0 50px rgba(37,211,102,0.55) !important; }
.btn-whatsapp::after { background: linear-gradient(135deg, #2edf6e, #1ab569) !important; }
.cta-social-links {
  display: flex; align-items: center; justify-content: center; gap: 1.5rem;
}
.cta-social-links a {
  display: inline-flex; align-items: center; gap: 0.5rem;
  color: var(--text-muted); text-decoration: none; font-size: 0.85rem;
  transition: color 0.2s;
}
.cta-social-links a:hover { color: var(--blue-neon); }

/* ── FOOTER ── */
#footer {
  background: #030308;
  border-top: 1px solid rgba(0,170,255,0.08);
  padding: 4rem 0 2rem;
  position: relative;
}
.footer-glow {
  position: absolute; top: 0; left: 50%; transform: translateX(-50%);
  width: 600px; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,170,255,0.3), transparent);
}
.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.5fr 1fr;
  gap: 3rem; margin-bottom: 3rem;
}
.footer-logo {
  display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem;
}
.footer-isotipo {
  width: 44px; height: 44px;
  object-fit: contain;
  border-radius: 8px;
  /* El isotipo tiene fondo oscuro — se muestra tal cual */
  opacity: 0.9;
}
.footer-logo-text-wrap { display: flex; flex-direction: column; gap: 1px; }
.footer-logo-text {
  font-family: 'Cinema Sunday', var(--font-display);
  font-size: 1.8rem; font-weight: normal;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, #fff 40%, var(--blue-neon));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-transform: none;
}
.footer-logo-sub {
  font-family: 'Delight', 'Inter', sans-serif;
  font-weight: 100;
  font-size: 0.6rem; letter-spacing: 0.18em;
  text-transform: lowercase; color: var(--text-muted);
}
.footer-tagline { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; }
.footer-links-group h4 {
  font-size: 0.7rem; letter-spacing: 0.15em;
  text-transform: uppercase; color: var(--text-muted);
  margin-bottom: 1rem; font-weight: 600;
}
.footer-links-group ul { list-style: none; display: flex; flex-direction: column; gap: 0.6rem; }
.footer-links-group a {
  color: rgba(255,255,255,0.5); text-decoration: none; font-size: 0.875rem;
  display: inline-flex; align-items: center; gap: 0.4rem;
  transition: color 0.2s;
}
.footer-links-group a:hover { color: var(--white); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  border-top: 1px solid rgba(255,255,255,0.06);
  padding-top: 1.5rem;
  font-size: 0.78rem; color: rgba(255,255,255,0.3);
}
.heart { color: var(--blue-neon); }

/* ── WHATSAPP FLOAT ── */
.whatsapp-float {
  position: fixed; bottom: 1.75rem; right: 1.75rem;
  width: 56px; height: 56px; border-radius: 50%;
  background: #25d366;
  display: flex; align-items: center; justify-content: center;
  color: #fff; text-decoration: none;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45);
  z-index: 900;
  transition: transform 0.25s, box-shadow 0.25s;
}
.whatsapp-float:hover { transform: scale(1.1); box-shadow: 0 8px 30px rgba(37,211,102,0.65); }
.whatsapp-pulse {
  position: absolute; inset: -3px; border-radius: 50%;
  border: 2px solid rgba(37,211,102,0.5);
  animation: waPulse 2s ease-out infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.5); opacity: 0; }
}

/* ── MOBILE ── */
@media (max-width: 900px) {
  .services-spiral { grid-template-columns: 1fr 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .team-grid { grid-template-columns: 1fr; max-width: 400px; }
}
@media (max-width: 700px) {
  .nav-links { display: none; flex-direction: column; gap: 0; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(4,4,15,0.97); backdrop-filter: blur(20px); align-items: center; justify-content: center; z-index: 999; }
  .nav-links.open { display: flex; }
  .nav-links li { padding: 0.8rem 0; }
  .nav-links a { font-size: 1.3rem; }
  .nav-toggle { display: flex; z-index: 1001; }
  .hero-stats { flex-direction: column; gap: 1rem; }
  .stat-divider { width: 40px; height: 1px; }
  .services-spiral { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: 1fr; }
  .portfolio-item--large { grid-column: 1; }
  .hero-rocket-wrap { width: 160px; height: 160px; }
  .footer-top { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .cta-actions { flex-direction: column; width: 100%; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
}
