/* =============================================
   grupot.com — index-new.css
   Estilos para index.html rediseñado
   Agregar en BS Studio: Design > CSS > Add CSS File
   ============================================= */

/* ---- HERO ---- */

.hero-section-new {
  padding: 8rem 0 5rem;
  background: white;
  position: relative;
  overflow: hidden;
}

.hero-section-new::before {
  content: '';
  position: absolute;
  width: 40rem;
  height: 40rem;
  background: #EFF6FF;
  border-radius: 50%;
  top: -10rem;
  right: -10rem;
  z-index: 0;
}

.hero-section-new .container {
  position: relative;
  z-index: 1;
}

.hero-new-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #F0FDF4;
  color: #166534;
  border: 1px solid #BBF7D0;
  padding: 0.35rem 1rem;
  border-radius: 2rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.hero-new-title {
  font-size: 3.25rem;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.25rem;
}

.hero-new-title .accent-blue {
  color: #2563EB;
}

.hero-new-title .accent-green {
  color: #059669;
}

.hero-new-desc {
  font-size: 1.1rem;
  color: var(--text-medium);
  line-height: 1.8;
  max-width: 520px;
  margin-bottom: 2rem;
}

.hero-new-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
}

.hero-new-stats {
  display: flex;
  gap: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-color);
}

.hero-stat-num {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-dark);
  letter-spacing: -0.02em;
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  line-height: 1.4;
}

/* Mockup del hero */

.hero-mockup {
  background: #0F172A;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.08);
  box-shadow: 0 32px 64px rgba(15,23,42,0.2), 0 0 0 1px rgba(255,255,255,0.05);
}

.hero-mockup-bar {
  background: #1E293B;
  padding: 0.6rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}

.hero-mockup-dot {
  width: 0.55rem;
  height: 0.55rem;
  border-radius: 50%;
}

.hero-mockup-title {
  font-size: 0.72rem;
  color: rgba(255,255,255,0.3);
  margin-left: 0.5rem;
}

.hero-mockup-body {
  padding: 1rem;
}

.hero-mockup-ia-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: rgba(251,191,36,0.15);
  color: #FBBF24;
  border: 1px solid rgba(251,191,36,0.2);
  font-size: 0.68rem;
  font-weight: 700;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-bottom: 0.6rem;
}

.hero-mockup-prompt {
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 0.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  font-style: italic;
  margin-bottom: 0.75rem;
}

.hero-mockup-table {
  width: 100%;
  border-collapse: collapse;
}

.hero-mockup-table th {
  font-size: 0.65rem;
  color: rgba(255,255,255,0.3);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.2rem 0.4rem;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  text-align: left;
}

.hero-mockup-table td {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.8);
  padding: 0.3rem 0.4rem;
}

.hero-mockup-table tr:nth-child(odd) td {
  background: rgba(255,255,255,0.025);
}

.hero-mockup-table .up {
  color: #34D399;
}

.hero-mockup-table .down {
  color: #F87171;
}

.hero-floating-card {
  position: absolute;
  bottom: -1rem;
  left: -1.5rem;
  background: white;
  border-radius: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-color);
  box-shadow: 0 8px 24px rgba(15,23,42,0.12);
  min-width: 160px;
}

.hero-floating-label {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-bottom: 0.2rem;
}

.hero-floating-val {
  font-size: 1.25rem;
  font-weight: 800;
  color: #059669;
  line-height: 1;
}

.hero-floating-sub {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* ---- POR QUÉ ELEGIRNOS ---- */

.why-section {
  padding: 5rem 0;
  background: var(--bg-light);
}

.why-card {
  background: white;
  border-radius: 1rem;
  padding: 1.75rem;
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.08);
}

.why-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.why-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.why-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin: 0;
}

/* ---- PRODUCTOS ---- */

.products-section-new {
  padding: 5rem 0;
  background: white;
}

.product-card-new {
  border-radius: 1.25rem;
  overflow: hidden;
  border: 1px solid var(--border-color);
  height: 100%;
  transition: all 0.3s ease;
}

.product-card-new:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(15,23,42,0.1);
}

.product-card-header-new {
  padding: 1.75rem 1.75rem 1.25rem;
}

.product-card-body-new {
  padding: 1.25rem 1.75rem 1.75rem;
  background: white;
}

.product-card-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 0.4rem;
  opacity: 0.7;
}

.product-card-name {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: white;
  line-height: 1;
  margin-bottom: 0.75rem;
}

.product-card-desc {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.75);
  line-height: 1.6;
  margin: 0;
}

.product-feature-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: 0.4rem;
  margin: 0.2rem 0.2rem 0.2rem 0;
  font-weight: 500;
  border: 1px solid var(--border-color);
  color: var(--text-medium);
}

/* ---- INTEGRACIONES ---- */

.integrations-section {
  padding: 4rem 0;
  background: var(--bg-light);
}

.integration-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  max-width: 760px;
  margin: 0 auto;
}

.integration-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: white;
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  padding: 0.4rem 1rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: all 0.2s ease;
}

.integration-pill:hover {
  border-color: var(--primary);
  background: var(--primary-light);
  color: var(--primary);
}

.integration-pill i {
  font-size: 0.9rem;
}

.integration-custom {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.875rem;
  color: var(--text-muted);
}

.integration-custom a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

/* ---- EQUIPO ---- */

.team-section-new {
  padding: 5rem 0;
  background: white;
}

.team-card-new {
  text-align: center;
  padding: 1.75rem 1.25rem;
  border-radius: 1rem;
  border: 1px solid var(--border-color);
  background: white;
  transition: all 0.3s ease;
  height: 100%;
}

.team-card-new:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(15,23,42,0.08);
}

.team-avatar-new {
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 800;
  color: white;
  margin: 0 auto 1rem;
}

.team-card-new h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 0.25rem;
}

.team-card-new .role {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

.team-email-new {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  color: var(--primary);
  text-decoration: none;
  font-weight: 500;
}

.team-email-new:hover {
  text-decoration: underline;
}

.team-contact-row {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
}

.team-contact-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 2rem;
  padding: 0.5rem 1.25rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: all 0.2s ease;
}

.team-contact-pill:hover {
  background: var(--primary-light);
  border-color: var(--primary);
  color: var(--primary);
}

/* ---- CTA FINAL ---- */

.cta-final-section {
  padding: 5rem 0;
  background: #0F172A;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.cta-final-section::before {
  content: '';
  position: absolute;
  width: 30rem;
  height: 30rem;
  background: #2563EB;
  border-radius: 50%;
  filter: blur(120px);
  opacity: 0.06;
  top: -8rem;
  right: -4rem;
}

.cta-final-section::after {
  content: '';
  position: absolute;
  width: 20rem;
  height: 20rem;
  background: #059669;
  border-radius: 50%;
  filter: blur(100px);
  opacity: 0.05;
  bottom: -4rem;
  left: -4rem;
}

.cta-final-section .container {
  position: relative;
  z-index: 1;
}

.cta-final-section h2 {
  font-size: 2.5rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.cta-final-section p {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.6);
  max-width: 480px;
  margin: 0 auto 2.5rem;
  line-height: 1.7;
}

/* ---- RESPONSIVE ---- */

@media (max-width: 991px) {
  .hero-new-title {
    font-size: 2.4rem;
  }
}

@media (max-width: 991px) {
  .hero-floating-card {
    display: none;
  }
}

@media (max-width: 991px) {
  .hero-new-stats {
    gap: 1.25rem;
  }
}

@media (max-width: 767px) {
  .hero-section-new {
    padding: 6.5rem 0 3.5rem;
  }
}

@media (max-width: 767px) {
  .hero-new-title {
    font-size: 1.9rem;
  }
}

@media (max-width: 767px) {
  .hero-new-stats {
    flex-wrap: wrap;
    gap: 1rem;
  }
}

@media (max-width: 767px) {
  .cta-final-section h2 {
    font-size: 1.8rem;
  }
}

