/*
Archivo CSS para TecnoEmprender
Define los estilos visuales del sitio web de la agencia de marketing digital.

VARIABLES CSS (modificar en :root):
- --bg: Color de fondo principal
- --card: Color de fondo de tarjetas
- --txt: Color de texto principal
- --muted: Color de texto secundario
- --acc: Color de acento principal
- --acc-soft: Versión suave del acento
- --acc2: Segundo color de acento
- --acc2-soft: Versión suave del segundo acento
- --radius: Radio de bordes redondeados
- --shadow: Sombra principal
- --shadow2: Sombra de acento
- --max: Ancho máximo del contenido
*/

:root {
  /* PALETA DE COLORES */
  --bg: #0b0f3c;
  /* Fondo principal - Azul muy oscuro */
  --card: rgb(247, 26, 26);
  /* Fondo de tarjetas - Azul oscuro */
  --txt: #ffffff;
  /* Texto principal - Blanco */
  --muted: #9ba3c7;
  /* Texto secundario - Gris azulado */

  /* COLORES DE ACENTO */
  --acc: hsl(237, 100%, 56%);
  /* Azul brillante principal */
  --acc-soft: #3f4cff;
  /* Azul brillante suave */
  --acc2: #5a3bff;
  /* Púrpura brillante */
  --acc2-soft: #8b7bff;
  /* Púrpura brillante suave */

  /* MEDIDAS Y EFECTOS */
  --radius: 18px;
  /* Radio de bordes redondeados */
  --shadow: 0 20px 60px rgba(0, 0, 0, 0.45);
  /* Sombra oscura */
  --shadow2: 0 12px 32px rgba(30, 42, 255, 0.35);
  /* Sombra azul */
  --max: 1120px;
  /* Ancho máximo del contenido */
}

/* =========================
   BASE - Estilos fundamentales
========================= */
* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family:
    system-ui,
    -apple-system,
    Segoe UI,
    Roboto,
    Arial;
  background:
    radial-gradient(
      900px 500px at 20% -10%,
      rgba(30, 42, 255, 0.28),
      transparent 60%
    ),
    radial-gradient(
      900px 500px at 90% 10%,
      rgba(90, 59, 255, 0.25),
      transparent 60%
    ),
    var(--bg);
  color: var(--txt);
}

a {
  text-decoration: none;
  color: inherit;
}

.wrap {
  max-width: var(--max);
  margin: auto;
  padding: 0 18px;
}

.section {
  padding: 64px 0;
}

.section.sm {
  padding: 44px 0;
}

.grid {
  display: grid;
  gap: 14px;
}

/* =========================
   BOTONES
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  border: none;
  box-shadow: var(--shadow2);
}

.btn.primary:hover {
  background: linear-gradient(135deg, var(--acc-soft), var(--acc2-soft));
  transform: translateY(-1px) scale(1.02);
}

/* =========================
   CARDS
========================= */
.card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgb(13, 55, 139);
  border-radius: var(--radius);
  box-shadow: var(--shadow2);
}

.card .pad {
  padding: 18px;
}

/* =========================
   HEADER
========================= */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(11, 15, 60, 0.8);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(63, 76, 255, 0.35);
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 0;
  gap: 20px;
}

.brand {
  font-size: 24px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--acc), var(--acc2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-logo {
  width: 80px;
  height: auto;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.header-logo:hover {
  opacity: 1;
}

nav ul {
  display: flex;
  gap: 14px;
  list-style: none;
  padding: 0;
  margin: 0;
  align-items: center;
}

nav > ul > li {
  position: relative;
}

nav a {
  padding: 8px 10px;
  border-radius: 12px;
  font-weight: 700;
  display: block;
}

nav a:hover {
  background: rgba(255, 255, 255, 0.08);
}

.img-inicio {
  flex-shrink: 0;
  width: 220px;
  height: 220px;
  border-radius: 20px;
  border: 2px solid rgba(63, 76, 255, 0.3);
  object-fit: cover;
  box-shadow: 0 12px 32px rgba(30, 42, 255, 0.3);
  background: rgba(255, 255, 255, 0.05);
  margin-right: 30px;
}

/* Dropdown Menu */
.dropdown {
  position: relative;
}

.dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dropdown-toggle::after {
  content: "▼";
  font-size: 10px;
  transition: transform 0.3s ease;
}

.dropdown:hover .dropdown-toggle::after {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  margin-top: 8px;
  background: rgba(11, 15, 60, 0.95);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(63, 76, 255, 0.35);
  border-radius: var(--radius);
  padding: 8px 0;
  min-width: 200px;
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 100;
}

.dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-menu li {
  margin: 0;
}

.dropdown-menu a {
  padding: 12px 18px;
  border-radius: 0;
  display: block;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(63, 76, 255, 0.2);
  padding-left: 22px;
}

/* =========================
   HERO
========================= */
.hero {
  padding: 64px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.hero-card {
  border-radius: 24px;
}

.hero-inner {
  padding: 22px;
  display: flex;
  gap: 32px;
  align-items: center;
  position: relative;
}

.hero-text-content {
  flex: 1;
  min-width: 0;
}

.hero h1 {
  font-size: clamp(32px, 4.5vw, 54px);
  margin: 12px 0;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 14px;
}

/* =========================
   TABS
========================= */
.tabs {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 14px;
}

.tablist {
  display: grid;
  gap: 10px;
}

.tabbtn {
  padding: 16px 18px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  font-weight: 800;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: left;
  color: var(--txt);
  font-size: 15px;
}

.tabbtn:hover {
  background: rgba(63, 76, 255, 0.2);
  border-color: rgba(63, 76, 255, 0.4);
}

.tabbtn[aria-selected="true"] {
  background: linear-gradient(
    180deg,
    rgba(63, 76, 255, 0.15),
    rgba(90, 59, 255, 0.1)
  );
  border-color: var(--acc);
  box-shadow: 0 4px 12px rgba(63, 76, 255, 0.2);
}

.tabpanel {
  display: none;
}

.tabpanel.active {
  display: block;
}

.tabpanel-content {
  padding: 32px !important;
}

.tabpanel-content h3 {
  font-size: clamp(24px, 3vw, 32px);
  margin-bottom: 8px;
  line-height: 1.3;
}

.tabpanel-content ul li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--acc);
  font-size: 20px;
  font-weight: bold;
}

.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  margin-top: 8px;
}

/* =========================
   BENEFIT SECTION CARDS
========================= */
.benefit-section-card {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.06),
    rgba(255, 255, 255, 0.02)
  );
  border: 1px solid rgb(13, 55, 139);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow2);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.benefit-section-title {
  font-size: 14px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 20px 0;
  font-weight: 800;
}

.benefit-list {
  list-style: none;
  padding: 0;
  margin: 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.benefit-list li {
  padding: 0;
  padding-left: 24px;
  font-size: 15px;
  font-weight: 500;
  color: var(--txt);
  position: relative;
  line-height: 1.6;
}

.benefit-list li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--muted);
  font-size: 18px;
  font-weight: bold;
}

@media (max-width: 768px) {
  .two-col {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* =========================
    FOOTER  
========================= */
/* FOOTER - diseño tipo imagen */
footer.site-footer {
  background: linear-gradient(
    180deg,
    rgba(11, 15, 60, 0.95),
    rgba(8, 10, 40, 0.95)
  );
  color: var(--txt);
  padding: 48px 0 20px;
  border-top: 1px solid rgba(63, 76, 255, 0.04);
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1fr 280px 220px;
  gap: 28px;
  align-items: start;
}

.site-footer .footer-brand h3,
.site-footer .footer-title {
  color: var(--acc2);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin: 0 0 12px 0;
  font-size: 14px;
  font-weight: 900;
}

.site-footer .footer-about p {
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  margin: 0 0 14px 0;
}

.footer-icons {
  display: flex;
  gap: 10px;
  margin-top: 10px;
}

.footer-icons .icon-square {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(63, 76, 255, 0.06);
  color: var(--txt);
  font-size: 18px;
  margin-right: 12px;
  transition: all 0.3s ease;
  text-decoration: none;
}

.footer-icons a:nth-child(1) {
  border-color: rgba(255, 0, 0, 0.3);
}

.footer-icons a:nth-child(1):hover {
  background: #ff0000;
  border-color: #ff0000;
  transform: translateY(-2px);
}

.footer-icons a:nth-child(2) {
  border-color: rgba(224, 57, 151, 0.3);
}

.footer-icons a:nth-child(2):hover {
  background: #e1306c;
  border-color: #e1306c;
  transform: translateY(-2px);
}

.footer-nav ul,
.footer-legal ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a,
.footer-legal a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 600;
}

.footer-legal .footer-title,
.footer-nav .footer-title {
  margin-bottom: 12px;
}

.site-footer .footer-bottom {
  border-top: 1px solid rgba(63, 76, 255, 0.03);
  margin-top: 28px;
  padding-top: 18px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.footer-privacy {
  color: rgba(255, 255, 255, 0.76);
  font-size: 13px;
}

.footer-privacy a {
  color: var(--acc-soft);
  font-weight: 700;
}

.footer-credit small.muted {
  color: rgba(255, 255, 255, 0.56);
}

@media (max-width: 900px) {
  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
  .site-footer .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }
}

/* =========================
   OTROS
========================= */
.kicker {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  font-weight: 800;
}

h2 {
  font-size: clamp(22px, 3vw, 32px);
  margin-bottom: 24px;
}

h3 {
  margin: 0 0 6px;
}

.ul {
  padding-left: 18px;
  color: var(--muted);
}

.ul li {
  margin: 6px 0;
}

/* =========================
   INFOPRO - Legibilidad
========================= */
.page-infopro p {
  color: rgba(255, 255, 255, 0.88);
}

.page-infopro .ul {
  color: rgba(255, 255, 255, 0.82);
}

.page-infopro .kicker {
  color: rgba(255, 255, 255, 0.72);
}

/* =========================
   WHATSAPP
========================= */
.wa {
  position: fixed;
  right: 16px;
  bottom: 16px;
  padding: 12px 16px;
  border-radius: 999px;
  background: #25d366;
  color: #fff;
  font-weight: 900;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.4);
  transition: all 0.3s ease;
}

.wa:hover {
  transform: scale(1.05);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.6);
}

.logo {
  width: 150px;
  height: auto;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 900px) {
  .hero-grid,
  .tabs,
  .two-col {
    grid-template-columns: 1fr;
  }

  .hero-inner {
    flex-direction: column;
    gap: 24px;
  }

  .img-inicio {
    width: 100%;
    max-width: 300px;
    height: auto;
    aspect-ratio: 1;
  }

  nav ul {
    display: none;
  }

  .header-right {
    gap: 8px;
  }

  .header-logo {
    width: 60px;
  }
}

/* PROCESS SECTION STYLES */
.process-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.process-card {
  position: relative;
  border: 1px solid rgba(63, 76, 255, 0.15);
  border-radius: 18px;
  padding: 32px 24px;
  background: rgba(30, 42, 255, 0.03);
  transition: all 0.3s ease;
}

.process-card:hover {
  border-color: rgba(63, 76, 255, 0.3);
  background: rgba(30, 42, 255, 0.06);
  transform: translateY(-4px);
}

.process-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(
    135deg,
    rgba(90, 59, 255, 0.4),
    rgba(30, 42, 255, 0.2)
  );
  border: 2px solid rgba(90, 59, 255, 0.5);
  color: #b8a8ff;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 16px;
}

.process-card h3 {
  color: var(--txt);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
  line-height: 1.3;
}

.process-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

@media (max-width: 900px) {
  .process-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.footer-content {
  flex-direction: column;
  text-align: center;
}

footer aside {
  min-width: auto;
}

.footer-social {
  justify-content: center;
}

.tabpanel-content {
  padding: 24px !important;
}

.tablist {
  margin-bottom: 16px;
}

/* PORTFOLIO SECTION STYLES */
.portfolio-intro {
  background: linear-gradient(
    135deg,
    rgba(90, 59, 255, 0.1),
    rgba(30, 42, 255, 0.05)
  );
  border: 1px solid rgba(63, 76, 255, 0.2);
  border-radius: 18px;
  padding: 32px;
  text-align: center;
  margin: 32px 0 48px;
}

.portfolio-intro p {
  font-size: 24px;
  font-weight: 700;
  color: var(--txt);
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 48px;
}

.service-card {
  border: 1px solid rgba(63, 76, 255, 0.15);
  border-radius: 18px;
  padding: 24px;
  background: rgba(30, 42, 255, 0.03);
  transition: all 0.3s ease;
}

.service-card:hover {
  border-color: rgba(63, 76, 255, 0.3);
  background: rgba(30, 42, 255, 0.06);
  transform: translateY(-4px);
}

.service-icon {
  font-size: 32px;
  margin-bottom: 12px;
}

.service-card h3 {
  color: var(--txt);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.service-card p {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
  line-height: 1.5;
}

/* Plans Grid */
.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
}

.plan-card {
  position: relative;
  border: 1px solid rgba(63, 76, 255, 0.2);
  border-radius: 18px;
  padding: 32px;
  background: linear-gradient(
    135deg,
    rgba(90, 59, 255, 0.08),
    rgba(30, 42, 255, 0.04)
  );
  transition: all 0.3s ease;
}

.plan-card:hover {
  border-color: rgba(63, 76, 255, 0.35);
  background: linear-gradient(
    135deg,
    rgba(90, 59, 255, 0.12),
    rgba(30, 42, 255, 0.06)
  );
  transform: translateY(-4px);
}

.plan-badge {
  position: absolute;
  top: 20px;
  right: 20px;
  background: #ff6b4a;
  color: white;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.plan-icon {
  font-size: 28px;
  margin-bottom: 12px;
}

.plan-card h3 {
  color: var(--txt);
  font-size: 22px;
  font-weight: 700;
  margin: 0 0 8px 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding-right: 80px;
}

.plan-card > p {
  color: var(--muted);
  font-size: 15px;
  margin: 0 0 20px 0;
  line-height: 1.6;
}

.plan-includes {
  margin-top: 16px;
}

.includes-label {
  color: var(--acc2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.plan-includes ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.plan-includes li {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
}

.plan-includes .highlight {
  color: var(--acc2);
  font-weight: 700;
}

.plan-description {
  margin-top: 16px;
}

.plan-description p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  margin: 0 0 12px 0;
}

.plan-description p:last-child {
  margin-bottom: 0;
}

.plan-vip {
  color: var(--acc-soft);
  font-weight: 700;
  font-size: 13px;
  text-align: center;
  padding-top: 12px;
  border-top: 1px solid rgba(63, 76, 255, 0.2);
}

@media (max-width: 900px) {
  .services-grid {
    grid-template-columns: 1fr;
  }

  .plan-card h3 {
    padding-right: 0;
  }

  .portfolio-intro {
    padding: 24px;
  }

  .portfolio-intro p {
    font-size: 20px;
  }
}

/* Podcast Benefits & Format Styles */
.podcast-benefits {
  background: rgba(90, 59, 255, 0.08);
  border-left: 3px solid var(--acc2);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.podcast-title {
  color: var(--acc2);
  font-weight: 800;
  font-size: 13px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 12px 0;
}

.podcast-benefits ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.podcast-benefits li {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
  padding-left: 20px;
  position: relative;
}

.podcast-benefits li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--acc2);
  font-weight: 700;
}

.podcast-format {
  background: rgba(30, 42, 255, 0.05);
  border: 1px dashed rgba(63, 76, 255, 0.2);
  padding: 16px 20px;
  border-radius: 8px;
  margin: 20px 0;
}

.podcast-subtitle {
  color: var(--acc2);
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.05em;
  margin: 0 0 8px 0;
}

.podcast-format p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
  margin: 0;
}

/* TESTIMONIALS SECTION STYLES */
#casos-exito .kicker,
#casos-exito h2 {
  text-align: center;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
  margin-top: 48px;
}

.testimonial-card {
  border: 1px solid rgba(63, 76, 255, 0.2);
  border-radius: 18px;
  padding: 28px;
  background: rgba(30, 42, 255, 0.04);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.testimonial-card:hover {
  border-color: rgba(63, 76, 255, 0.35);
  background: rgba(30, 42, 255, 0.08);
  transform: translateY(-4px);
}

.testimonial-logo {
  color: var(--bg);
  width: 100%;
  height: 160px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 13px;
  margin-bottom: 20px;
  flex-shrink: 0;
  overflow: hidden;
  padding: 12px;
}

.logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.testimonial-stars {
  font-size: 18px;
  margin-bottom: 16px;
  letter-spacing: 2px;
}

.testimonial-text {
  color: var(--muted);
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
  margin: 0 0 auto 0;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(63, 76, 255, 0.15);
}

.testimonial-author {
  padding-top: 16px;
  text-align: center;
}

.testimonial-author h4 {
  color: var(--txt);
  font-size: 15px;
  font-weight: 700;
  margin: 0 0 4px 0;
}

.testimonial-author p {
  color: var(--muted);
  font-size: 13px;
  margin: 0;
}

@media (max-width: 900px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}
