*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
/* ── NAV CTA ── */
.nav-cta {
  background: linear-gradient(135deg, #e040fb, #7b00d4) !important;
  color: #fff !important;
  padding: 0.4rem 1.1rem !important;
  border-radius: 50px !important;
  font-weight: 700 !important;
  letter-spacing: 0.04em !important;
  transition: transform 0.2s, box-shadow 0.2s !important;
  box-shadow: 0 3px 14px rgba(224,64,251,0.45) !important;
  white-space: nowrap;
}
.nav-cta:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(224,64,251,0.65) !important;
}
.nav-cta::after { display: none !important; }

/* ── SUBSCRIBE BANNER ── */
.subscribe-banner {
  background: #0a0a0a;
  padding: 1.4rem 6%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.subscribe-btn {
  display: inline-flex;
  align-items: center;
  background: #fff;
  color: #7b00d4;
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 900;
  font-size: 1rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.6rem 1.5rem;
  border-radius: 50px;
  white-space: nowrap;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 3px 16px rgba(0,0,0,0.2);
}
.subscribe-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,0.3);
}

@media (max-width: 600px) {
  .subscribe-banner { flex-direction: column; text-align: center; padding: 1rem 5%; gap: 0.8rem; }
  .nav-cta { padding: 0.3rem 0.8rem !important; font-size: 0.78rem !important; }
}

/* ── FOOTER ── */
.footer-main {
  background: #050505;
  border-top: 1px solid rgba(255,255,255,0.12);
  padding: 3rem 6% 0;
  width: 100%;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 1rem;
}

.footer-logo {
  width: 64px;
  height: 64px;
  object-fit: contain;
  display: block;
}

.footer-info {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  margin: 0;
  max-width: 420px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-heading {
  font-family: 'Barlow Condensed', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-links a {
  font-size: 0.97rem;
  color: rgba(255,255,255,0.65);
  text-decoration: none;
  transition: color 0.2s;
}
.footer-links a:hover { color: var(--cyan); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 1.1rem 0;
  text-align: center;
  color: rgba(255,255,255,0.35);
  font-size: 0.88rem;
}

@media (max-width: 600px) {
  .footer-main { padding: 2rem 5% 0; }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 2rem 1rem;
  }

  .footer-brand {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1.5rem;
    align-items: flex-start;
  }

  .footer-col {
    grid-row: 1;
    grid-column: 1 / -1;
    align-items: center;
    text-align: center;
  }

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

  .footer-logo { width: 42px; height: 42px; }
  .footer-info { font-size: 0.9rem; }
  .footer-heading { font-size: 0.9rem; }
  .footer-links a { font-size: 0.88rem; }
}

/* ── FLOATING WA BUTTON ── */
.wa-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 200;
  transition: transform 0.2s, box-shadow 0.2s;
}
.wa-float:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37,211,102,0.65);
}
.wa-float svg { width: 28px; height: 28px; }

:root {
    --cyan: #00e5ff;
    --bg-nav: #0a0a0a;
    --white: #ffffff;
  }

  html { scroll-behavior: smooth; }

  body {
    font-family: 'Barlow', sans-serif;
    background: var(--bg-nav);
    color: var(--white);
    overflow-x: hidden;
  }

  /* ── NAVBAR ── */
  nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    background: var(--bg-nav);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    height: 70px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
  }

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

  /* ── logo SVG inline ── */
  .logo-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }

  .nav-brand {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: var(--white);
    line-height: 1.1;
  }

  .nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
  }

  .nav-links a {
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.85);
    text-decoration: none;
    letter-spacing: 0.02em;
    transition: color 0.2s;
    padding: 4px 0;
    position: relative;
  }

  .nav-links a::after {
    content: '';
    position: absolute;
    bottom: -2px; left: 0; right: 0;
    height: 2px;
    background: var(--cyan);
    transform: scaleX(0);
    transition: transform 0.2s;
    border-radius: 2px;
  }

  .nav-links a:hover { color: var(--white); }
  .nav-links a:hover::after { transform: scaleX(1); }

  /* ── TICKER BANNER ── */
  .ticker {
    margin-top: 70px;
    background: linear-gradient(90deg, #5c0a9e, #8e24aa);
    padding: 8px 0;
    overflow: hidden;
    white-space: nowrap;
  }

  .ticker-inner {
    display: inline-block;
    animation: ticker 20s linear infinite;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.03em;
  }

  @keyframes ticker {
    0%   { transform: translateX(100vw); }
    100% { transform: translateX(-100%); }
  }

  /* ── HERO ── */
  #inicio {
    min-height: 90vh;
    background:
      radial-gradient(ellipse 70% 80% at 80% 50%, #2d0060 0%, transparent 70%),
      radial-gradient(ellipse 60% 60% at 20% 80%, #6a0080 0%, transparent 60%),
      radial-gradient(ellipse 50% 50% at 50% 10%, #c800d2 0%, transparent 60%),
      linear-gradient(135deg, #1a0533 0%, #4a0080 40%, #9b00c8 70%, #d500f9 100%);
    display: flex;
    align-items: center;
    padding: 5% 6%;
    gap: 4rem;
    position: relative;
    overflow: hidden;
  }

  /* ── FEATURES STRIP ── */
  .features-strip {
    background: #0d0d0d;
    padding: 4rem 6%;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2.5rem;
  }

  .feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0.5rem;
  }

  .feature-icon-box {
    width: 110px;
    height: 110px;
    background: rgba(255,255,255,0.07);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: background 0.2s, transform 0.2s;
    padding: 18px;
  }

  .feature-icon-box svg {
    width: 100%;
    height: 100%;
  }

  .feature-card:hover .feature-icon-box {
    background: rgba(0,229,255,0.1);
    transform: translateY(-4px);
  }

  .feature-title {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1.15rem;
    color: var(--white);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  .feature-desc {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.6;
    max-width: 220px;
  }

  
  /* ── RESPONSIVE ── */

  /* ── SLIDER ── */
  .slider-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: #000;
    height: 56.25vw;   /* proporción 16:9 exacta */
    min-height: 380px;
    max-height: 88vh;  /* que no tape toda la pantalla */
  }
  .slider-track {
    display: flex;
    height: 100%;
    transition: transform 0.5s cubic-bezier(.77,0,.18,1);
  }
  .slide {
    min-width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0a0a0a;
    overflow: hidden;
    position: relative;
  }
  .slide img {
    width: 100%;
    height: 100%;
    min-width: 100%;
    min-height: 100%;
    object-fit: cover;
    object-position: center center;
    display: block;
  }
  .slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.45);
    border: none;
    color: #fff;
    font-size: 2.8rem;
    line-height: 1;
    padding: 0.2rem 0.8rem 0.4rem;
    cursor: pointer;
    border-radius: 6px;
    transition: background 0.2s;
    z-index: 10;
  }
  .slider-arrow:hover { background: rgba(0,0,0,0.75); }
  .slider-arrow.prev { left: 1rem; }
  .slider-arrow.next { right: 1rem; }
  .slider-dots {
    position: absolute;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }
  .dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    border: none;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    padding: 0;
    transition: background 0.2s, transform 0.2s;
  }
  .dot.active {
    background: #fff;
    transform: scale(1.25);
  }

  

  /* ── REP CARDS ── */
  #contacto {
    padding: 5rem 4%;
    background: radial-gradient(ellipse 60% 60% at 50% 100%, #3d0070 0%, transparent 70%), #0a0a0a;
    text-align: center;
  }

  .rep-cards {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    max-width: 1000px;
    margin: 0 auto;
  }

  .rep-card {
    display: flex;
    align-items: stretch;
    background: #141414;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 18px;
    overflow: hidden;
    width: 100%;
    transition: border-color 0.25s, transform 0.25s;
  }

  .rep-card:hover {
    border-color: rgba(0,229,255,0.3);
    transform: translateY(-3px);
  }

  .rep-photo {
    width: 260px;
    flex-shrink: 0;
    overflow: hidden;
  }

  .rep-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
  }

  .rep-info {
    flex: 1;
    padding: 2rem 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 0.5rem;
    text-align: left;
  }

  .rep-name {
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 900;
    font-size: 2rem;
    text-transform: uppercase;
    color: var(--white);
    margin: 0;
    line-height: 1;
  }

  .rep-desc {
    color: rgba(255,255,255,0.5);
    font-size: 0.92rem;
    margin: 0.3rem 0 0.8rem;
    line-height: 1.5;
    max-width: 400px;
  }

  .btn-rep {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: #02914e;
    color: #ffffff;
    font-family: 'Barlow Condensed', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    text-decoration: none;
    padding: 0.7rem 1.5rem;
    border-radius: 50px;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 3px 14px rgba(37,211,102,0.3);
  }

  .btn-rep:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(37,211,102,0.5);
  }

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

  /* ══════════════════════════════
     RESPONSIVE — TABLET & MOBILE
  ══════════════════════════════ */

  /* Tablet landscape (up to 1024px) */
  @media (max-width: 1024px) {
    .rep-card { flex-direction: row; }
    .rep-photo { width: 200px; }
    .rep-info { padding: 1.5rem 2rem; }
    .features-strip { padding: 3rem 4%; }
  }

  /* Tablet portrait (up to 768px) */
  @media (max-width: 768px) {
    /* Navbar */
    nav { padding: 0 4%; height: 60px; }
    .nav-brand { font-size: 0.8rem; }
    .nav-links { gap: 1rem; }
    .nav-links a { font-size: 0.85rem; }

    /* Slider */
    .slider-wrap {
      height: 55vw;
      min-height: 220px;
      max-height: 480px;
    }
    .slider-arrow { font-size: 2rem; padding: 0.1rem 0.6rem 0.3rem; }

    /* Features */
    .features-strip {
      padding: 2.5rem 4%;
      grid-template-columns: repeat(3, 1fr);
      gap: 1rem;
    }
    .feature-icon-box { width: 80px; height: 80px; padding: 14px; }
    .feature-title { font-size: 0.95rem; }
    .feature-desc { font-size: 0.78rem; }

    /* Contact header */
    #contacto { padding: 3.5rem 4%; }

    /* Rep cards — stack vertically */
    .rep-cards { gap: 1rem; }
    .rep-card { flex-direction: row; }
    .rep-photo { width: 180px; min-height: 180px; }
    .rep-info { padding: 1.2rem 1.5rem; gap: 0.35rem; }
    .rep-name { font-size: 1.5rem; }
    .rep-desc { font-size: 0.82rem; margin-bottom: 0.5rem; }
    .btn-rep { font-size: 0.85rem; padding: 0.55rem 1.1rem; }
  }

  /* Mobile (up to 480px) */
  @media (max-width: 480px) {
    nav { height: 56px; }
    .nav-brand { font-size: 0.72rem; }
    .logo-icon { width: 30px; height: 30px; }
    .nav-links a { font-size: 0.78rem; }
    .nav-links { gap: 0.7rem; }

    /* Slider */
    .slider-wrap {
      height: 60vw;
      min-height: 180px;
      max-height: 340px;
    }
    .slider-arrow { display: none; } /* use swipe on mobile */
    .slider-dots { bottom: 0.6rem; gap: 6px; }
    .dot { width: 8px; height: 8px; }

    /* Features — 1 columna, ícono arriba texto abajo */
    .features-strip {
      grid-template-columns: 1fr;
      padding: 2rem 5%;
      gap: 1rem;
    }
    .feature-card {
      flex-direction: column;
      align-items: center;
      text-align: center;
      background: rgba(255,255,255,0.04);
      border: 1px solid rgba(255,255,255,0.08);
      border-radius: 16px;
      padding: 1.4rem 1rem;
    }
    .feature-icon-box {
      width: 72px;
      height: 72px;
      padding: 13px;
      flex-shrink: 0;
      margin-bottom: 0.8rem;
    }
    .feature-title { font-size: 1rem; }
    .feature-desc { max-width: 100%; font-size: 0.85rem; }

    /* Contact */
    #contacto { padding: 2.5rem 4%; }

    /* Rep cards en móvil: info arriba, foto abajo, bien separadas */
    .rep-cards { gap: 2.5rem; }

    .rep-card {
      flex-direction: column-reverse;
      min-height: 85vh;
    }

    .rep-info {
      padding: 1.5rem 1.2rem 1.2rem;
      align-items: flex-start;
      text-align: left;
      flex: 0 0 auto;
    }

    .rep-name { font-size: 1.5rem; }
    .rep-desc { margin-bottom: 0.8rem; }

    .rep-photo {
      width: 100%;
      flex: 1;
      min-height: 0;
      max-height: unset;
    }

    .rep-photo img {
      object-position: center 15%;
      height: 100%;
    }
  }