/* ==========================================================
   IdentVance — Landing page v2
   Paleta: navy oscuro + cian + naranja (identidad IdentVance)
   Tipografía: Space Grotesk (títulos) + Plus Jakarta Sans (texto)
   ========================================================== */

:root {
  --bg: #060B16;
  --bg-alt: #080E1C;
  --surface: #0D1526;
  --surface-2: #101A30;
  --border: rgba(255, 255, 255, 0.09);
  --text: #E9EFFA;
  --text-muted: #93A2BE;
  --text-soft: #B9C4D9;
  --cyan: #2DD8F0;
  --cyan-light: #5CE4F7;
  --orange: #FF8A42;
  --orange-light: #FFB37A;

  --font-display: 'Space Grotesk', system-ui, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;

  --radius: 16px;
  --shadow-lg: 0 24px 60px rgba(0, 0, 0, 0.4);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

h1, h2, h3 { font-family: var(--font-display); margin: 0; font-weight: 700; color: #F4F8FF; }
p { margin: 0; color: var(--text-muted); line-height: 1.6; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; margin: 0; padding: 0; }
img { max-width: 100%; display: block; }
svg { width: 1em; height: 1em; }
::selection { background: rgba(45, 216, 240, 0.3); color: #06101B; }

.accent { color: var(--cyan); }
.light { color: var(--text-soft) !important; }

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--cyan);
}
.eyebrow--light { color: var(--cyan-light); }

/* ---------- Reveal-on-scroll ---------- */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* ---------- Nav ---------- */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(6, 11, 22, 0.78);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  transition: background 0.2s ease, border-color 0.2s ease;
}
.nav.is-scrolled { background: rgba(6, 11, 22, 0.92); }

.nav__inner {
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 48px;
}

.nav__brand img { height: 32px; width: auto; }

.nav__links { display: flex; align-items: center; gap: 34px; }
.nav__links a {
  color: #B9C4D9;
  font-size: 14.5px;
  font-weight: 500;
  position: relative;
  padding: 4px 0;
  transition: color 0.15s ease;
}
.nav__links a::after {
  content: '';
  position: absolute;
  left: 0; bottom: -2px;
  width: 0; height: 2px;
  background: var(--cyan);
  transition: width 0.2s ease;
}
.nav__links a:hover { color: var(--cyan); }
.nav__links a:hover::after { width: 100%; }

.nav__actions { display: flex; align-items: center; gap: 14px; }
.nav__login {
  color: var(--cyan-light);
  font-size: 14px;
  font-weight: 700;
  transition: color 0.2s ease;
}
.nav__login:hover { color: var(--cyan); }

.nav__burger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 38px;
  height: 38px;
  border: 1px solid var(--border);
  border-radius: 9px;
  background: transparent;
  cursor: pointer;
  padding: 0;
  align-items: center;
}
.nav__burger span {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

/* ---------- Mobile menu ---------- */
.mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 100;
  pointer-events: none;
}
.mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  background: rgba(2, 5, 11, 0.6);
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease;
}
.mobile-menu__panel {
  position: absolute;
  top: 0; right: 0;
  width: min(360px, 86vw);
  height: 100%;
  background: #0A1226;
  border-left: 1px solid var(--border);
  padding: 24px 28px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  transform: translateX(100%);
  transition: transform 0.3s ease;
  pointer-events: auto;
}
body.menu-open .mobile-menu__backdrop { opacity: 1; visibility: visible; }
body.menu-open .mobile-menu__panel { transform: translateX(0); }

.mobile-menu__head { display: flex; align-items: center; justify-content: space-between; }
.mobile-menu__head img { height: 28px; }
.mobile-menu__close {
  background: transparent;
  border: 1px solid var(--border);
  border-radius: 9px;
  width: 36px; height: 36px;
  color: var(--text);
  cursor: pointer;
  display: flex; align-items: center; justify-content: center;
}

.mobile-menu__links { display: flex; flex-direction: column; gap: 4px; }
.mobile-menu__links a {
  padding: 13px 4px;
  font-size: 17px;
  font-weight: 600;
  color: var(--text);
  border-bottom: 1px solid var(--border);
}
.mobile-menu__cta { margin-top: auto; justify-content: center; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 28px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 700;
  transition: all 0.15s ease;
  cursor: pointer;
  border: none;
}
.btn svg { width: 19px; height: 19px; flex-shrink: 0; }

.btn--sm { padding: 10px 20px; font-size: 14px; }

.btn--primary { background: var(--cyan); color: #06101B; }
.btn--primary:hover {
  background: var(--cyan-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(45, 216, 240, 0.25);
}

.btn--outline {
  background: transparent;
  color: var(--text);
  border: 1.5px solid rgba(233, 239, 250, 0.35);
}
.btn--outline:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  transform: translateY(-2px);
}

/* ---------- Hero ---------- */
.hero { padding: 56px 48px 96px; max-width: 1360px; margin: 0 auto; }

.hero__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}

.hero__text { display: flex; flex-direction: column; gap: 26px; }

.hero__title {
  font-size: 52px;
  line-height: 1.1;
}

.hero__lead { font-size: 17.5px; color: var(--text-soft); max-width: 540px; }

.hero__cta { display: flex; flex-wrap: wrap; gap: 16px; }

.hero__chips {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--border);
}
.hero__chips li {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  color: var(--text-soft);
  background: var(--surface);
  border: 1px solid var(--border);
  padding: 8px 14px;
  border-radius: 999px;
}
.hero__chips svg { width: 15px; height: 15px; color: var(--cyan); }

.hero__visual { position: relative; }

.hero__frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 5;
  transform: rotate(1.3deg);
}
.hero__frame img { width: 100%; height: 100%; object-fit: cover; }
.hero__frame-glow {
  position: absolute;
  inset: 0;
  background: linear-gradient(195deg, rgba(6,11,22,0) 45%, rgba(6,11,22,0.9) 100%);
}

.hero__badge {
  position: absolute;
  left: -28px;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(10, 17, 33, 0.92);
  border: 1px solid rgba(45, 216, 240, 0.3);
  backdrop-filter: blur(8px);
  padding: 14px 18px;
  border-radius: 14px;
  box-shadow: var(--shadow-lg);
  max-width: 270px;
}
.hero__badge svg { width: 26px; height: 26px; color: var(--orange); flex-shrink: 0; }
.hero__badge strong { display: block; font-size: 14px; color: #F4F8FF; }
.hero__badge span { font-size: 12.5px; color: var(--text-muted); }

/* ---------- Process band ---------- */
.process {
  position: relative;
  padding: 100px 48px;
  background: #050910 url('assets/process-bg.jpg') center / cover no-repeat;
}
.process__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(5,9,16,0.88) 0%, rgba(5,9,16,0.7) 50%, rgba(5,9,16,0.92) 100%);
}
.process__content { position: relative; max-width: 1280px; margin: 0 auto; display: flex; flex-direction: column; gap: 56px; }

.section__head { max-width: 680px; display: flex; flex-direction: column; gap: 16px; }
.section__head--center { max-width: 640px; margin: 0 auto; text-align: center; align-items: center; }
.section__head h2 { font-size: 38px; }
.section__head p { font-size: 16.5px; }

.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
  gap: 20px;
}
.step {
  position: relative;
  background: rgba(13, 21, 38, 0.82);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 30px 26px;
  backdrop-filter: blur(6px);
}
.step__num {
  display: block;
  font-family: var(--font-display);
  font-size: 13px;
  font-weight: 700;
  color: var(--orange-light);
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}
.step__icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(45, 216, 240, 0.12);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
}
.step__icon svg { width: 22px; height: 22px; }
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { font-size: 14.5px; line-height: 1.6; }

/* ---------- Sections (generic) ---------- */
.section {
  padding: 104px 48px;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 52px;
}

.section--alt { max-width: none; background: var(--bg-alt); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.section__inner { max-width: 1280px; margin: 0 auto; width: 100%; display: flex; flex-direction: column; gap: 52px; }
.section__inner--narrow { max-width: 820px; }

.grid { display: grid; gap: 24px; }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr)); }

/* ---------- Service cards ---------- */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 34px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.card:hover { border-color: rgba(45, 216, 240, 0.45); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card__icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(45, 216, 240, 0.12);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.card__icon svg { width: 23px; height: 23px; }
.card h3 { font-size: 20px; }
.card p { font-size: 15.5px; line-height: 1.65; }

/* ---------- Course cards ---------- */
.course {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.course:hover { border-color: rgba(45, 216, 240, 0.45); transform: translateY(-4px); box-shadow: var(--shadow-lg); }

.course__media { position: relative; aspect-ratio: 16 / 10; }
.course__media img { width: 100%; height: 100%; object-fit: cover; }
.course__media::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(0deg, rgba(13,21,38,0.95) 0%, rgba(13,21,38,0.15) 55%, rgba(13,21,38,0) 100%);
}
.course__media .pill { position: absolute; left: 16px; bottom: 14px; z-index: 1; }

.course__body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 14px; }
.course__body h3 { font-size: 19px; }

.pill {
  width: fit-content;
  padding: 5px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 138, 66, 0.4);
  background: rgba(10, 16, 28, 0.55);
  color: var(--orange-light);
  font-size: 12.5px;
  font-weight: 600;
}

.course__details summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 700;
  color: var(--cyan);
  padding: 2px 0;
}
.course__details summary::-webkit-details-marker { display: none; }
.course__details summary svg { width: 15px; height: 15px; transition: transform 0.2s ease; }
.course__details[open] summary svg { transform: rotate(180deg); }
.course__details p {
  font-size: 14px;
  line-height: 1.6;
  padding: 10px 0 2px;
  color: var(--text-muted);
}
.course__details p strong { color: #C7D1E6; }

.course-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--cyan);
  font-weight: 700;
  font-size: 15px;
  transition: gap 0.15s ease;
  margin-top: 2px;
}
.course-link svg { width: 17px; height: 17px; }
.course-link:hover { gap: 11px; }

/* ---------- Sobre (split) ---------- */
.section--split {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 64px;
}

.split__text { flex: 1 1 420px; display: flex; flex-direction: column; gap: 20px; }
.split__text h2 { font-size: 34px; }
.split__text p { font-size: 16.5px; line-height: 1.7; }

.check-list { display: flex; flex-direction: column; gap: 16px; padding-top: 8px; }
.check-list li { display: flex; gap: 13px; align-items: flex-start; font-size: 15px; color: var(--text-soft); line-height: 1.6; }
.check-list svg {
  width: 19px; height: 19px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--bg);
  background: var(--cyan);
  border-radius: 50%;
  padding: 3px;
  box-sizing: content-box;
}
.check-list strong { color: var(--text); }

.split__visual { flex: 1 1 360px; display: flex; justify-content: center; }
.photo-frame {
  position: relative;
  width: min(380px, 100%);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  transform: rotate(-1.5deg);
}
.photo-frame img { width: 100%; aspect-ratio: 4/5; object-fit: cover; }
.photo-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(185deg, rgba(6,11,22,0) 55%, rgba(6,11,22,0.75) 100%);
}

/* ---------- Apps ---------- */
.apps {
  position: relative;
  padding: 112px 48px;
  display: flex;
  justify-content: center;
  background: #050910 url('assets/apps-bg.jpg') center / cover no-repeat;
}
.apps__overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(5,9,16,0.92) 10%, rgba(5,9,16,0.75) 50%, rgba(5,9,16,0.4) 100%);
}
.apps__content { position: relative; max-width: 680px; display: flex; flex-direction: column; gap: 20px; }
.apps__content h2 { font-size: 34px; }
.apps__content p { font-size: 16.5px; line-height: 1.7; color: #C7D1E6; }

.tags { display: flex; flex-wrap: wrap; gap: 10px; padding-top: 8px; }
.tags li {
  padding: 7px 15px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  font-size: 13px;
  color: #C7D1E6;
  background: rgba(10, 16, 28, 0.4);
}

/* ---------- Trabajos realizados ---------- */
.work-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}
.work-card:hover { border-color: rgba(45, 216, 240, 0.45); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.work-card__media { aspect-ratio: 16 / 10; }
.work-card__media img { width: 100%; height: 100%; object-fit: cover; }
.work-card__body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.work-card__body h3 { font-size: 17px; }
.work-card__body p { font-size: 14.5px; }
.work-card__links { display: flex; gap: 10px; margin-top: 6px; }
.work-card__links a {
  width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: var(--surface-2); border: 1px solid var(--border);
  color: var(--cyan-light); transition: border-color 0.2s ease, color 0.2s ease;
}
.work-card__links a:hover { border-color: var(--cyan); color: var(--cyan); }
.work-card__links svg { width: 17px; height: 17px; }

/* ---------- Apps (estilo tienda de apps) ---------- */
.apps--store .apps__content { max-width: 1040px; gap: 36px; }
.apps--store .section__head h2 { font-size: 34px; }

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(300px, 100%), 1fr));
  gap: 20px;
}
.app-card {
  background: rgba(13, 21, 38, 0.82);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.app-card:hover { border-color: rgba(45, 216, 240, 0.45); transform: translateY(-4px); }
.app-card--placeholder { border-style: dashed; border-color: rgba(255, 138, 66, 0.35); }
.app-card__icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: rgba(45, 216, 240, 0.12);
  color: var(--cyan);
  display: flex; align-items: center; justify-content: center;
}
.app-card__icon svg { width: 26px; height: 26px; }
.app-card__info h3 { font-size: 18px; color: #F4F8FF; }
.app-card__cat { display: block; font-size: 12.5px; color: var(--cyan-light); font-weight: 600; margin-top: 2px; }
.app-card__rating { display: flex; align-items: center; gap: 8px; margin-top: 6px; }
.app-card__rating .stars { color: var(--orange); letter-spacing: 1px; font-size: 14px; }
.app-card__rating .count { font-size: 12.5px; color: var(--text-muted); }
.app-card__desc { font-size: 14px; color: #C7D1E6; line-height: 1.6; margin-top: 4px; }
.app-card__cta { margin-top: auto; align-self: flex-start; }

/* ---------- FAQ ---------- */
.faq-list { display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 4px 24px;
  transition: border-color 0.2s ease;
}
.faq-item[open] { border-color: rgba(45, 216, 240, 0.4); }
.faq-item summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 20px 0;
  font-size: 16px;
  font-weight: 600;
  color: #F4F8FF;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary svg { width: 19px; height: 19px; color: var(--cyan); flex-shrink: 0; transition: transform 0.2s ease; }
.faq-item[open] summary svg { transform: rotate(180deg); }
.faq-item p { font-size: 15px; line-height: 1.65; padding-bottom: 20px; }

/* ---------- Contact ---------- */
.contact {
  padding: 120px 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}
.contact h2 { font-size: 36px; }
.contact p { font-size: 16.5px; }
.contact__cta { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; padding-top: 12px; }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--border); padding: 44px 48px; }
.footer__inner {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  justify-content: space-between;
}
.footer__brand { display: flex; align-items: center; gap: 12px; }
.footer__brand img { height: 24px; width: auto; opacity: 0.85; }
.footer__brand span { color: #5C6B86; font-size: 13px; }
.footer__links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer__links a { color: var(--text-muted); font-size: 13.5px; }
.footer__links a:hover { color: var(--cyan); }
.footer__social { display: flex; gap: 10px; }
.footer__social a {
  width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-muted); border: 1px solid var(--border);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer__social a:hover { color: var(--cyan); border-color: rgba(45, 216, 240, 0.4); }
.footer__social svg { width: 16px; height: 16px; }
.footer__copy { color: #46536B; font-size: 13px; }

/* ---------- Floating WhatsApp ---------- */
.floating-wa {
  position: fixed;
  right: 24px;
  bottom: 55px;
  z-index: 70;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #06101B;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.4);
  transition: transform 0.15s ease;
}
.floating-wa svg { width: 28px; height: 28px; }
.floating-wa:hover { transform: scale(1.08); }

/* ---------- Back to top ---------- */
.back-top {
  position: fixed;
  right: 24px;
  bottom: 115px;
  z-index: 70;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--surface-2);
  border: 1px solid var(--border);
  color: var(--text);
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
}
.back-top.is-visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-top svg { width: 19px; height: 19px; }
.back-top:hover { border-color: var(--cyan); color: var(--cyan); }

/* ---------- Responsive ---------- */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; }
  .hero__visual { order: -1; max-width: 420px; margin: 0 auto; }
  .hero__title { font-size: 42px; }
}

@media (max-width: 760px) {
  .nav__inner { padding: 14px 20px; }
  .nav__links { display: none; }
  .nav__burger { display: flex; }
  .nav__actions .btn--sm { display: none; }
  .nav__login { display: none; }

  .hero { padding: 36px 20px 64px; }
  .hero__title { font-size: 34px; }
  .hero__lead { font-size: 16px; }
  .hero__badge { left: 50%; transform: translateX(-50%); bottom: -18px; }

  .process { padding: 72px 20px; }

  .section, .apps, .contact { padding: 72px 20px; }
  .section--split { flex-direction: column; }

  .section__head h2, .split__text h2, .apps__content h2, .contact h2 { font-size: 27px; }
  .step, .card { padding: 26px 22px; }

  .footer { padding: 32px 20px; }
  .footer__inner { justify-content: center; text-align: center; }

  .floating-wa { width: 50px; height: 50px; right: 16px; bottom: 16px; }
  .floating-wa svg { width: 24px; height: 24px; }
  .back-top { width: 40px; height: 40px; right: 16px; bottom: 76px; }
}
/* ---------- Apps con slider ---------- */
.apps--store .app-grid { grid-template-columns: 1fr; gap: 28px; }

.app-card--slider {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.3fr);
  align-items: center;
  gap: 36px;
  padding: 30px;
}
.app-card--slider:hover { transform: none; }

.app-card__main { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.app-card--slider .app-card__cta { margin-top: 6px; }

/* ===== Slider ===== */
.slider-container {
  position: relative;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border);
  background: var(--surface);
  box-shadow: var(--shadow-lg);
}

.slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.slide {
  min-width: 100%;
  aspect-ratio: 16 / 9;
}
.slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Botones */
.slider__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(6, 11, 22, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
  opacity: 0;
  transition: opacity 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.slider__btn svg { width: 20px; height: 20px; }
.slider__btn--prev { left: 12px; }
.slider__btn--next { right: 12px; }
.slider-container:hover .slider__btn,
.slider__btn:focus-visible { opacity: 1; }
.slider__btn:hover { background: rgba(6, 11, 22, 0.9); border-color: var(--cyan); color: var(--cyan); }

/* Dots */
.dots-container {
  position: absolute;
  left: 50%;
  bottom: 10px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(6, 11, 22, 0.55);
  backdrop-filter: blur(6px);
}
.dot {
  position: relative;
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: background 0.3s ease, transform 0.3s ease;
}
.dot::after { content: ''; position: absolute; inset: -6px; } /* área de toque más grande */
.dot.active { background: var(--orange); transform: scale(1.25); }

@media (max-width: 900px) {
  .app-card--slider { grid-template-columns: 1fr; gap: 24px; padding: 22px; }
  .app-card--slider .slider-container { order: -1; } /* slider arriba en celular */
}

@media (max-width: 760px) {
  .slider__btn { opacity: 1; width: 36px; height: 36px; }
  .slider__btn svg { width: 17px; height: 17px; }
  .slider__btn--prev { left: 8px; }
  .slider__btn--next { right: 8px; }
}

@media (prefers-reduced-motion: reduce) {
  .slider { transition: none; }
}