/* -------- Reset general -------- */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}


:root {
  --bg: #000;
  --surface: rgba(24, 24, 24, 0.7);
  --txt: #fff;
  --accent: rgba(90, 180, 233, 0.9);
  --cardsp: #ffffff;
  --cardss: #b3b3b3;
  /* Base negra en capas */
  --bg-0: #050709; /* body/background absoluto (negro realista) */
  --bg-1: #0a0f14; /* secciones principales (ligeramente más claras) */
  --bg-2: #0f1620; /* superficies elevadas (cards/nav) */

  /* Superficies/contornos */
  --surface-1: #111925; /* panels/cards */
  --surface-2: #0c141d; /* bloques secundarios */
  --line: rgba(255, 255, 255, 0.08); /* bordes sutiles */
  --line-strong: rgba(255, 255, 255, 0.14);

  /* Texto */
  --text: #e9eef7;
  --muted: #a9b4c6;

  /* Marca / acentos */
  --brand: rgba(1, 145, 198); /* tu azul */
  --neon: #00cfff; /* azul neón para glow */
  --hot: #ff2e63; /* acento cálido pequeño (badges/hover) */

  /* Sombras/blur */
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
  --ring: 0 0 0 3px rgba(1, 146, 198, 0.25);

  --footer-bg: #050709;
    --footer-surface: #0B1017;
    --footer-surface-soft: #101724;
    --footer-text: #E9EEF7;
    --footer-muted: #A9B4C6;
    --footer-line: rgba(255,255,255,0.08);
    --footer-accent: #5AB4E9; /* rgba(90,180,233,0.9) */
    --footer-shadow: 0 10px 30px rgba(0,0,0,0.6);
}

body {
  font-family: "Roboto", system-ui, sans-serif;
  background-color: var(--bg);
  color: var(--txt);
}

/*---- Titulos de secciones ----*/

.title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  height: auto;
  padding: 30px;
  font-weight: 700;
  font-size: 1.2rem;
}

.title p {
  width: 80%;
  color: var(--grisClaro);
  font-weight: 400;
}

/* -------- Container -------- */
.container {
  width: 100%;
  margin: 0 auto;
  padding: 20px 70px;
}

/* -------- Navbar -------- */



/*Main*/
.main__container {
  display: flex;
  flex-direction: column;
}

/*Hero*/

.hero {
  color: var(--blanco);
  width: 100%;
  height: 500px;
  padding: 0 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  gap: 160px;
  background: radial-gradient(
      800px 450px at 25% 50%,
      rgba(1, 145, 198, 0.7),
      transparent 70%
    ),
    linear-gradient(180deg, #264378 0%, #26517b 70%);
  overflow: hidden;
}

.hero__slogan {
  font-style: italic;
  font-size: 1.5rem;
  text-shadow: #000 0 3px 3px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero__button button{
  margin-top: 30px;
  line-height: 1;
  color: var(--blanco);
  border: none;
  border-radius: 10px;
  padding: 10px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hero__button--pri{
  background:#ff002bcc;
}

.hero__button--sec{
  background: var(--Cyan);
}

.hero__slogan button:hover {
  transform: translateY(-1px);
  
}

.hero__img {
  height: 500px;
  filter: drop-shadow(15px 0 25px rgba(1, 145, 198, 0.65))
    drop-shadow(-5px 0 15px rgba(1, 146, 198, 0.5));
}

/* Productos mas vendidos cards */


.instagram-videos {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0px;
  background-color: #0a0f14;
}

.instagram-videos__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(245px, 1fr));
  gap: 16px;
  width: 95%;
  margin-top: 50px;
}

.instagram-videos {
  position: relative;
  align-items: stretch;
  padding: clamp(48px, 7vw, 86px) clamp(16px, 4vw, 32px);
  overflow: hidden;
  background:
    radial-gradient(760px 360px at 12% 10%, rgba(90, 180, 233, 0.16), transparent 70%),
    radial-gradient(560px 320px at 88% 0%, rgba(255, 46, 99, 0.12), transparent 72%),
    linear-gradient(180deg, #050709 0%, #0a0f14 55%, #050709 100%);
}

.instagram-videos::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(180deg, transparent, #000 18%, #000 82%, transparent);
  opacity: 0.36;
}

.instagram-videos__header {
  position: relative;
  z-index: 1;
  width: min(860px, 100%);
  margin: 0 auto;
  padding: 0;
  text-align: center;
}

.instagram-videos__header h2 {
  margin: 0;
  color: var(--blanco);
  font-size: clamp(1.9rem, 4vw, 3.35rem);
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0;
}

.instagram-videos__header p {
  width: min(680px, 100%);
  margin: 0 auto;
  color: rgba(233, 238, 247, 0.74);
  font-size: clamp(0.98rem, 1.5vw, 1.1rem);
  font-weight: 500;
  line-height: 1.6;
}

.instagram-videos__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  margin-top: 4px;
  padding: 0 18px;
  border: 1px solid rgba(90, 180, 233, 0.45);
  border-radius: 999px;
  color: #e9eef7;
  background: rgba(90, 180, 233, 0.1);
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.16s ease;
}

.instagram-videos__cta:hover,
.instagram-videos__cta:focus-visible {
  border-color: rgba(90, 180, 233, 0.82);
  background: rgba(90, 180, 233, 0.18);
  transform: translateY(-1px);
  outline: none;
}

.instagram-videos__grid {
  position: relative;
  z-index: 1;
  width: min(1180px, 100%);
  margin: clamp(28px, 5vw, 46px) auto 0;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 22px);
  align-items: start;
}

.reel-card {
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.06), rgba(255,255,255,0.025)),
    rgba(9, 13, 22, 0.82);
  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.44);
}

.reel-card__frame {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  min-height: 520px;
  overflow: hidden;
  border-radius: 14px;
  background:
    radial-gradient(circle at 50% 20%, rgba(90, 180, 233, 0.18), transparent 55%),
    #050709;
}

.reel-card__frame::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: inherit;
}

.reel-card .instagram-media {
  min-width: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto !important;
  background: transparent !important;
}

.reel-card iframe {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
}

.reel-card .instagram-media a {
  color: #5ab4e9;
  font-weight: 500;
}

@media (max-width: 1080px) {
  .instagram-videos__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    width: min(760px, 100%);
  }
}

@media (max-width: 620px) {
  .instagram-videos {
    padding: 42px 12px;
  }

  .instagram-videos__grid {
    grid-template-columns: 1fr;
    width: min(420px, 100%);
  }

  .reel-card {
    padding: 8px;
    border-radius: 16px;
  }

  .reel-card__frame {
    min-height: 500px;
  }
}

/*-------- Footer -------- */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    margin-top: 80px;
    border-top: 1px solid rgba(90,180,233,0.18);
  }

  .footer__glow {
    height: 3px;
    background: radial-gradient(circle at 50% 50%,
      rgba(90,180,233,0.9),
      rgba(90,180,233,0.0) 65%);
    opacity: 0.75;
  }

  .footer__inner {
    max-width: 1160px;
    margin: 0 auto;
    padding: 40px 20px 28px 20px;
  }

  .footer__grid {
    display: grid;
    gap: 40px;
    grid-template-columns: minmax(260px, 1.25fr) repeat(3, minmax(160px, 1fr));
  }

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

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

  .footer__brand {
    background: linear-gradient(135deg, var(--footer-surface), var(--footer-surface-soft));
    border-radius: 18px;
    padding: 18px 18px 20px 18px;
    box-shadow: var(--footer-shadow);
    border: 1px solid rgba(90,180,233,0.18);
  }

  .footer__logo {
    margin: 0 0 10px 0;
    font-size: 1.4rem;
    font-weight: 500;
    letter-spacing: 0.03em;
  }

  .footer__text {
    margin: 0 0 10px 0;
    color: var(--footer-muted);
    font-size: 0.95rem;
  }

  .footer__micro {
    margin: 0;
    font-size: 0.85rem;
    color: rgba(173,186,204,0.95);
  }

  .footer__block {
    font-size: 0.95rem;
  }

  .footer__title {
    margin: 0 0 12px 0;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    color: #ffffff;
  }

  .footer__list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    gap: 6px;
  }

  .footer__list--contact li {
    line-height: 1.4;
  }

  .footer a {
    color: var(--footer-muted);
    text-decoration: none;
    transition: color 0.2s ease, text-shadow 0.2s ease;
  }

  .footer a:hover {
    color: var(--footer-accent);
    text-shadow: 0 0 8px rgba(90,180,233,0.7);
  }

  .footer__cta {
    display: inline-flex;
    margin-top: 14px;
    padding: 0.6rem 1rem;
    border-radius: 999px;
    font-size: 0.9rem;
    font-weight: 500;
    border: 1px solid rgba(90,180,233,0.8);
    color: #ffffff;
    background: radial-gradient(circle at 0% 0%,
      rgba(90,180,233,0.4),
      rgba(90,180,233,0.15),
      transparent 80%);
    box-shadow: 0 0 18px rgba(90,180,233,0.45);
    align-items: center;
    gap: 6px;
  }

  .footer__cta:hover {
    box-shadow: 0 0 26px rgba(90,180,233,0.75);
  }

  .footer__social {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 6px;
  }

  .footer__bottom {
    margin-top: 32px;
    padding-top: 16px;
    border-top: 1px solid var(--footer-line);
    font-size: 0.85rem;
    color: #6F7A87;
    text-align: center;
  }

  .footer__dev {
    margin-top: 4px;
    font-size: 0.8rem;
    opacity: 0.85;
  }

/* Responsive */

@media (max-width: 768px) {
  .nav .container {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .logo__nav {
    width: 180px;
  }
  .nav__links {
    width: 100%;
  }

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

  .hero__slogan {
    font-size: 1rem;
    text-align: center;
    margin-top: 40px;
  }

  .hero__img {
    height: 350px;
  }

  .hero__slogan button {
    width: 250px;

  }
}

/* Home hero responsive polish */
html {
  scroll-behavior: smooth;
}

body {
  overflow-x: hidden;
}

.page-transition {
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.page-transition.page-transition-in {
  opacity: 1;
  transform: translateY(0);
}

.page-transition.page-transition-out {
  opacity: 0;
  transform: translateY(6px);
}

.hero {
  min-height: min(720px, calc(100vh - 76px));
  height: auto;
  padding: clamp(52px, 7vw, 96px) clamp(18px, 5vw, 72px) clamp(34px, 6vw, 72px);
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(280px, 0.9fr);
  align-items: center;
  justify-content: center;
  gap: clamp(24px, 6vw, 92px);
  background:
    radial-gradient(720px 420px at 24% 44%, rgba(1, 145, 198, 0.64), transparent 68%),
    radial-gradient(520px 380px at 82% 68%, rgba(255, 46, 99, 0.22), transparent 70%),
    linear-gradient(135deg, #07111d 0%, #123457 46%, #06101a 100%);
}

.hero__slogan {
  align-items: flex-start;
  width: min(100%, 590px);
  font-style: normal;
  text-align: left;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.44);
}

.hero__slogan h2 {
  max-width: 12ch;
  margin: 0;
  font-size: clamp(2.35rem, 6vw, 5.6rem);
  line-height: 0.96;
  font-weight: 900;
  letter-spacing: 0;
}

.hero__copy {
  max-width: 540px;
  margin-top: clamp(16px, 2.4vw, 24px);
  color: rgba(233, 238, 247, 0.86);
  font-size: clamp(1rem, 1.55vw, 1.22rem);
  font-weight: 500;
  line-height: 1.55;
}

.hero__button {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: clamp(22px, 3vw, 34px);
}

.hero__button button {
  min-height: 48px;
  min-width: 154px;
  margin-top: 0;
  padding: 0 20px;
  border-radius: 14px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.28);
}

.hero__button--pri {
  background: #ff2e63;
}

.hero__button--sec {
  background: #5ab4e9;
  color: #07101a;
}

.hero__img {
  width: min(48vw, 560px);
  max-width: 100%;
  height: auto;
  align-self: end;
  justify-self: center;
  filter:
    drop-shadow(0 0 24px rgba(90, 180, 233, 0.72))
    drop-shadow(0 20px 40px rgba(0, 0, 0, 0.52));
  animation: heroFloat 5.6s ease-in-out infinite;
}

@keyframes heroFloat {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    grid-template-columns: 1fr;
    padding: clamp(34px, 8vw, 54px) 18px 0;
    gap: 20px;
  }

  .hero__slogan {
    align-items: center;
    justify-self: center;
    text-align: center;
  }

  .hero__slogan h2 {
    max-width: 13ch;
    font-size: clamp(2.15rem, 11vw, 4.4rem);
  }

  .hero__copy {
    max-width: 620px;
    margin-inline: auto;
  }

  .hero__button {
    justify-content: center;
  }

  .hero__img {
    width: min(86vw, 520px);
    margin-bottom: -8px;
  }
}

@media (max-width: 520px) {
  .hero {
    padding-inline: 14px;
  }

  .hero__button {
    width: 100%;
  }

  .hero__button button {
    flex: 1 1 100%;
    width: 100%;
  }

  .hero__img {
    width: min(104vw, 430px);
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .page-transition,
  .hero__img {
    transition: none;
    animation: none;
    transform: none;
  }
}
