/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* VARIABLES */
:root {
  --bg-dark: #0b1230;
  --primary: #1fbfcf;
  --secondary: #1c5cff;
  --text-light: #ffffff;
  --text-muted: #b5c2e2;
}

/* GLOBAL */
body {
  font-family: 'Poppins', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-light);
  line-height: 1.6;
  overflow-x: hidden;
}

/* CONTENEDOR */
.section-inner {
  max-width: 1100px;
  margin: 0 auto;
}

/* HERO */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 40px 20px;
}

.logo {
  width: 180px;
  margin-bottom: 25px;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
}

.hero h1 {
  font-size: 3.2rem;
  font-weight: 700;
  letter-spacing: 1px;
}
.hero p {
  max-width: 520px;
  margin: 0 auto 25px;
  color: var(--text-muted);
  font-size: 1rem;
}

.hero-line {
  width: 60px;
  height: 3px;
  background: var(--primary);
  margin: 10px auto 25px;
  border-radius: 10px;
}


.subtitle {
  margin: 15px 0 30px;
  color: var(--text-muted);
}

.hero-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  flex-wrap: wrap;
}

/* BOTONES */
.btn {
  padding: 12px 25px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
}

.primary {
  background: var(--primary);
  color: #000;
}

.secondary {
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.25);
}

/* SECCIONES */
section {
  padding: 80px 20px;
  text-align: center;
}

h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: var(--primary);
}

/* SERVICIOS */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.service-card {
  background: rgba(255,255,255,0.05);
  padding: 25px;
  border-radius: 15px;
}

/* PORTFOLIO */
.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.portfolio-item {
  background: rgba(255,255,255,0.08);
  padding: 20px;
  border-radius: 18px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: left;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 15px 35px rgba(0,0,0,0.25);
}

.portfolio-item img {
  width: 100%;
  height: auto;
  max-height: 420px;
  object-fit: contain;
  border-radius: 12px;
  margin-bottom: 15px;
  display: block;
}


.portfolio-item h3 {
  margin: 10px 0 5px;
  color: var(--primary);
}

.portfolio-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 15px;
}

/* CONTACTO */
.contact p {
  margin-bottom: 20px;
}

/* FOOTER */
footer {
  padding: 20px;
  text-align: center;
  background: rgba(0,0,0,0.3);
  font-size: 0.9rem;
}

/* RESPONSIVE */
@media (max-width: 480px) {
  section {
    padding: 60px 15px;
  }

  h2 {
    font-size: 1.8rem;
  }

  .portfolio-item {
    padding: 18px;
  }
}

@media (max-width: 768px) {
  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  @media (max-width: 480px) {
  .portfolio-item img {
    max-height: 300px;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 2.4rem;
  }
}

  .hero-buttons .btn {
    width: 100%;
    max-width: 260px;
    text-align: center;
  }

  .whatsapp-fixed {
    position: fixed;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    background: #25d366;
    color: #000;
    padding: 14px 28px;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    z-index: 999;
    box-shadow: 0 10px 25px rgba(0,0,0,0.35);
  }
}

/* FORMULARIO DE CONTACTO */
.contact-form {
  max-width: 500px;
  margin: 40px auto 0;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.contact-form input,
.contact-form textarea {
  padding: 14px;
  border-radius: 12px;
  border: none;
  font-family: inherit;
  font-size: 1rem;
}

.contact-form textarea {
  min-height: 120px;
  resize: vertical;
}

.contact-form button {
  cursor: pointer;
}

/* ADMIN */

.admin {
  padding: 60px 10%;
}

.lead-card {
  background: rgba(255,255,255,0.06);
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 15px;
}

.lead-card h3 {
  color: var(--primary);
  margin-bottom: 5px;
}

.lead-card a {
  color: var(--secondary);
  font-weight: 600;
}


/* =========================
   DISEÑO WEB
========================= */

.web-design {
  background: rgba(255,255,255,0.02);
}

.web-intro {
  max-width: 700px;
  margin: 0 auto 40px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.web-benefits {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
  margin-bottom: 60px;
}

.web-benefit {
  background: rgba(255,255,255,0.05);
  padding: 18px;
  border-radius: 14px;
  font-weight: 500;
}

.web-includes {
  max-width: 700px;
  margin: 0 auto 60px;
}

.web-includes ul {
  list-style: none;
  padding: 0;
  margin: 20px 0;
}

.web-includes li {
  margin-bottom: 10px;
  color: var(--text-muted);
}

.web-highlight {
  margin-top: 15px;
  font-weight: 600;
  color: var(--primary);
}

.web-process {
  margin-bottom: 60px;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 15px;
}

.process-steps div {
  background: rgba(255,255,255,0.04);
  padding: 18px;
  border-radius: 14px;
}

.web-cta {
  margin-top: 60px;
}

.web-cta h3 {
  margin-bottom: 25px;
}

@media (max-width: 480px) {
  .web-cta h3 {
    margin-bottom: 18px;
  }
}

/* MOCKUP WEB */
.web-mockup {
  margin: 50px auto 70px;
  max-width: 900px;
  text-align: center;
}

.web-mockup img {
  width: 100%;
  height: auto;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

.mockup-caption {
  margin-top: 15px;
  font-size: 0.95rem;
  color: var(--text-muted);
}

.web-mockup img {
  animation: fadeUp 0.8s ease forwards;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(25px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   WEB DEMO MOCKUP
========================= */

.web-demo {
  margin: 60px auto;
  max-width: 1000px;
}

.web-demo-mockups {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: flex-end;
  gap: 30px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.mockup-desktop {
  max-width: 800px;
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.45);
}

.mockup-mobile {
  max-width: 260px;
  width: 100%;
  border-radius: 22px;
  box-shadow: 0 20px 45px rgba(0,0,0,0.4);
  transform: translateY(40px);
}

.web-demo-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
  margin-bottom: 35px;
}

.demo-item {
  background: rgba(255,255,255,0.05);
  padding: 20px;
  border-radius: 14px;
}

.demo-item h4 {
  color: var(--primary);
  margin-bottom: 8px;
}

.demo-item p {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.web-demo-note {
  font-size: 0.9rem;
  color: var(--text-muted);
}

.web-demo-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* =========================
   ANIMACIÓN AL SCROLL
========================= */

.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.8s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay {
  transition-delay: 0.2s;
}

/* MOBILE */
@media (max-width: 768px) {
  .mockup-mobile {
    transform: translateY(0);
  }
}

/* =========================
   EXTENSIÓN SERVICIOS / PLANES
   (liviano, sin sobrecargar)
========================= */

.service-card strong {
  color: var(--primary);
  font-weight: 600;
}

.service-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.25);
}

/* Combos destacados (sin exagerar) */
.services .service-card {
  text-align: center;
  font-size: 0.95rem;
  line-height: 1.4;
}

/* Ajuste visual para emojis + títulos */
.service-card br {
  margin-bottom: 6px;
}

/* Responsive fino */
@media (max-width: 480px) {
  .service-card {
    padding: 22px;
  }
}

/* =========================
   LOGO
========================= */
.hero {
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      circle at center,
      rgba(31, 191, 207, 0.18) 0%,
      rgba(31, 191, 207, 0.08) 25%,
      rgba(11, 18, 48, 0) 60%
    );
  pointer-events: none;
  z-index: 0;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='200' height='200' filter='url(%23n)' opacity='0.15'/%3E%3C/svg%3E");
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}
.hero-content {
  position: relative;
  z-index: 1;
}

/* =========================
   PAQUETES / ACCORDION
========================= */

.packages {
  max-width: 800px;
  margin: 60px auto 0;
  text-align: left;
}

.packages-title {
  text-align: center;
  color: var(--primary);
  margin-bottom: 30px;
}

.packages-sub {
  display: block;
  font-size: 0.9rem;
  color: var(--text-muted);
  margin-top: 8px;
}

.package-item {
  margin-bottom: 15px;
  border-radius: 14px;
  overflow: hidden;
  background: rgba(255,255,255,0.05);
}

.package-item.highlight {
  border: 1px solid rgba(31,191,207,0.4);
}

.package-header {
  width: 100%;
  background: transparent;
  border: none;
  padding: 18px 20px;
  color: var(--text-light);
  font-size: 1rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
}

.package-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  padding: 0 20px;
}

.package-item.active .package-content {
  max-height: 500px;
  padding-bottom: 20px;
}

.package-content ul {
  list-style: none;
  padding: 15px 0;
}

.package-content li {
  margin-bottom: 8px;
  color: var(--text-muted);
}

.package-note {
  font-size: 0.9rem;
  color: var(--primary);
  margin-bottom: 15px;
}

.btn.small {
  padding: 10px 20px;
  font-size: 0.9rem;
}
