/* ===========================
   PRINTIFY3D — STYLE.CSS
   Redesign 2.0 — Precision Dark
   =========================== */

/* ---------- Variables ---------- */
:root {
  --blue: #5483ea;
  --blue-tint: #8ab2ff;
  --magenta: #cb3c95;
  --gradient: linear-gradient(135deg, #5483ea 0%, #cb3c95 100%);
  --gradient-dark: linear-gradient(135deg, #3561c0 0%, #9e2874 100%);
  --gradient-soft: linear-gradient(135deg, #c2d7ff 0%, #f4b8e5 100%);

  --dark-bg: #06071a;
  --dark-card: #0c0e28;
  --dark-surface: #10122e;
  --dark-border: rgba(255, 255, 255, 0.07);
  --glass: rgba(255, 255, 255, 0.045);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);

  --text: #eef0ff;
  --text-soft: rgba(238, 240, 255, 0.88);
  --text-muted: rgba(238, 240, 255, 0.55);
  --text-dim: rgba(238, 240, 255, 0.32);

  --radius: 20px;
  --radius-sm: 12px;
  --radius-xs: 8px;

  --shadow-sm: 0 4px 20px rgba(0, 0, 0, 0.45);
  --shadow: 0 12px 48px rgba(0, 0, 0, 0.55);
  --shadow-lg: 0 28px 80px rgba(0, 0, 0, 0.65);
  --glow: 0 0 60px rgba(84, 131, 234, 0.18);
  --glow-mg: 0 0 60px rgba(203, 60, 149, 0.15);

  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --wa-green: #25d366;
  --wa-dark: #128c7e;
}

/* ---------- Reset & Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

::selection {
  background: rgba(84, 131, 234, 0.4);
  color: #fff;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Space Grotesk', 'Poppins', sans-serif;
  background: var(--dark-bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.025'/%3E%3C/svg%3E");
}

img {
  max-width: 100%;
  display: block;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* ---------- Scrollbar ---------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--blue); border-radius: 3px; }

/* ===========================
   NAVBAR
   =========================== */
[data-lucide] {
  display: inline-block;
  vertical-align: middle;
}

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 20px 40px;
  transition: padding var(--transition);
}

.navbar::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 0;
  background: linear-gradient(to bottom, rgba(6, 7, 26, 0.8) 0%, transparent 100%);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  transition: background var(--transition), backdrop-filter var(--transition), box-shadow var(--transition);
}

.navbar.scrolled {
  padding: 13px 40px;
}

.navbar.scrolled::before {
  background: rgba(6, 7, 26, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 1px 0 var(--dark-border), 0 4px 32px rgba(0, 0, 0, 0.3);
}

.nav-inner {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo-isotipo {
  height: 30px;
  width: auto;
  transition: opacity var(--transition);
  flex-shrink: 0;
}

.nav-logo-wordmark {
  height: 18px;
  width: auto;
  transition: opacity var(--transition);
}

.nav-logo:hover .nav-logo-isotipo,
.nav-logo:hover .nav-logo-wordmark { opacity: 0.75; }

.nav-links {
  display: flex;
  gap: 4px;
  list-style: none;
  align-items: center;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 99px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition);
}

.nav-links a:hover {
  color: var(--text);
  background: var(--glass);
}

.nav-links .nav-cta {
  background: var(--gradient);
  color: #fff;
  padding: 10px 22px;
  font-weight: 600;
  box-shadow: 0 4px 20px rgba(84, 131, 234, 0.3);
}

.nav-links .nav-cta:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 28px rgba(84, 131, 234, 0.45);
  background: var(--gradient);
  color: #fff;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 4px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ===========================
   BUTTONS
   =========================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  border-radius: 99px;
  font-family: inherit;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.2px;
  transition: var(--transition);
  cursor: pointer;
  border: none;
}

.btn-primary {
  background: var(--gradient);
  color: #fff;
  box-shadow: 0 6px 28px rgba(84, 131, 234, 0.38);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 44px rgba(84, 131, 234, 0.52);
}

.btn-ghost {
  background: var(--glass);
  color: var(--text-soft);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(12px);
}

.btn-ghost:hover {
  background: var(--glass-hover);
  color: var(--text);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.16);
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-loading {
  opacity: 0.82;
  cursor: not-allowed;
  pointer-events: none;
}

.btn-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-top-color: #fff;
  border-radius: 50%;
  flex-shrink: 0;
  animation: spin 0.7s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

/* ===========================
   HERO
   =========================== */
.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 130px 40px 90px;
  text-align: center;
  overflow: hidden;
  background:
    radial-gradient(ellipse 90% 70% at 15% 40%, rgba(84, 131, 234, 0.28) 0%, transparent 55%),
    radial-gradient(ellipse 70% 90% at 85% 20%, rgba(203, 60, 149, 0.25) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 55% 85%, rgba(84, 131, 234, 0.16) 0%, transparent 55%),
    linear-gradient(165deg, #0e1133 0%, #06071a 40%, #130920 100%);
}

/* Dot grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(255,255,255,0.065) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 75%);
  -webkit-mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 30%, transparent 75%);
}

/* Animated glow orb */
.hero::after {
  content: '';
  position: absolute;
  width: 680px;
  height: 680px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 131, 234, 0.12) 0%, transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: orbPulse 6s ease-in-out infinite alternate;
  pointer-events: none;
}

@keyframes orbPulse {
  0%   { transform: translate(-50%, -50%) scale(0.95); opacity: 0.7; }
  100% { transform: translate(-50%, -50%) scale(1.15); opacity: 1; }
}

.hero-particles {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 820px;
  margin: 0 auto;
}

.hero-logo {
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto 10px;
  animation: logoReveal 1s 0.1s cubic-bezier(0.16, 1, 0.3, 1) backwards;
  filter: drop-shadow(0 0 40px rgba(84, 131, 234, 0.25));
}

@keyframes logoReveal {
  0%   { opacity: 0; transform: scale(0.85) translateY(28px); filter: blur(16px) drop-shadow(0 0 0 transparent); }
  50%  { opacity: 1; filter: blur(2px) drop-shadow(0 0 20px rgba(84,131,234,0.15)); }
  100% { opacity: 1; transform: scale(1) translateY(0); filter: blur(0) drop-shadow(0 0 40px rgba(84,131,234,0.25)); }
}

.hero-tagline {
  font-weight: 500;
  font-size: clamp(9px, 1.4vw, 11px);
  letter-spacing: 7px;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-top: 18px;
  margin-bottom: 44px;
  animation: fadeUp 0.6s 0.2s ease backwards;
}

.hero-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(36px, 6vw, 68px);
  line-height: 1.1;
  letter-spacing: -1.5px;
  margin-bottom: 22px;
  animation: fadeUp 0.6s 0.3s ease backwards;
}

.gradient-text {
  background: var(--gradient-soft);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: clamp(15px, 1.9vw, 18px);
  color: var(--text-muted);
  max-width: 540px;
  margin: 0 auto 40px;
  font-weight: 400;
  line-height: 1.75;
  animation: fadeUp 0.6s 0.4s ease backwards;
}

.hero-desc strong {
  color: var(--text);
  font-weight: 600;
}

.hero-actions {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeUp 0.6s 0.5s ease backwards;
}

.hero-scroll-hint {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  font-size: 10px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  animation: fadeUp 0.6s 1s ease backwards;
}

.scroll-arrow {
  width: 18px;
  height: 18px;
  border-right: 1.5px solid rgba(255, 255, 255, 0.35);
  border-bottom: 1.5px solid rgba(255, 255, 255, 0.35);
  transform: rotate(45deg);
  animation: bounce 2.2s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: rotate(45deg) translateY(0); }
  50%       { transform: rotate(45deg) translateY(6px); }
}

/* ===========================
   TRUST STRIP
   =========================== */
.trust-strip {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
  padding: 32px 40px;
  position: relative;
  overflow: hidden;
}

.trust-strip::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(84,131,234,0.06) 0%, rgba(203,60,149,0.06) 50%, rgba(84,131,234,0.06) 100%);
  pointer-events: none;
}

.trust-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.trust-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.trust-num {
  font-family: 'Poppins', sans-serif;
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  letter-spacing: -0.5px;
}

.trust-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.3px;
}

/* ===========================
   SECCIONES GENERALES
   =========================== */
.section {
  padding: 110px 40px;
  position: relative;
  scroll-margin-top: 72px;
}

#galeria  { background: var(--dark-bg); }
#proceso  { background: var(--dark-card); }
#tech     { background: var(--dark-bg); }
#faq      { background: var(--dark-card); }
#contacto { background: var(--dark-bg); }

.section-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  margin-bottom: 72px;
}

.section-label {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 14px;
}

.section-header h2 {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(30px, 4.5vw, 52px);
  line-height: 1.15;
  margin-bottom: 18px;
  letter-spacing: -0.8px;
  color: var(--text);
}

.section-header p {
  font-size: clamp(15px, 1.8vw, 17px);
  color: var(--text-muted);
  max-width: 500px;
  margin: 0 auto;
  line-height: 1.75;
}

/* AOS */
[data-aos] {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

[data-aos].aos-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   PROCESO
   =========================== */
.proceso {
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.steps {
  display: flex;
  align-items: stretch;
  gap: 0;
  justify-content: center;
  flex-wrap: wrap;
  position: relative;
}


.step {
  flex: 1;
  min-width: 200px;
  max-width: 270px;
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 36px 24px 32px;
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  position: relative;
  overflow: hidden;
}

/* Ghost number behind card */
.step::before {
  content: attr(data-step);
  position: absolute;
  top: -20px;
  right: -10px;
  font-family: 'Poppins', sans-serif;
  font-size: 120px;
  font-weight: 900;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1px rgba(255,255,255,0.04);
  pointer-events: none;
  user-select: none;
}

.step:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow), var(--glow);
  border-color: rgba(84, 131, 234, 0.22);
  background: var(--glass-hover);
}

.step-number {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.step-icon {
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  z-index: 1;
}

.step-icon [data-lucide] {
  width: 44px;
  height: 44px;
  stroke: url(#blueGradient);
  opacity: 1;
  stroke: var(--blue-tint);
}

.step h3 {
  font-weight: 700;
  font-size: 17px;
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
}

.step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
  position: relative;
  z-index: 1;
}

.step-arrow {
  color: var(--text-dim);
  padding: 0 16px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  align-self: center;
  position: relative;
  z-index: 1;
}

.step-arrow [data-lucide] {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

/* ===========================
   GALERÍA
   =========================== */
.gallery {
  background: var(--dark-bg);
}

.gallery-viewport {
  position: relative;
  margin: 0 -8px;
}

.gallery-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(240px, 30vw);
  gap: 16px;
  overflow-x: auto;
  padding: 8px 8px 24px;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 8px;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
}

.gallery-track::-webkit-scrollbar { display: none; }

.gallery-slide {
  position: relative;
  display: block;
  min-width: 0;
  padding: 0;
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 4;
  background: var(--dark-card);
  cursor: pointer;
  scroll-snap-align: start;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.gallery-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 7, 26, 0.55) 0%, transparent 45%);
  pointer-events: none;
  z-index: 1;
}

.gallery-slide:hover,
.gallery-slide:focus-visible {
  transform: translateY(-6px);
  border-color: rgba(84, 131, 234, 0.42);
  box-shadow: var(--shadow), var(--glow);
}

.gallery-slide:focus-visible {
  outline: 2px solid rgba(84, 131, 234, 0.5);
  outline-offset: 3px;
}

.gallery-slide.is-featured { border-color: rgba(84, 131, 234, 0.22); }

.gallery-media {
  position: absolute;
  inset: 0;
}

.gallery-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-slide:hover .gallery-media img,
.gallery-slide:focus-visible .gallery-media img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(6, 7, 26, 0.48);
  opacity: 0;
  transition: opacity var(--transition);
  z-index: 2;
}

.gallery-slide:hover .gallery-overlay,
.gallery-slide:focus-visible .gallery-overlay {
  opacity: 1;
}

.gallery-overlay [data-lucide] {
  width: 52px;
  height: 52px;
  stroke: #fff;
  stroke-width: 1.5;
  filter: drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5));
}

.gallery-hint {
  text-align: center;
  font-size: 12px;
  color: var(--text-dim);
  letter-spacing: 1.5px;
  margin-top: 20px;
  text-transform: uppercase;
}

.gallery-empty {
  padding: 64px 40px;
  border-radius: var(--radius);
  border: 1px dashed rgba(84, 131, 234, 0.2);
  background: rgba(255, 255, 255, 0.02);
  text-align: center;
  color: var(--text-muted);
}

/* Nav flotante */
.gallery-nav {
  position: absolute;
  top: calc(50% - 12px);
  transform: translateY(-50%);
  z-index: 10;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(6, 7, 26, 0.85);
  border: 1px solid var(--glass-border);
  color: var(--text-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
}

.gallery-nav[data-gallery-nav="prev"] { left: -18px; }
.gallery-nav[data-gallery-nav="next"] { right: -18px; }

.gallery-nav:hover {
  background: var(--blue);
  border-color: var(--blue);
  color: #fff;
  box-shadow: 0 6px 24px rgba(84, 131, 234, 0.42);
  transform: translateY(-50%) scale(1.08);
}

.gallery-nav:disabled {
  opacity: 0.25;
  pointer-events: none;
}

.gallery-nav svg,
.gallery-nav i {
  width: 22px;
  height: 22px;
}

/* ===========================
   TECH
   =========================== */
.tech {
  background: var(--dark-bg);
}

.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
  gap: 24px;
  margin-bottom: 44px;
}

.tech-card {
  background: var(--glass);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
  padding: 40px;
  position: relative;
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  overflow: hidden;
}

/* Subtle gradient glow in corner */
.tech-card::before {
  content: '';
  position: absolute;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84,131,234,0.1) 0%, transparent 70%);
  top: -60px;
  right: -60px;
  pointer-events: none;
}

.tech-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow), var(--glow);
  border-color: rgba(84, 131, 234, 0.22);
}

.tech-card.featured {
  background: linear-gradient(var(--dark-card), var(--dark-card)) padding-box,
              var(--gradient) border-box;
  border: 1px solid transparent;
}

.tech-card.featured::before {
  background: radial-gradient(circle, rgba(84,131,234,0.14) 0%, transparent 70%);
}

.tech-card.featured:hover {
  border: 1px solid transparent;
  box-shadow: var(--shadow), var(--glow), var(--glow-mg);
}

.tech-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 22px;
}

.tech-icon {
  margin-bottom: 22px;
  display: flex;
  align-items: center;
}

.tech-icon [data-lucide] {
  width: 52px;
  height: 52px;
  stroke: var(--blue-tint);
  opacity: 0.9;
  stroke-width: 1.4;
}

.tech-card h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 22px;
  margin-bottom: 14px;
  color: var(--text);
}

.tech-card > p {
  font-size: 15px;
  color: var(--text-muted);
  margin-bottom: 28px;
  line-height: 1.75;
}

.tech-specs {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.tech-specs li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-muted);
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.035);
  border-radius: var(--radius-sm);
  border: 1px solid var(--dark-border);
  transition: background var(--transition), border-color var(--transition);
}

.tech-card:hover .tech-specs li {
  background: rgba(84, 131, 234, 0.06);
  border-color: rgba(84, 131, 234, 0.12);
}

.tech-specs li [data-lucide] {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
  stroke: var(--blue);
  opacity: 0.9;
}

.tech-footer {
  text-align: center;
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
}

/* ===========================
   FAQ
   =========================== */
.faq {
  border-top: 1px solid var(--dark-border);
  border-bottom: 1px solid var(--dark-border);
}

.faq-list {
  max-width: 740px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--dark-bg);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius);
  overflow: hidden;
  transition: var(--transition);
}

.faq-item.active {
  border-color: rgba(84, 131, 234, 0.38);
  box-shadow: inset 3px 0 0 var(--blue-tint), 0 6px 28px rgba(0, 0, 0, 0.25);
  background: rgba(84, 131, 234, 0.03);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  text-align: left;
  transition: var(--transition);
}

.faq-question:hover {
  background: var(--glass);
}

.faq-question span {
  font-weight: 500;
  font-size: 16px;
  color: var(--text);
  line-height: 1.45;
}

.faq-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: var(--text-dim);
  transition: transform var(--transition);
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
  color: var(--blue-tint);
}

.faq-answer {
  display: none;
  padding: 0 28px 26px;
}

.faq-answer p {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.8;
}

/* ===========================
   CONTACTO
   =========================== */
.contacto {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}

.contacto::before {
  content: '';
  position: absolute;
  width: 700px;
  height: 700px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(84, 131, 234, 0.1) 0%, transparent 65%);
  top: -200px;
  left: -250px;
  pointer-events: none;
}

.contacto::after {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(203, 60, 149, 0.09) 0%, transparent 65%);
  bottom: -150px;
  right: -150px;
  pointer-events: none;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 72px;
  align-items: start;
  position: relative;
  z-index: 1;
}

.contact-headline {
  font-family: 'Poppins', sans-serif;
  font-weight: 800;
  font-size: clamp(32px, 4vw, 50px);
  line-height: 1.12;
  letter-spacing: -0.8px;
  margin: 14px 0 18px;
}

.contact-intro {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 40px;
  max-width: 380px;
}

.contact-perks {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 40px;
}

.contact-perks li {
  display: flex;
  gap: 14px;
  align-items: center;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--dark-border);
  border-radius: var(--radius-sm);
  transition: background var(--transition), border-color var(--transition);
}

.contact-perks li:hover {
  background: rgba(84, 131, 234, 0.07);
  border-color: rgba(84, 131, 234, 0.18);
}

.perk-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: rgba(84, 131, 234, 0.12);
  border: 1px solid rgba(84, 131, 234, 0.22);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.contact-perks li:hover .perk-icon {
  background: rgba(84, 131, 234, 0.2);
  box-shadow: 0 0 16px rgba(84, 131, 234, 0.2);
}

.perk-icon [data-lucide] {
  width: 18px;
  height: 18px;
  stroke: var(--blue-tint);
}

.perk-icon svg:not([data-lucide]) {
  stroke: var(--blue-tint);
}

.perk-text strong {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--text);
  margin-bottom: 2px;
}

.perk-text span {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
}

.contact-direct {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding-top: 32px;
  border-top: 1px solid var(--dark-border);
}

.contact-direct > span {
  font-size: 13px;
  color: var(--text-dim);
}

.contact-email {
  font-size: 16px;
  font-weight: 700;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  transition: opacity var(--transition);
}

.contact-email:hover { opacity: 0.75; }

/* FORM */
.contact-form-wrap {
  background: linear-gradient(var(--dark-card), var(--dark-card)) padding-box,
              var(--gradient) border-box;
  border: 1px solid transparent;
  border-radius: var(--radius);
  padding: 48px;
  box-shadow: var(--shadow-lg), var(--glow);
  transition: opacity 0.4s ease;
  position: relative;
  z-index: 1;
}

.form-error-msg {
  background: rgba(255, 72, 72, 0.1);
  border: 1px solid rgba(255, 72, 72, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  font-size: 14px;
  margin-bottom: 22px;
  color: #ff9090;
  display: flex;
  align-items: center;
  gap: 10px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

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

.form-group label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: inherit;
  font-size: 15px;
  padding: 14px 16px;
  transition: var(--transition);
  outline: none;
  width: 100%;
}

.form-group select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(238,240,255,0.35)' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
}

.form-group select option {
  background: #12142e;
  color: var(--text);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: rgba(84, 131, 234, 0.55);
  background: rgba(84, 131, 234, 0.07);
  box-shadow: 0 0 0 3px rgba(84, 131, 234, 0.13);
}

.form-group input:hover,
.form-group select:hover,
.form-group textarea:hover {
  border-color: rgba(255, 255, 255, 0.14);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--text-dim);
  opacity: 1;
}

.input-error {
  border-color: rgba(255, 144, 144, 0.6) !important;
  background: rgba(255, 80, 80, 0.07) !important;
}

.field-error {
  font-size: 12px;
  color: #ff9090;
  display: block;
  margin-top: 5px;
}

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

/* Checkbox */
.form-check { margin-top: 2px; }

.checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

.checkbox-label input[type="checkbox"] { display: none; }

.checkmark {
  width: 20px;
  height: 20px;
  min-width: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  margin-top: 1px;
  background: transparent;
}

.checkbox-label input:checked + .checkmark {
  background: var(--gradient);
  border-color: transparent;
}

.checkbox-label input:checked + .checkmark::after {
  content: '✓';
  font-size: 12px;
  color: #fff;
  font-weight: 700;
}

.btn-submit {
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 16px;
  margin-top: 4px;
}

/* SUCCESS */
.form-success {
  text-align: center;
  padding: 48px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.success-icon {
  width: 68px;
  height: 68px;
  background: rgba(37, 211, 102, 0.12);
  color: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  animation: bounceIn 0.5s ease;
  box-shadow: 0 0 40px rgba(37, 211, 102, 0.18);
}

.success-icon svg { width: 32px; height: 32px; }

@keyframes bounceIn {
  0%   { transform: scale(0); }
  60%  { transform: scale(1.12); }
  100% { transform: scale(1); }
}

.form-success h3 {
  font-size: 26px;
  font-weight: 700;
  color: var(--text);
}

.form-success p {
  color: var(--text-muted);
  font-size: 15px;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--dark-card);
  border-top: 1px solid var(--dark-border);
  padding: 64px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 1px;
  background: var(--gradient);
  opacity: 0.5;
}

.footer-inner {
  max-width: 600px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.footer-logo img {
  height: 28px;
  width: auto;
  opacity: 0.7;
}

.footer-tagline {
  font-size: 14px;
  color: var(--text-dim);
  max-width: 400px;
  line-height: 1.65;
}

.footer-links {
  display: flex;
  gap: 14px;
  align-items: center;
  font-size: 14px;
  color: var(--text-muted);
}

.footer-links a {
  color: var(--text-muted);
  transition: color var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

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

.footer-copy {
  font-size: 12px;
  color: var(--text-dim);
}

/* ===========================
   ANIMACIONES
   =========================== */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* ===========================
   WHATSAPP BUBBLE
   =========================== */
.wa-bubble {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 900;
  width: 58px;
  height: 58px;
  background: var(--wa-green);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px rgba(37, 211, 102, 0.42);
  transition: var(--transition);
}

.wa-bubble::before {
  content: '';
  position: absolute;
  inset: -7px;
  border-radius: 50%;
  border: 1.5px solid rgba(37, 211, 102, 0.35);
  animation: wa-pulse 2.5s ease-in-out infinite;
}

@keyframes wa-pulse {
  0%   { transform: scale(1); opacity: 0.8; }
  50%  { transform: scale(1.18); opacity: 0.2; }
  100% { transform: scale(1); opacity: 0.8; }
}

.wa-bubble:hover {
  background: var(--wa-dark);
  transform: scale(1.1);
  box-shadow: 0 12px 36px rgba(37, 211, 102, 0.5);
}

.wa-bubble-icon { width: 30px; height: 30px; color: #fff; }

.wa-bubble-tooltip {
  position: absolute;
  right: 72px;
  background: rgba(6, 7, 26, 0.94);
  backdrop-filter: blur(14px);
  border: 1px solid var(--dark-border);
  color: var(--text);
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  padding: 9px 15px;
  border-radius: 9px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(8px);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.wa-bubble-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-right: none;
  border-left-color: var(--dark-border);
}

.wa-bubble:hover .wa-bubble-tooltip {
  opacity: 1;
  transform: translateX(0);
}


/* ===========================
   LIGHTBOX
   =========================== */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(6, 7, 26, 0.96);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 40px;
  cursor: zoom-out;
  backdrop-filter: blur(14px);
}

#lightbox-img {
  max-width: 90%;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.7);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}

.lightbox.active {
  display: flex;
  animation: fadeIn 0.28s forwards;
}

.lightbox.active #lightbox-img { transform: scale(1); }

.lightbox-close {
  position: absolute;
  top: 28px;
  right: 38px;
  color: var(--text-muted);
  font-size: 38px;
  cursor: pointer;
  z-index: 10001;
  transition: color var(--transition);
  line-height: 1;
}

.lightbox-close:hover { color: #fff; }

/* ===========================
   RESPONSIVE
   =========================== */
@media (max-width: 900px) {
  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 32px;
  }

  .gallery-head { grid-template-columns: 1fr; }
  .gallery-sidekick { padding: 22px 24px; }

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

  .contact-headline { font-size: clamp(30px, 7vw, 40px); }
  .contact-intro { max-width: 100%; }
}

@media (max-width: 768px) {
  .navbar { padding: 16px 24px; }
  .navbar.scrolled { padding: 12px 24px; }

  .nav-links {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(6, 7, 26, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 6px;
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }

  .nav-links.open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }

  .nav-links a {
    font-size: 18px;
    padding: 14px 36px;
  }

  .nav-toggle {
    display: flex;
    position: relative;
    z-index: 1001;
  }

  .hero { padding: 110px 24px 100px; }
  .hero-logo { max-width: 300px; }
  .hero-scroll-hint { bottom: 24px; }

  .section { padding: 80px 24px; }

  .trust-strip { padding: 28px 24px; }

  .steps {
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }

  .steps::before { display: none; }
  .step-arrow { display: none; }

  .gallery-viewport { margin: 0; }
  .gallery-track { grid-auto-columns: calc(100vw - 96px); padding: 4px 4px 20px; }
  .gallery-nav { display: none; }
  .gallery-hint { font-size: 11px; }

  .tech-grid { grid-template-columns: 1fr; }

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

  .footer { padding: 52px 24px; }

  .lightbox { padding: 20px; }
}

@media (max-width: 480px) {
  .hero-actions {
    flex-direction: column;
    align-items: center;
    margin-bottom: 32px;
  }

  .trust-inner {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 24px;
  }

  .trust-num { font-size: 24px; }

  .gallery-track { grid-auto-columns: calc(100vw - 96px); }

  .contact-form-wrap { padding: 28px 20px; }

  .wa-bubble { bottom: 20px; right: 20px; width: 52px; height: 52px; }
  .wa-bubble-icon { width: 26px; height: 26px; }
  .wa-bubble-tooltip { display: none; }
}
