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

:root {
  --blue-dark: #1B3A6B;
  --blue-light: #29ABE2;
  --bg: #0a0d13;
  --bg-card: #111620;
  --bg-dark: #080b10;
  --text: #e8edf5;
  --text-muted: #8a96a8;
  --border: rgba(41, 171, 226, 0.15);
  --radius: 16px;
}

html { scroll-behavior: smooth; max-width: 100%; overflow-x: hidden; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* ─── STAR TRAIL CURSOR ─── */
#star-trail-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
}
.cursor-dot {
  width: 5px; height: 5px;
  background: white;
  border-radius: 50%;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 10000;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 4px rgba(255,255,255,0.8);
}
.cursor-ring { display: none; }
@media (hover: none) {
  .cursor-dot, #star-trail-canvas { display: none; }
}

body {
  font-family: 'Poppins', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}

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

/* ─── NAVBAR ─── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 0 24px;
  transition: background 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  background: rgba(8, 11, 16, 0.92);
  backdrop-filter: blur(12px);
  box-shadow: 0 1px 0 var(--border);
}
.nav-inner {
  max-width: 1100px;
  margin: 0 auto;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 1px;
}
.nav-links {
  display: flex;
  list-style: none;
  gap: 32px;
  align-items: center;
}
.nav-links a {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 500;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--text); }

.nav-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  border-radius: 50px;
  font-size: 0.8rem !important;
  font-weight: 600 !important;
  border: 1px solid transparent;
  transition: background 0.2s, border-color 0.2s, color 0.2s !important;
}
.nav-tag-android { color: #3DDC84 !important; border-color: rgba(61,220,132,0.2); }
.nav-tag-android:hover { background: rgba(61,220,132,0.1) !important; border-color: rgba(61,220,132,0.4) !important; color: #3DDC84 !important; }
.nav-tag-pro { color: #FFA726 !important; border-color: rgba(255,167,38,0.2); }
.nav-tag-pro:hover { background: rgba(255,167,38,0.1) !important; border-color: rgba(255,167,38,0.4) !important; color: #FFA726 !important; }
.nav-tag-about { color: #9B6DE2 !important; border-color: rgba(149,97,226,0.2); }
.nav-tag-about:hover { background: rgba(149,97,226,0.1) !important; border-color: rgba(149,97,226,0.4) !important; color: #9B6DE2 !important; }
.nav-cta {
  background: var(--blue-light);
  color: white !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: opacity 0.2s !important;
}
.nav-cta:hover { opacity: 0.85; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ─── HERO ─── */
#particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}
.hero {
  min-height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding: 110px 24px 60px;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 160px;
  background: linear-gradient(to bottom, transparent, var(--bg));
  pointer-events: none;
  z-index: 1;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(27,58,107,0.6) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 80%, rgba(41,171,226,0.1) 0%, transparent 60%);
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}
.hero-logo-wrap {
  margin-bottom: 8px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 220px;
  height: 220px;
}

/* Glow base */
.hero-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(41,171,226,0.25) 0%, rgba(27,58,107,0.15) 50%, transparent 75%);
  animation: glow-breathe 3s ease-in-out infinite;
}

@keyframes glow-breathe {
  0%, 100% { transform: scale(1);   opacity: 0.7; }
  50%       { transform: scale(1.1); opacity: 1;   }
}

/* Rotating ring */
.hero-logo-wrap .ring-rotate {
  position: absolute;
  inset: -10px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-top-color: rgba(41,171,226,0.7);
  border-right-color: rgba(41,171,226,0.3);
  animation: spin 4s linear infinite;
}
.hero-logo-wrap .ring-rotate-2 {
  position: absolute;
  inset: -22px;
  border-radius: 50%;
  border: 1px solid transparent;
  border-bottom-color: rgba(255,255,255,0.25);
  border-left-color: rgba(255,255,255,0.1);
  animation: spin 7s linear infinite reverse;
}

/* Pulse rings */
.hero-logo-wrap .ring-pulse {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(41,171,226,0.5);
  animation: ring-expand 2.5s ease-out infinite;
}
.hero-logo-wrap .ring-pulse:nth-child(2) { animation-delay: 0s; }
.hero-logo-wrap .ring-pulse:nth-child(3) { animation-delay: 0.9s; }
.hero-logo-wrap .ring-pulse:nth-child(4) { animation-delay: 1.8s; }

@keyframes ring-expand {
  0%   { width: 150px; height: 150px; opacity: 0.7; }
  100% { width: 260px; height: 260px; opacity: 0;   }
}

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

.hero-logo-svg {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  filter:
    drop-shadow(0 0 12px rgba(41,171,226,0.8))
    drop-shadow(0 0 30px rgba(41,171,226,0.4))
    drop-shadow(0 0 60px rgba(27,58,107,0.5));
  animation: float 4s ease-in-out infinite;
  display: block;
  position: relative;
  z-index: 1;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
.hero-brand-wrap {
  display: flex;
  align-items: baseline;
  justify-content: center;
  line-height: 1;
  position: relative;
}
.hero-brand-wrap::before,
.hero-brand-wrap::after { display: none; }
.brand-free {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  -webkit-text-stroke: 1px rgba(255,255,255,0.5);
  background: linear-gradient(
    105deg,
    #1B3A6B 25%,
    #2a5298 42%,
    #7bafd4 49%,
    #2a5298 56%,
    #1B3A6B 75%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: polish 6s ease-in-out infinite;
  text-shadow: none;
}
.brand-zip {
  font-size: clamp(3.5rem, 10vw, 6.5rem);
  font-weight: 800;
  letter-spacing: -1px;
  -webkit-text-stroke: 1px rgba(255,255,255,0.5);
  background: linear-gradient(
    105deg,
    #29ABE2 25%,
    #4bbfe8 42%,
    #9adcf5 49%,
    #4bbfe8 56%,
    #29ABE2 75%
  );
  background-size: 250% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: polish 6s ease-in-out infinite;
  animation-delay: 0.3s;
  text-shadow: none;
}
@keyframes polish {
  0%   { background-position: 100% 0; }
  50%  { background-position: 0% 0; }
  100% { background-position: 100% 0; }
}
.hero-tagline {
  font-size: clamp(1rem, 2.5vw, 1.35rem);
  font-weight: 500;
  color: var(--text-muted);
  max-width: 480px;
}
.hero-sub {
  font-size: 0.85rem;
  font-weight: 400;
  color: var(--blue-light);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.hero-btns {
  display: flex;
  gap: 14px;
  margin-top: 12px;
  flex-wrap: wrap;
  justify-content: center;
}
.btn {
  padding: 14px 32px;
  border-radius: 50px;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s, opacity 0.2s;
  cursor: pointer;
  border: none;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-light));
  color: white;
  box-shadow: 0 4px 24px rgba(41,171,226,0.3);
}
.btn-primary:hover { box-shadow: 0 6px 32px rgba(41,171,226,0.5); }
.btn-outline {
  border: 1.5px solid var(--blue-light);
  color: var(--blue-light);
  background: transparent;
}
.btn-outline:hover { background: rgba(41,171,226,0.08); }

/* Hero badges */
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-top: 16px;
  max-width: 500px;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--text-muted);
}
.hero-badge svg { opacity: 0.5; flex-shrink: 0; }

.hero-scroll {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  animation: fadeInUp 1s ease 1.5s both;
  z-index: 2;
}
.scroll-text {
  font-size: 0.65rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: rgba(41,171,226,0.5);
}
.scroll-arrow {
  font-size: 1rem;
  color: rgba(41,171,226,0.6);
  animation: bounce 1.6s ease-in-out infinite;
}
@keyframes bounce {
  0%, 100% { transform: translateY(0); opacity: 0.5; }
  50%       { transform: translateY(5px); opacity: 1; }
}
@keyframes fadeInUp {
  from { opacity: 0; transform: translateX(-50%) translateY(10px); }
  to   { opacity: 1; transform: translateX(-50%) translateY(0); }
}


/* ─── SECTIONS ─── */
.section { padding: 72px 24px; position: relative; scroll-margin-top: 85px; }

/* Fusión de fondos entre secciones */
.section-dark {
  background: var(--bg-dark);
}
.section-dark::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 80px;
  background: linear-gradient(to bottom, var(--bg), var(--bg-dark));
  pointer-events: none;
}
.section-dark::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40px;
  background: linear-gradient(to top, var(--bg), transparent);
  pointer-events: none;
  z-index: 0;
}
.section-dark .container {
  position: relative;
  z-index: 1;
}
.section-contact {
  background: linear-gradient(180deg, var(--bg) 0%, rgba(27,58,107,0.2) 50%, var(--bg) 100%);
}
.container { max-width: 1100px; margin: 0 auto; }

.section-header {
  text-align: center;
  margin-bottom: 56px;
}
.section-tag {
  display: inline-flex;
  align-items: center;
  background: rgba(41,171,226,0.12);
  color: var(--blue-light);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 50px;
  margin-bottom: 14px;
  border: 1px solid rgba(41,171,226,0.2);
}
.section-tag-android {
  background: linear-gradient(135deg, rgba(61,220,132,0.15), rgba(41,171,226,0.15));
  color: #3DDC84;
  border-color: rgba(61,220,132,0.35);
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 11px 28px;
  box-shadow: 0 0 16px rgba(61,220,132,0.12);
}
.section-tag-pro {
  background: linear-gradient(135deg, rgba(255,167,38,0.15), rgba(255,100,20,0.1));
  color: #FFA726;
  border-color: rgba(255,167,38,0.35);
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 11px 28px;
  box-shadow: 0 0 16px rgba(255,167,38,0.1);
}
.section-tag-about {
  background: linear-gradient(135deg, rgba(149,97,226,0.15), rgba(41,171,226,0.1));
  color: #9B6DE2;
  border-color: rgba(149,97,226,0.35);
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 11px 28px;
  box-shadow: 0 0 16px rgba(149,97,226,0.1);
}
.section-tag-contact {
  background: linear-gradient(135deg, rgba(41,171,226,0.15), rgba(27,58,107,0.2));
  color: #29ABE2;
  border-color: rgba(41,171,226,0.35);
  font-size: 1.2rem;
  letter-spacing: 2px;
  padding: 11px 28px;
  box-shadow: 0 0 16px rgba(41,171,226,0.12);
}
.section-header h2 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 12px;
}
.section-header p {
  color: var(--text-muted);
  font-size: 1rem;
  max-width: 480px;
  margin: 0 auto;
}

/* ─── APPS GRID ─── */
.apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 600px) {
  .apps-grid { grid-template-columns: 1fr; }
}
.card {
  background: var(--bg-card);
  border: none;
  border-radius: var(--radius);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
  isolation: isolate;
}
.card::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(
    from 0deg,
    transparent 70%,
    rgba(41,171,226,0.6) 82%,
    rgba(255,255,255,0.8) 88%,
    rgba(41,171,226,0.6) 94%,
    transparent 100%
  );
  animation: card-border-spin 4s linear infinite;
  z-index: -2;
}
.card::after {
  content: '';
  position: absolute;
  inset: 1px;
  background: var(--bg-card);
  border-radius: calc(var(--radius) - 1px);
  z-index: -1;
}
.card:nth-child(1)::before { animation-delay: 0s; }
.card:nth-child(2)::before { animation-delay: -1s; }
.card:nth-child(3)::before { animation-delay: -2s; }
.card:nth-child(4)::before { animation-delay: -3s; }
@keyframes card-border-spin {
  to { transform: rotate(360deg); }
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 40px rgba(41,171,226,0.15);
}
.card-icon {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.card-icon svg { width: 28px; height: 28px; }
.card-icon-img {
  background: white;
  padding: 0;
}
.card-icon-img img {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  object-fit: cover;
  display: block;
}
.card h3 { font-size: 1.1rem; font-weight: 600; }
.card p { color: var(--text-muted); font-size: 0.88rem; flex: 1; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-light);
  text-decoration: none;
  font-size: 0.85rem;
  font-weight: 600;
  margin-top: 4px;
  transition: gap 0.2s;
}
.card-link:hover { gap: 12px; }
.card-link svg { width: 12px; height: 12px; }

/* ─── SERVICES GRID ─── */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}
.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 32px;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(41,171,226,0.4);
  box-shadow: 0 12px 40px rgba(41,171,226,0.1);
}
.service-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(41,171,226,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--blue-light);
}
.service-icon svg { width: 28px; height: 28px; }
.service-card h3 { font-size: 1.15rem; font-weight: 600; margin-bottom: 10px; }
.service-card > p { color: var(--text-muted); font-size: 0.88rem; margin-bottom: 20px; }
.service-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.service-list li {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding-left: 18px;
  position: relative;
}
.service-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--blue-light);
}

/* ─── ABOUT ─── */
.about-wrap {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 56px;
  align-items: start;
}
.about-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  flex-shrink: 0;
}
.about-avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  background: rgba(41,171,226,0.08);
  border: 1px solid rgba(41,171,226,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
}
.about-trust-badges {
  display: flex;
  flex-direction: column;
  gap: 10px;
  min-width: 220px;
}
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  background: rgba(61,220,132,0.05);
  border: 1px solid rgba(61,220,132,0.15);
  border-radius: 8px;
  padding: 8px 14px;
  transition: border-color 0.2s, background 0.2s;
}
.trust-badge:hover {
  border-color: rgba(61,220,132,0.35);
  background: rgba(61,220,132,0.08);
  color: var(--text);
}
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text h2 { font-size: clamp(1rem, 2.2vw, 1.6rem); font-weight: 700; }
.about-text p { color: var(--text-muted); font-size: 0.95rem; }
.about-stats {
  display: flex;
  gap: 40px;
  margin-top: 8px;
  flex-wrap: wrap;
}
.stat { display: flex; flex-direction: column; }
.stat-num {
  font-size: 2rem;
  font-weight: 800;
  color: var(--blue-light);
  line-height: 1;
}
.stat-label { font-size: 0.8rem; color: var(--text-muted); margin-top: 4px; }

/* ─── CONTACT ─── */
.contact-btns {
  display: flex;
  gap: 20px;
  justify-content: center;
  flex-wrap: wrap;
}
.contact-btn {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 18px 40px;
  border-radius: 50px;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s, box-shadow 0.2s;
}
.contact-btn svg { width: 22px; height: 22px; }
.contact-btn:hover { transform: translateY(-3px); }
.whatsapp {
  background: #25D366;
  color: white;
  box-shadow: 0 4px 24px rgba(37,211,102,0.25);
}
.whatsapp:hover { box-shadow: 0 8px 32px rgba(37,211,102,0.4); }
.facebook {
  background: #1877F2;
  color: white;
  box-shadow: 0 4px 24px rgba(24,119,242,0.25);
}
.facebook:hover { box-shadow: 0 8px 32px rgba(24,119,242,0.45); }
.email {
  background: #EA4335;
  color: white;
  box-shadow: 0 4px 24px rgba(234,67,53,0.25);
}
.email:hover { box-shadow: 0 8px 32px rgba(234,67,53,0.45); }

/* ─── FOOTER ─── */
.footer {
  padding: 32px 24px;
  border-top: 1px solid var(--border);
  background: var(--bg-dark);
}
.footer-inner {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 1px;
}
.footer-copy { color: var(--text-muted); font-size: 0.8rem; }

/* ─── REVEAL ANIMATIONS ─── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ─── */
@media (max-width: 900px) {
  .about-wrap { grid-template-columns: 1fr; gap: 32px; }
  .about-left { flex-direction: row; flex-wrap: wrap; justify-content: center; }
  .about-trust-badges { min-width: unset; }
}

@media (max-width: 768px) {
  /* Navbar */
  .nav-links {
    display: none;
    position: absolute;
    top: 68px;
    left: 0; right: 0;
    background: rgba(8,11,16,0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    gap: 8px;
    padding: 24px 20px 28px;
    border-bottom: 1px solid var(--border);
    z-index: 99;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 0.95rem !important;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: background 0.2s, border-color 0.2s;
  }
  .nav-links a:hover { background: rgba(255,255,255,0.08); }
  .nav-tag-android { border-color: rgba(61,220,132,0.25) !important; background: rgba(61,220,132,0.06) !important; }
  .nav-tag-pro { border-color: rgba(255,167,38,0.25) !important; background: rgba(255,167,38,0.06) !important; }
  .nav-tag-about { border-color: rgba(149,97,226,0.25) !important; background: rgba(149,97,226,0.06) !important; }
  .nav-cta {
    margin-top: 8px;
    border-radius: 12px !important;
    padding: 16px 20px !important;
    font-size: 0.95rem !important;
    text-align: center;
    justify-content: center;
  }
  .hamburger { display: flex; }

  /* Hero */
  .hero { padding: 90px 16px 60px; }
  .hero-logo-wrap { width: 160px; height: 160px; }
  .hero-logo-svg { width: 110px; height: 110px; }
  .hero-tagline { font-size: 1rem; }

  /* About */
  .about-wrap { grid-template-columns: 1fr; text-align: center; gap: 28px; }
  .about-left { align-items: center; }
  .about-stats { justify-content: center; }
  .about-text h2 { white-space: normal; font-size: 1.3rem; }
  .about-text .section-tag { display: inline-flex; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 20px; }

  /* Contact */
  .contact-btns { flex-direction: column; align-items: center; }
  .contact-btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Sections */
  .section { padding: 28px 16px 60px; }
  .section { scroll-margin-top: 75px; }
  .section-header { margin-bottom: 36px; }
}

@media (max-width: 480px) {
  /* Hero buttons */
  .hero-btns { flex-direction: column; align-items: center; }
  .btn { width: 100%; text-align: center; max-width: 260px; padding: 12px 24px; }

  /* Apps grid */
  .apps-grid { grid-template-columns: 1fr; }

  /* Hero logo smaller */
  .hero-logo-wrap { width: 130px; height: 130px; }
  .hero-logo-svg { width: 90px; height: 90px; }

  /* Trust badges */
  .about-trust-badges { width: 100%; }
  .trust-badge { font-size: 0.78rem; }

  /* Section tags */
  .section-tag { font-size: 0.7rem; letter-spacing: 1px; padding: 6px 12px; }
  .section-tag-android { font-size: 1rem; padding: 10px 22px; }
  .section-tag-pro { font-size: 1rem; padding: 10px 22px; }

  /* Footer */
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
}

/* =====================
   BOTÓN VER MÁS
   ===================== */
.btn-ver-mas {
  margin-top: 16px;
  width: 100%;
  padding: 10px 0;
  background: transparent;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
}
.btn-ver-mas:hover {
  background: rgba(255,255,255,0.07);
  border-color: rgba(255,255,255,0.3);
}

/* =====================
   OVERLAY
   ===================== */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.75);
  z-index: 1000;
}
.modal-overlay.active {
  display: block;
}

/* =====================
   MODAL
   ===================== */
.modal {
  display: none;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 90%;
  max-width: 520px;
  max-height: 85vh;
  overflow-y: auto;
  background: #141414;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 16px;
  padding: 32px 28px 28px;
  z-index: 1001;
}
.modal.active {
  display: block;
  animation: modalSlideUp 0.25s ease forwards;
}
@keyframes modalSlideUp {
  from { opacity: 0; transform: translate(-50%, -46%); }
  to   { opacity: 1; transform: translate(-50%, -50%); }
}

/* CLOSE BUTTON */
.modal-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.5);
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: #fff; }

/* MODAL HEADER */
.modal-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.modal-icon img {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  object-fit: cover;
}
.modal-header h2 {
  font-size: 1.4rem;
  font-weight: 700;
  color: #fff;
  margin: 0;
}

/* MODAL DESCRIPTION */
.modal-desc {
  color: rgba(255,255,255,0.7);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

/* COMING SOON */
.modal-coming-soon {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 28px 0 8px;
  color: rgba(255,255,255,0.35);
  text-align: center;
}
.modal-coming-soon p {
  font-size: 0.88rem;
  margin: 0;
}

/* =====================
   ACORDEÓN
   ===================== */
.accordion {
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  margin-bottom: 10px;
  overflow: hidden;
}
.accordion-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  background: rgba(255,255,255,0.04);
  border: none;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  text-align: left;
  transition: background 0.2s;
}
.accordion-btn:hover { background: rgba(255,255,255,0.08); }
.accordion-chevron {
  flex-shrink: 0;
  transition: transform 0.25s;
  opacity: 0.6;
}
.accordion.open .accordion-chevron { transform: rotate(180deg); }
.accordion-content {
  display: none;
  padding: 14px 16px;
  background: rgba(255,255,255,0.02);
}
.accordion.open .accordion-content { display: block; }
.accordion-content ol {
  margin: 0;
  padding-left: 20px;
  color: rgba(255,255,255,0.7);
  font-size: 0.88rem;
  line-height: 1.8;
}

/* =====================
   BOTÓN DESCARGAR APK
   ===================== */
.btn-download-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
}
.btn-download {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 0;
  background: #3DDC84;
  color: #000;
  font-family: 'Poppins', sans-serif;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 10px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
  box-sizing: border-box;
}
.btn-download-group .btn-download {
  margin-top: 0;
}
.modal > .btn-download {
  margin-top: 20px;
}
.btn-download:hover {
  background: #2ec870;
  transform: translateY(-1px);
}
.btn-download-secondary {
  background: rgba(61,220,132,0.15);
  color: #3DDC84;
  border: 1px solid rgba(61,220,132,0.4);
}
.btn-download-secondary:hover {
  background: rgba(61,220,132,0.25);
  transform: translateY(-1px);
}

/* BOTÓN GUÍA PDF */
.btn-guide {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  width: 100%;
  padding: 12px 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  color: #fff;
  font-family: 'Poppins', sans-serif;
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
  box-sizing: border-box;
}
.btn-guide:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.25);
}
.btn-guide-download {
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.modal-version {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255,255,255,0.4);
  vertical-align: middle;
}

/* MOBILE */
@media (max-width: 480px) {
  .modal {
    width: 95%;
    padding: 24px 18px 22px;
    max-height: 90vh;
  }
}
