@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --azul-oscuro: #03045e;
  --azul-electrico: #1e47f4;
  --cyan: #00e1ff;
  --gris: #f4f2f2;
  --blanco: #ffffff;
  --hero-bg: #03045e;
  --nav-bg: rgba(3, 4, 94, 0.96);
  --sombra: 0 8px 32px rgba(3, 4, 94, 0.18);
  --texto-claro: #555555;
  --texto-blanco: rgba(255, 255, 255, 0.75);
  --border-light: #e8e8ee;
  --bg-card: #f8f8fb;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', -apple-system, sans-serif;
  background: var(--gris);
  color: var(--azul-oscuro);
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

#main-footer {
  margin-top: auto;
  background: var(--azul-oscuro);
  color: #fff;
  padding: 60px 5% 30px;
}

.footer-top {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand p {
  margin-top: 15px;
  color: var(--texto-blanco);
  font-size: 0.95rem;
  line-height: 1.6;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-col a {
  display: block;
  color: var(--texto-blanco);
  text-decoration: none;
  margin-bottom: 12px;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-socials {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-socials a {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
}

.footer-socials i {
  font-size: 1.2rem;
  width: 20px;
  text-align: center;
}

.footer-bottom {
  max-width: 1200px;
  margin: 30px auto 0;
  text-align: center;
  color: var(--texto-blanco);
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .footer-brand p {
    margin: 15px auto 0;
  }

  .footer-socials {
    align-items: center;
  }
}

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


/* ───── NAV ───── */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  height: 68px;
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  transition: all 0.3s ease;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

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

.logo-image {
  height: 48px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.nav-logo-text {
  color: #fff;
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.nav-logo-text span {
  color: var(--cyan);
  font-weight: 300;
}

.nav-links {
  display: flex;
  gap: 2rem;
  list-style: none;
  transition: all 0.3s ease;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
}

.menu-toggle span {
  width: 28px;
  height: 3px;
  background: #fff;
  border-radius: 10px;
  transition: 0.3s;
}

.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

.nav-links a {
  color: var(--texto-blanco);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  transition: color 0.2s;
}

.nav-links a:hover {
  color: var(--cyan);
}

.nav-cta {
  background: var(--azul-electrico);
  color: #fff !important;
  padding: 8px 20px;
  border-radius: 50px;
  font-weight: 600 !important;
  transition: background 0.2s, transform 0.15s !important;
}

.nav-cta:hover {
  background: var(--cyan) !important;
  color: var(--azul-oscuro) !important;
  transform: scale(1.04);
}

/* ───── HERO ───── */
.hero {
  min-height: 80vh;
  background: var(--hero-bg);
  padding: 140px 5% 80px;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
}

.hero-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 620px;
}

.hero-bg-circles {
  position: absolute;
  top: 0;
  right: -10%;
  width: 70%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
}

.hero-bg-circles circle {
  opacity: 0.07;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 225, 255, 0.1);
  border: 1px solid rgba(0, 225, 255, 0.3);
  color: var(--cyan);
  padding: 6px 16px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 28px;
}

.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.8rem);
  font-weight: 900;
  line-height: 1.05;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 24px;
}

.hero h1 em {
  font-style: normal;
  color: var(--cyan);
}

.hero p {
  font-size: 1.1rem;
  line-height: 1.65;
  color: var(--texto-blanco);
  margin-bottom: 40px;
  max-width: 500px;
}

.hero-btns {
  display: flex;
  gap: 18px;
}

.btn-primary {
  background: var(--azul-electrico);
  color: #fff;
  padding: 16px 36px;
  border-radius: 50px;
  font-size: 1.05rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(30, 71, 244, 0.3);
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-primary:hover {
  transform: translateY(-5px) scale(1.02);
  box-shadow: 0 15px 40px rgba(30, 71, 244, 0.4);
  background: var(--azul-oscuro);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  padding: 14px 32px;
  border-radius: 50px;
  font-size: 1rem;
  font-weight: 600;
  text-decoration: none;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
  transition: border-color 0.2s, color 0.2s;
}

.btn-secondary:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

.hero-stats {
  display: flex;
  gap: 40px;
  margin-top: 56px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 32px;
}

.hero-stat-num {
  font-size: 1.9rem;
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-num span {
  color: var(--cyan);
}

.hero-stat-label {
  font-size: 0.82rem;
  color: var(--texto-blanco);
  margin-top: 4px;
  font-weight: 500;
}

.hero-image-container img {
  width: 100%;
  max-width: 750px;
  filter: drop-shadow(0 30px 60px rgba(3, 4, 94, 0.15));
  animation: float 6s ease-in-out infinite;
}

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-20px); }
}

/* ───── TRUST BAR ───── */
.trust-bar {
  background: var(--azul-electrico);
  padding: 18px 5%;
  position: relative;
  z-index: 5;
}

.trust-bar .container {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 48px;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.88rem;
  font-weight: 600;
}

.trust-item svg {
  width: 24px;
  height: 24px;
  color: #fff;
  opacity: 0.8;
  flex-shrink: 0;
}

/* ───── SECCIONES GENÉRICAS ───── */
section {
  padding: 80px 5%;
}

.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--azul-electrico);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--azul-oscuro);
  margin-bottom: 16px;
}

.section-title em {
  font-style: normal;
  color: var(--azul-electrico);
}

.section-sub {
  font-size: 1rem;
  color: var(--texto-claro);
  line-height: 1.6;
  max-width: 520px;
}

/* ───── CÓMO FUNCIONA ───── */
.como-funciona {
  background: var(--blanco);
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin-top: 56px;
}

.step-card {
  background: var(--gris);
  border-radius: 20px;
  padding: 32px 28px;
  position: relative;
  border: 1.5px solid transparent;
  transition: border-color 0.25s, transform 0.25s;
}

.step-card:hover {
  border-color: var(--azul-electrico);
  transform: translateY(-4px);
}

.step-num {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: var(--azul-electrico);
  opacity: 0.15;
  position: absolute;
  top: 20px;
  right: 24px;
  letter-spacing: -0.05em;
}

.step-icon {
  width: 52px;
  height: 52px;
  background: var(--azul-oscuro);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon svg {
  width: 26px;
  height: 26px;
  color: var(--cyan);
}

.step-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--azul-oscuro);
  margin-bottom: 8px;
}

.step-card p {
  font-size: 0.9rem;
  color: #666;
  line-height: 1.55;
}

/* ───── CATÁLOGO ───── */
.catalogo {
  background: var(--gris);
  padding: 140px 5% 80px;
}

.catalog-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 48px;
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 32px;
}

@media (min-width: 1200px) {
  .products-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.product-card {
  background: var(--blanco);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
  border: 1px solid #e8e8ee;
  transition: transform 0.25s, box-shadow 0.25s, opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}

.product-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sombra);
  border-color: var(--azul-electrico);
}

.product-card-top {
  background: var(--azul-oscuro);
  padding: 32px 28px 28px;
  display: flex;
  align-items: center;
  gap: 16px;
  position: relative;
  overflow: hidden;
}

.apple-badge {
  position: absolute;
  top: 15px;
  right: 15px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.1rem;
}

.product-card-top::after {
  content: '';
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: 100px;
  height: 100px;
  background: var(--azul-electrico);
  border-radius: 50%;
  opacity: 0.25;
}

.product-image {
  width: 60px;
  height: 60px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.3));
}

.product-name {
  color: #fff;
  font-size: 1.15rem;
  font-weight: 700;
  position: relative;
  z-index: 1;
}

.product-version {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.78rem;
  font-weight: 500;
  margin-top: 2px;
}

.product-body {
  padding: 24px 28px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-desc {
  font-size: 0.88rem;
  color: #666;
  line-height: 1.55;
  margin-bottom: 20px;
  flex: 1;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
}

.product-price {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--azul-oscuro);
  letter-spacing: -0.02em;
}

.product-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: #888;
  display: block;
  line-height: 1;
}

/* ───── STATS UI ───── */
.card-stats {
  display: flex;
  gap: 12px;
  font-size: 0.8rem;
  color: #888;
  margin-top: 6px;
  margin-bottom: 12px;
  font-weight: 500;
}

.card-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-stats i {
  color: var(--cyan);
}

.pd-stats-badge {
  display: inline-flex;
  gap: 16px;
  background: var(--bg-card);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--border-light);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--texto-claro);
  margin-bottom: 24px;
}

.pd-stats-badge span {
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-comprar {
  background: var(--azul-electrico);
  color: #fff;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.btn-comprar:hover {
  background: var(--azul-oscuro);
  transform: scale(1.04);
}

.tag-popular {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--cyan);
  color: var(--azul-oscuro);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  z-index: 5;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* ───── BUSCADOR ───── */
.search-container {
  max-width: 600px;
  margin: 0 auto 30px;
  position: relative;
  display: flex;
  align-items: center;
}

.search-container input {
  width: 100%;
  padding: 15px 25px 15px 50px;
  border-radius: 50px;
  border: 1.5px solid rgba(0, 0, 0, 0.1);
  background: var(--blanco);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  color: var(--azul-oscuro);
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.search-container input:focus {
  border-color: var(--azul-electrico);
  box-shadow: 0 8px 25px rgba(30, 71, 244, 0.15);
  transform: translateY(-2px);
}

.search-container i {
  position: absolute;
  left: 20px;
  color: #888;
  font-size: 1.1rem;
  transition: color 0.3s;
}

.search-container input:focus+i {
  color: var(--azul-electrico);
}

/* ───── VER MÁS CATÁLOGO ───── */
.category-filters {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 30px;
}

.cat-btn {
  background: var(--blanco);
  border: 1.5px solid #e8e8ee;
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--azul-oscuro);
  cursor: pointer;
  transition: all 0.2s ease;
}

.cat-btn:hover {
  border-color: var(--azul-electrico);
}

.cat-btn.active {
  background: var(--azul-electrico);
  color: #fff;
  border-color: var(--azul-electrico);
}

/* ───── POR QUÉ KORE ───── */
.por-que {
  background: var(--azul-oscuro);
  color: #fff;
}

.por-que .section-title {
  color: #fff;
}

.por-que .section-title em {
  color: var(--cyan);
}

.por-que .section-sub {
  color: var(--texto-blanco);
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 52px;
}

.feature-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  padding: 28px 24px;
  transition: background 0.25s, border-color 0.25s;
}

.feature-card:hover {
  background: rgba(30, 71, 244, 0.2);
  border-color: rgba(0, 225, 255, 0.3);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: rgba(0, 225, 255, 0.1);
  border: 1px solid rgba(0, 225, 255, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.feature-icon svg {
  width: 22px;
  height: 22px;
  color: var(--cyan);
}

.feature-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.87rem;
  color: var(--texto-blanco);
  line-height: 1.55;
}

/* ───── TESTIMONIOS ───── */
.testimonios {
  background: var(--blanco);
}

.testimonios-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonio-card {
  background: var(--gris);
  border-radius: 20px;
  padding: 28px 26px;
  border: 1px solid #e8e8ee;
  transition: border-color 0.2s, transform 0.2s;
}

.testimonio-card:hover {
  border-color: var(--azul-electrico);
}

.stars {
  color: var(--azul-electrico);
  font-size: 1rem;
  margin-bottom: 14px;
  letter-spacing: 2px;
}

.testimonio-text {
  font-size: 0.92rem;
  color: #444;
  line-height: 1.6;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonio-autor {
  display: flex;
  align-items: center;
  gap: 12px;
}

.autor-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--azul-electrico);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.autor-name {
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--azul-oscuro);
}

.autor-detail {
  font-size: 0.78rem;
  color: #888;
}

/* ───── FAQ ───── */
.faq {
  background: var(--gris);
}

.faq-container {
  max-width: 720px;
  margin: 0 auto;
}

.faq-grid {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--blanco);
  border-radius: 14px;
  border: 1.5px solid #e8e8ee;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item.open {
  border-color: var(--azul-electrico);
}

.faq-question {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  background: none;
  border: none;
  cursor: pointer;
  font-family: 'Outfit', sans-serif;
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--azul-oscuro);
  text-align: left;
  gap: 12px;
}

.faq-toggle {
  width: 28px;
  height: 28px;
  background: var(--gris);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.25s;
  color: var(--azul-electrico);
}

.faq-item.open .faq-toggle {
  background: var(--azul-electrico);
  color: #fff;
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.2s;
  padding: 0 24px;
  font-size: 0.9rem;
  color: #555;
  line-height: 1.65;
}

.faq-item.open .faq-answer {
  max-height: 400px;
  padding-bottom: 20px;
}

/* ───── CTA FINAL ───── */
.cta-final {
  background: var(--azul-electrico);
  text-align: center;
  padding: 80px 5%;
  position: relative;
  overflow: hidden;
}

.cta-final::before {
  content: '';
  position: absolute;
  top: -80px;
  left: 50%;
  transform: translateX(-50%);
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: rgba(0, 225, 255, 0.08);
  pointer-events: none;
}

.cta-final h2 {
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 900;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 16px;
}

.cta-final p {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 36px;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.cta-final .btn-primary {
  background: #fff;
  color: var(--azul-electrico);
  box-shadow: none;
}

.cta-final .btn-primary:hover {
  background: #03045e;
  color: #fff;
}

/* ───── FOOTER ───── */
footer {
  background: var(--hero-bg);
  padding: 52px 5% 32px;
  color: var(--texto-blanco);
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 40px;
}

.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.65;
  margin-top: 14px;
  max-width: 300px;
}

.footer-col h4 {
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
}

.footer-col a {
  display: block;
  color: var(--texto-claro);
  text-decoration: none;
  font-size: 0.87rem;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.footer-col a:hover {
  color: var(--cyan);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.4);
}

.footer-bottom span {
  color: var(--cyan);
}

/* ───── MODAL DE COMPRA ───── */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 4, 94, 0.6);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-content {
  width: 90%;
  max-width: 500px;
  padding: 2.5rem;
  background: var(--blanco);
  border-radius: 20px;
  position: relative;
  transform: translateY(20px) scale(0.95);
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-overlay.active .modal-content {
  transform: translateY(0) scale(1);
}

.close-modal {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  background: none;
  border: none;
  color: #888;
  font-size: 1.5rem;
  cursor: pointer;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: var(--accent);
}

.checkout-state {
  display: block;
}

.checkout-state.hidden {
  display: none;
}

.success-state {
  display: none;
  text-align: center;
}

.success-state.active {
  display: block;
}

.chip-selection {
  margin: 2rem 0;
}

.chip-options {
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}

.chip-option {
  flex: 1;
  padding: 1rem;
  border: 1.5px solid #e8e8ee;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  background: var(--blanco);
}

.chip-option:hover {
  border-color: var(--azul-electrico);
}

.chip-option.selected {
  border-color: var(--azul-electrico);
  background: rgba(30, 71, 244, 0.05);
  box-shadow: 0 0 15px rgba(30, 71, 244, 0.1);
}

.chip-title {
  font-weight: 700;
  display: block;
  margin-bottom: 0.25rem;
  color: var(--azul-oscuro);
}

.chip-desc {
  font-size: 0.8rem;
  color: #666;
}

.paypal-btn {
  background: #ffc439;
  color: #000;
  width: 100%;
  padding: 1rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: background 0.3s ease;
  margin-top: 1rem;
}

.paypal-btn:hover {
  background: #f4bb33;
}

.paypal-logo {
  height: 20px;
}

.success-icon {
  width: 80px;
  height: 80px;
  background: rgba(37, 211, 102, 0.1);
  color: #25d366;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2.5rem;
  margin: 0 auto 1.5rem;
}

.whatsapp-btn {
  background: #25d366;
  color: white;
  width: 100%;
  padding: 1rem;
  border-radius: 50px;
  border: none;
  font-weight: 700;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  transition: all 0.3s ease;
  text-decoration: none;
  margin-top: 1.5rem;
}

.whatsapp-btn:hover {
  background: #20bd5a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
}

/* ───── SERVICIO ESPECIALIZADO ───── */
.servicio-especializado {
  background: var(--blanco);
  padding: 100px 5%;
}

.upgrade-card {
  background: var(--gris);
  border-radius: 40px;
  padding: 60px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
  border: 1px solid var(--border-light);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(3, 4, 94, 0.05);
}

.upgrade-info .section-sub {
  max-width: 100%;
  margin-bottom: 40px;
}

.macos-logos-grid,
.macos-gallery {
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  justify-content: center;
}

.macos-logo-item,
.macos-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  transition: transform 0.3s ease;
  width: fit-content;
}

.macos-logo-item:hover,
.macos-item:hover {
  transform: translateY(-5px);
}

.macos-logo-item img,
.macos-item img {
  width: 100px !important;
  height: 100px !important;
  max-width: 100px !important;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.15));
}

.macos-logo-item span,
.macos-item span {
  font-weight: 700;
  font-size: 1rem;
  color: var(--azul-oscuro);
}

.upgrade-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.old-mac-img {
  width: 100%;
  max-width: 550px;
  filter: drop-shadow(0 30px 60px rgba(0, 0, 0, 0.2));
  border-radius: 20px;
}

@media (max-width: 992px) {
  .upgrade-card {
    grid-template-columns: 1fr;
    padding: 40px;
    text-align: center;
  }

  .macos-logos-grid {
    justify-content: center;
  }

  .upgrade-visual {
    margin-top: 40px;
  }
}

/* ───── ACTUALIZACIÓN MACS (OLD) ───── */
.upgrade-macs {
  background: var(--blanco);
  padding: 140px 0 80px;
}

.upgrade-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.requirements-box {
  background: #fff8e1;
  border-left: 4px solid #ffc107;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 30px;
}

.requirements-box h4 {
  color: #856404;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.requirements-box ul {
  list-style: none;
  padding: 0;
}

.requirements-box li {
  font-size: 0.9rem;
  color: #856404;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 8px;
}


@media (max-width: 992px) {
  .upgrade-container {
    grid-template-columns: 1fr;
    padding: 40px 30px;
    text-align: center;
  }

  .upgrade-text .section-sub {
    text-align: center !important;
  }
}

/* ───── DETALLES DE PRODUCTO ───── */
.product-detail-section {
  padding: 140px 5% 80px;
  background: var(--blanco);
  min-height: 80vh;
}

.pd-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pd-visual {
  background: #f8f8fb;
  border-radius: 20px;
  border: 1px solid #e8e8ee;
  overflow: hidden;
  text-align: center;
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
}

.pd-visual img {
  width: 180px;
  height: 180px;
  object-fit: contain;
  margin-bottom: 20px;
}

.pd-chips {
  display: flex;
  gap: 10px;
  margin-top: 20px;
}

.pd-chip {
  background: rgba(30, 71, 244, 0.1);
  color: var(--azul-electrico);
  padding: 6px 14px;
  border-radius: 50px;
  font-size: 0.85rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pd-info h1 {
  font-size: 3rem;
  color: var(--azul-oscuro);
  margin-bottom: 10px;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.pd-price {
  font-size: 2.2rem;
  color: var(--azul-electrico);
  font-weight: 800;
  margin-bottom: 20px;
}

.pd-desc {
  font-size: 1.1rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 30px;
}

.pd-lists {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  margin-bottom: 40px;
}

.pd-list-box {
  background: var(--gris);
  padding: 24px;
  border-radius: 16px;
}

.pd-list-box h3 {
  font-size: 1.1rem;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.pd-list-box.pros h3 {
  color: #10b981;
}

.pd-list-box.cons h3 {
  color: #ef4444;
}

.pd-list-box ul {
  list-style: none;
}

.pd-list-box li {
  font-size: 0.95rem;
  color: #555;
  margin-bottom: 12px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.pd-list-box.pros li i {
  color: #10b981;
  margin-top: 4px;
}

.pd-list-box.cons li i {
  color: #ef4444;
  margin-top: 4px;
}

@media (max-width: 992px) {
  .pd-grid {
    grid-template-columns: 1fr;
  }

  .pd-lists {
    grid-template-columns: 1fr;
  }
}

/* ───── COMPARACIÓN DE SISTEMAS ───── */
.comparison-section {
  padding: 80px 5%;
  background: var(--gris);
  text-align: center;
}

.comparison-container {
  max-width: 1100px;
  margin: 40px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
}

.comparison-box {
  flex: 1;
  background: var(--blanco);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border: 1px solid var(--border-light);
}

.comparison-arrow {
  font-size: 2.5rem;
  color: var(--azul-electrico);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: pulse-arrow 2s infinite;
}

@keyframes pulse-arrow {
  0% {
    transform: translateX(0);
    opacity: 0.5;
  }

  50% {
    transform: translateX(10px);
    opacity: 1;
  }

  100% {
    transform: translateX(0);
    opacity: 0.5;
  }
}

.comparison-label {
  padding: 12px;
  font-weight: 700;
  font-size: 0.9rem;
  background: var(--azul-oscuro);
  color: #fff;
}

.comparison-box img {
  width: 100%;
  height: auto;
  display: block;
  cursor: zoom-in;
  transition: transform 0.3s ease;
}

.comparison-box img:hover {
  transform: scale(1.02);
}

/* ───── LIGHTBOX / IMAGE MODAL ───── */
.image-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(3, 4, 94, 0.9);
  backdrop-filter: blur(10px);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  cursor: zoom-out;
}

.image-modal-overlay.active {
  display: flex;
}

.image-modal-content {
  max-width: 90%;
  max-height: 90%;
  position: relative;
  animation: modalIn 0.3s ease-out;
}

.image-modal-content img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 12px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.close-image-modal {
  position: absolute;
  top: -40px;
  right: 0;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
}

@media (max-width: 768px) {
  .comparison-container {
    flex-direction: column;
  }

  .comparison-arrow {
    transform: rotate(90deg);
    animation: pulse-arrow-v 2s infinite;
  }
}

@keyframes pulse-arrow-v {
  0% {
    transform: rotate(90deg) translateX(0);
    opacity: 0.5;
  }

  50% {
    transform: rotate(90deg) translateX(10px);
    opacity: 1;
  }

  100% {
    transform: rotate(90deg) translateX(0);
    opacity: 0.5;
  }
}

/* ───── HOW WE DO IT ───── */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.tool-card {
  background: var(--bg-card);
  padding: 40px 30px;
  border-radius: 24px;
  text-align: center;
  border: 1px solid var(--border-light);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.tool-card:hover {
  transform: translateY(-5px);
  border-color: var(--azul-electrico);
}

.tool-icon {
  font-size: 3rem;
  margin-bottom: 20px;
}

.tool-card h3 {
  margin-bottom: 12px;
  color: var(--azul-oscuro);
}

.tool-card p {
  font-size: 0.95rem;
  color: var(--texto-claro);
  line-height: 1.6;
}

/* ───── RESPONSIVE DESIGN (GLOBAL) ───── */
@media (max-width: 992px) {
  .nav-inner {
    padding: 0 5%;
    height: 68px;
    align-items: center;
  }

  .menu-toggle {
    display: flex;
  }

  nav.menu-active {
    height: 100vh;
    background: #02033d;
  }

  .nav-links {
    position: absolute;
    top: 68px;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 1.5rem;
    padding: 60px 40px;
    transform: translateX(100%);
    visibility: hidden;
    border-top: 1px solid rgba(255,255,255,0.1);
  }

  .nav-links.active {
    transform: translateX(0);
    visibility: visible;
  }

  .nav-links a {
    font-size: 1.2rem;
  }

  .hero {
    padding-top: 120px;
    text-align: center;
  }

  .hero-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-content {
    max-width: 100%;
  }

  .hero p {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-btns {
    justify-content: center;
    flex-wrap: wrap;
  }

  .hero-stats {
    justify-content: center;
    gap: 25px;
  }

  .hero-image-container img {
    max-width: 100%;
    transform: scale(1.1); /* Hacer la imagen más grande en móvil */
  }

  .trust-bar .container {
    gap: 24px;
  }

  .trust-item {
    font-size: 0.8rem;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero-stats {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }

  .btn-primary {
    width: 100%;
    text-align: center;
  }

  .btn-secondary {
    width: 100%;
    text-align: center;
  }

  .nav-logo-text {
    font-size: 1.1rem;
  }
}