/* =========================
   PLASMÁTIKA - style.css
   Guardar este archivo como: style.css
========================= */

:root {
  --bg: #041b78;
  --bg-dark: #03114d;
  --blue: #0620a8;
  --green: #8fff00;
  --cyan: #00d9ff;
  --white: #ffffff;
  --text: rgba(255,255,255,0.82);
  --muted: rgba(255,255,255,0.65);
}

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

/* TOGGLE MOBILE */

.menu-toggle {
  display: none;
  width: 52px;
  height: 52px;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  margin: 6px auto;
  border-radius: 999px;
  background: white;
  transition: 0.3s ease;
}


/* MOBILE */

@media (max-width: 780px) {

  .nav {
    height: 82px;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: fixed;
    top: 82px;
    left: 0;
    width: 100%;
    background: #041b78;
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;

    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;

    transition:
      transform 0.35s ease,
      opacity 0.35s ease;
  }

  .menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu a {
    font-size: 1rem;
  }

  .menu .btn {
    width: fit-content;
  }
}


html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(180deg, #0620a8 0%, #041b78 45%, #03114d 100%);
  color: white;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  width: 92%;
  max-width: 1320px;
  margin: auto;
}

/* HEADER */

header {
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
  background: rgba(0, 0, 0, 0.18);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(255,255,255,0.08);
}

.nav {
  height: 90px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand strong {
  font-family: 'Sora', sans-serif;
  font-size: 2.25rem;
  font-weight: 800;
  font-style: italic;
  color: var(--green);
  letter-spacing: -1px;
}

.brand span {
  margin-top: 8px;
  font-size: 0.78rem;
  letter-spacing: 4px;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
}

.menu {
  display: flex;
  align-items: center;
  gap: 34px;
}

.menu a {
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.82);
  transition: 0.3s ease;
}

.menu a:hover {
  color: var(--green);
}

/* BUTTONS */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 16px 30px;
  font-weight: 800;
  transition: 0.3s ease;
  text-decoration: none;
}

/* Botón principal general */
.btn-primary {
  background: var(--green);
  color: var(--bg-dark);
  box-shadow: 0 12px 35px rgba(143,255,0,0.28);
}

/* Botón WhatsApp del menú */
.menu .btn-primary,
.menu .btn-primary:visited,
.menu .btn-primary:hover,
.menu .btn-primary:focus,
.menu .btn-primary:active {
  background: var(--green);
  color: #03114d !important;
}

/* Hover general */
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 45px rgba(143,255,0,0.4);
}

/* Botón secundario */
.btn-secondary {
  border: 1px solid rgba(255,255,255,0.25);
  background: rgba(255,255,255,0.08);
  color: white;
}

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

/* HERO */

.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;

  background:
    linear-gradient(
      180deg,
      rgba(3, 17, 77, 0.45) 0%,
      rgba(3, 17, 77, 0.65) 100%
    ),
    url('img/hero-bg.jpg') center center / cover no-repeat;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;

  background:
    radial-gradient(
      circle at top left,
      rgba(143,255,0,0.18),
      transparent 32%
    ),
    radial-gradient(
      circle at bottom right,
      rgba(0,255,255,0.12),
      transparent 38%
    );

  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  align-items: center;
  gap: 70px;
}

.eyebrow {
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 4px;
  text-transform: uppercase;
  margin-bottom: 18px;
}

h1 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(3rem, 6vw, 5.7rem);
  line-height: 0.95;
  letter-spacing: -3px;
  margin-bottom: 26px;
}

.hero p {
  max-width: 660px;
  color: var(--text);
  font-size: 1.15rem;
  line-height: 1.85;
}

.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* HERO PRODUCT BOX */

.product-stage {
  min-height: 470px;
  border-radius: 42px;
  padding: 42px;
  display: grid;
  place-items: center;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.14);
  backdrop-filter: blur(12px);
  box-shadow: 0 35px 90px rgba(0,0,0,0.28);
}

.product-card {
  width: 100%;
  min-height: 320px;
  border-radius: 34px;
  background: linear-gradient(145deg, rgba(255,255,255,0.98), rgba(239,245,255,0.92));
  color: var(--bg);
  display: grid;
  place-items: center;
  text-align: center;
  padding: 46px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 35px 70px rgba(0,0,0,0.25);
}

.product-card::after {
  content: '';
  position: absolute;
  width: 240px;
  height: 240px;
  right: -70px;
  bottom: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--green), transparent 68%);
  opacity: 0.5;
}

.product-card strong {
  font-family: 'Sora', sans-serif;
  font-size: 2rem;
  line-height: 1.15;
  margin-bottom: 14px;
}

.product-card span {
  color: #667085;
  font-size: 1rem;
  line-height: 1.6;
  max-width: 380px;
}

/* SECTIONS */

section {
  padding: 110px 0;
}

.section-head {
  max-width: 820px;
  margin-bottom: 52px;
}

.section-head.center {
  text-align: center;
  margin: 0 auto 52px;
}

.section-kicker {
  color: var(--green);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  margin-bottom: 14px;
}

h2 {
  font-family: 'Sora', sans-serif;
  font-size: clamp(2.25rem, 4vw, 3.9rem);
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 20px;
}

.section-head p {
  color: var(--text);
  font-size: 1.08rem;
  line-height: 1.85;
}

/* CARDS */

.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card {
  min-height: 230px;
  padding: 34px;
  border-radius: 30px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  box-shadow: 0 20px 55px rgba(0,0,0,0.13);
  transition: 0.35s ease;
}

.card:hover {
  transform: translateY(-8px);
  border-color: rgba(143,255,0,0.48);
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);
}

.icon {
  width: 54px;
  height: 54px;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--green), var(--cyan));
  margin-bottom: 24px;
  box-shadow: 0 12px 30px rgba(143,255,0,0.25);
}

.card h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.35rem;
  margin-bottom: 14px;
}

.card p {
  color: var(--text);
  line-height: 1.75;
}

/* DARK PRODUCTS SECTION */

.dark-section {
  background: rgba(0,0,0,0.16);
  position: relative;
  overflow: hidden;
}

/* GALLERY */

.gallery {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  gap: 22px;
}

.gallery-item {
  min-height: 280px;
  border-radius: 32px;
  position: relative;
  overflow: hidden;
  padding: 30px;
  display: flex;
  align-items: flex-end;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 28px 70px rgba(0,0,0,0.22);
}

.gallery-item.large {
  grid-row: span 2;
  min-height: 582px;
}

.gallery-item::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 17, 77, 0.92) 0%,
    rgba(3, 17, 77, 0.55) 35%,
    rgba(3, 17, 77, 0.08) 100%
  );
  z-index: 1;
}

.gallery-item::after {
  content: '';
  position: absolute;
  width: 230px;
  height: 230px;
  right: -55px;
  top: -50px;
  border-radius: 50%;

  opacity: 0.65;
}

.gallery-copy {
  position: relative;
  z-index: 2;
}

.gallery-copy h3 {
  font-family: 'Sora', sans-serif;
  font-size: 1.75rem;
  margin-bottom: 8px;
}

.gallery-copy p {
  color: rgba(255,255,255,0.78);
  line-height: 1.55;
}

/* PROCESS */

.process {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  counter-reset: process;
}

.step {
  min-height: 205px;
  padding: 28px;
  border-radius: 26px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.10);
  position: relative;
}

.step::before {
  counter-increment: process;
  content: '0' counter(process);
  display: block;
  font-family: 'Sora', sans-serif;
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--green);
  margin-bottom: 20px;
}

.step h3 {
  font-size: 1.15rem;
  margin-bottom: 10px;
}

.step p {
  color: var(--text);
  font-size: 0.94rem;
  line-height: 1.65;
}

/* CTA */

.cta {
  margin-top: 30px;
  border-radius: 42px;
  padding: 70px 58px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 36px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--green) 0%, var(--cyan) 100%);
  color: var(--bg-dark);
  box-shadow: 0 35px 90px rgba(0,0,0,0.22);
}

.cta::after {
  content: '';
  position: absolute;
  width: 360px;
  height: 360px;
  right: -120px;
  top: -160px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
}

.cta h2 {
  color: var(--bg-dark);
  margin-bottom: 14px;
}

.cta p {
  max-width: 760px;
  font-size: 1.05rem;
  line-height: 1.75;
}

.cta .btn-primary {
  position: relative;
  z-index: 2;
  background: var(--bg-dark);
  color: white;
  box-shadow: 0 12px 30px rgba(0,0,0,0.22);
}

/* FOOTER */

footer {
  padding: 52px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.18);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 30px;
  align-items: center;
  color: rgba(255,255,255,0.62);
}

/* RESPONSIVE */

@media (max-width: 1050px) {
  .hero-grid,
  .cta {
    grid-template-columns: 1fr;
  }

  .cards,
  .gallery {
    grid-template-columns: 1fr 1fr;
  }

  .process {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-item.large {
    grid-row: auto;
    min-height: 280px;
  }
}

@media (max-width: 780px) {
  .menu {
    display: none;
  }

  .nav {
    height: 78px;
  }

  .brand strong {
    font-size: 1.8rem;
  }

  .brand span {
    font-size: 0.68rem;
    letter-spacing: 3px;
  }

  .hero {
    min-height: auto;
    padding: 130px 0 80px;
  }

  h1 {
    letter-spacing: -1.5px;
  }

  .hero p,
  .section-head p {
    font-size: 1rem;
  }

  section {
    padding: 78px 0;
  }

  .cards,
  .gallery,
  .process {
    grid-template-columns: 1fr;
  }

  .product-stage {
    min-height: 320px;
    padding: 24px;
    border-radius: 30px;
  }

  .product-card {
    min-height: 260px;
    padding: 30px;
  }

  .product-card strong {
    font-size: 1.45rem;
  }

  .cta {
    padding: 42px 28px;
    border-radius: 30px;
  }

  .footer-grid {
    flex-direction: column;
    align-items: flex-start;
  }
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  background: transparent;
  cursor: pointer;
  z-index: 9999;
}

.menu-toggle span {
  display: block;
  width: 28px;
  height: 3px;
  background: #ffffff;
  border-radius: 999px;
  margin: 6px auto;
  transition: 0.3s ease;
}

@media (max-width: 780px) {
  .nav {
    height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .menu {
    position: absolute;
    top: 78px;
    left: 0;
    width: 100%;
    background: #041b78;
    padding: 26px 22px 32px;
    display: flex;
    flex-direction: column;
    gap: 18px;
    transform: translateY(-130%);
    opacity: 0;
    pointer-events: none;
    transition: 0.35s ease;
    border-bottom: 1px solid rgba(255,255,255,0.12);
  }

  .menu.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .menu a {
    color: white;
  }

  .menu .btn-primary {
    width: fit-content;
    color: #03114d !important;
  }
}
