@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

/* ==========================================================================
   SISTEMA DE DISEÑO MINIMALISTA - INSPIRACIÓN ECOSYSTEMSAS.COM
   ========================================================================== */

:root {
  /* Paleta Natural HSL */
  --eco-warm-white: #fbfbf9;
  --eco-charcoal: #121814;
  --eco-forest: #155234;
  --eco-forest-light: #1f784d;
  --eco-emerald: #1eb26d;
  --eco-sage: #e1e9e4;
  --eco-mint: #f0f5f2;
  --eco-gray: #5c6760;
  --eco-border: rgba(21, 82, 52, 0.08);
  
  /* Degradados Premium */
  --gradient-hero: linear-gradient(135deg, #155234 0%, #1eb26d 100%);
  --gradient-card: linear-gradient(180deg, #ffffff 0%, rgba(225, 233, 228, 0.25) 100%);
  --gradient-cta: linear-gradient(135deg, #121814 0%, #155234 100%);
  --gradient-soft: linear-gradient(180deg, #fbfbf9 0%, #f0f5f2 100%);
  
  /* Sombras y Efectos */
  --shadow-sm: 0 4px 12px rgba(21, 82, 52, 0.02);
  --shadow-md: 0 12px 30px rgba(21, 82, 52, 0.04);
  --shadow-lg: 0 24px 50px rgba(21, 82, 52, 0.08);
  --shadow-glow: 0 0 30px rgba(30, 178, 109, 0.15);
  
  /* Bootstrap Overrides */
  --bs-primary: #155234;
  --bs-primary-rgb: 21, 82, 52;
  --bs-secondary: #121814;
  --bs-secondary-rgb: 18, 24, 20;
  --bs-dark: #121814;
  --bs-dark-rgb: 18, 24, 20;
  --bs-light-gray: #f0f5f2;
  --bs-light-gray-rgb: 240, 245, 242;
  --bs-body-bg: #fbfbf9;
  --bs-body-bg-rgb: 251, 251, 249;
  --bs-body-color: #2c3530;
  --bs-body-color-rgb: 44, 53, 48;
  --bs-heading-color: #121814;
  --bs-link-color: #155234;
  --bs-link-hover-color: #1eb26d;
  --bs-link-hover-color-rgb: 30, 178, 109;
  --bs-font-sans-serif: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --bs-body-font-family: var(--bs-font-sans-serif);
  --bs-border-color: rgba(21, 82, 52, 0.08);
}

/* ==========================================================================
   ESTILOS GENERALES Y TIPOGRAFÍA
   ========================================================================== */

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  background-color: var(--eco-warm-white) !important;
  color: var(--bs-body-color) !important;
  line-height: 1.7 !important;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif !important;
  color: var(--eco-charcoal) !important;
  font-weight: 800 !important;
  letter-spacing: -0.03em !important;
}

h1 {
  font-size: clamp(2.5rem, 5vw, 4.5rem) !important;
  line-height: 1.1 !important;
}

h2 {
  font-size: clamp(2rem, 3.5vw, 2.75rem) !important;
  line-height: 1.2 !important;
}

p {
  color: var(--eco-gray) !important;
  font-size: 1.05rem;
}

/* Ocultar elementos heredados no deseados */
.header.border-top, .border-top.border-primary.border-4 {
  border: none !important;
}

/* ==========================================================================
   HEADER GLASSMORPHISM FLOTANTE (SIN MENÚ Hamburguesa)
   ========================================================================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: #000000 !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
  padding: 0 !important;
  height: 60px !important;
  display: flex;
  align-items: center;
  transition: all 0.3s ease;
}

/* Ocultar botones de menú desplegable */
.btn-group, .toggle-menu, .dropdown-menu {
  display: none !important;
}

/* Botón CTA del Header */
.header-cta {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  background-color: var(--eco-forest) !important;
  color: #ffffff !important;
  border: 1px solid var(--eco-forest) !important;
  padding: 6px 16px !important;
  border-radius: 50rem !important;
  font-weight: 600 !important;
  font-size: 0.88rem !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.header-cta:hover {
  background-color: var(--eco-emerald) !important;
  border-color: var(--eco-emerald) !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(30, 178, 109, 0.15);
}

/* ==========================================================================
   HERO SECTION (ULTRA-MINIMALISTA, SIN VIDEO)
   ========================================================================== */

.hero-minimal {
  padding: 160px 0 100px 0 !important;
  background-color: var(--eco-warm-white) !important;
  position: relative;
  overflow: hidden;
}

/* Patrón sutil de fondo */
.hero-minimal::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 50%;
  height: 100%;
  background: radial-gradient(circle, rgba(30, 178, 109, 0.03) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* Badge superior */
.eco-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--eco-mint);
  color: var(--eco-forest);
  border: 1px solid rgba(21, 82, 52, 0.1);
  padding: 6px 16px;
  border-radius: 50rem;
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 24px;
}

/* Texto con degradado ecosystemsas.com */
.eco-gradient-text {
  background: var(--gradient-hero);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  display: block;
}

/* Subtítulo Hero */
.hero-subtext {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem) !important;
  color: var(--eco-gray) !important;
  max-width: 680px;
  margin: 24px auto 40px auto !important;
  font-weight: 400;
}

/* Grupo de Botones Hero */
.hero-buttons {
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: center;
}

.btn-primary-eco {
  background-color: var(--eco-forest) !important;
  color: #ffffff !important;
  border: 1px solid var(--eco-forest) !important;
  padding: 14px 32px !important;
  border-radius: 50rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-shadow: 0 4px 12px rgba(21, 82, 52, 0.05) !important;
}
.btn-primary-eco:hover {
  background-color: var(--eco-forest-light) !important;
  border-color: var(--eco-forest-light) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(21, 82, 52, 0.15) !important;
}

.btn-secondary-eco {
  background-color: transparent !important;
  color: var(--eco-charcoal) !important;
  border: 1px solid var(--eco-sage) !important;
  padding: 14px 32px !important;
  border-radius: 50rem !important;
  font-weight: 600 !important;
  font-size: 0.95rem !important;
  text-decoration: none !important;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.btn-secondary-eco:hover {
  background-color: var(--eco-mint) !important;
  border-color: var(--eco-forest) !important;
  transform: translateY(-2px);
}

/* ==========================================================================
   GRID DE MÉTRICAS (ESTILO DE BORDES FINOS)
   ========================================================================== */

.metrics-section {
  border-y: 1px solid var(--eco-border);
  background-color: #ffffff;
  padding: 60px 0 !important;
}

.metric-item {
  text-align: center;
  padding: 20px;
}
.metric-item h3 {
  font-size: clamp(2.5rem, 4vw, 3.5rem) !important;
  color: var(--eco-forest) !important;
  font-weight: 800 !important;
  margin-bottom: 8px !important;
}
.metric-item p {
  font-size: 0.92rem !important;
  margin-bottom: 0 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 500;
}

/* Líneas divisoras responsivas */
@media (min-width: 768px) {
  .metric-item-border {
    border-right: 1px solid var(--eco-border);
  }
}

/* ==========================================================================
   SECCIONES Y TARJETAS .ECO-CARD
   ========================================================================== */

.eco-section {
  padding: 100px 0 !important;
}

.section-header {
  max-width: 680px;
  margin-bottom: 60px;
}
.section-header h2 {
  margin-bottom: 16px !important;
}
.section-header p {
  font-size: 1.1rem !important;
}

/* Tarjeta minimalista tipo ecosystemsas */
.eco-card {
  background: var(--gradient-card) !important;
  border: 1px solid var(--eco-border) !important;
  border-radius: 1.5rem !important;
  padding: 40px !important;
  height: 100%;
  display: flex;
  flex-column: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm) !important;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.eco-card:hover {
  transform: translateY(-6px) !important;
  box-shadow: var(--shadow-lg) !important;
  border-color: rgba(21, 82, 52, 0.18) !important;
}

.eco-card-icon {
  width: 48px;
  height: 48px;
  background-color: var(--eco-mint);
  color: var(--eco-forest);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 24px;
  border: 1px solid rgba(21, 82, 52, 0.05);
}

.eco-card h3 {
  font-size: 1.35rem !important;
  margin-bottom: 12px !important;
  font-weight: 700 !important;
}
.eco-card p {
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
  color: var(--eco-gray) !important;
}

/* ==========================================================================
   PROCESO Y LÍNEA DE TIEMPO
   ========================================================================== */

.process-grid {
  display: flex;
  flex-direction: column;
  gap: 30px;
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.process-item {
  display: flex;
  gap: 24px;
  background-color: #ffffff;
  padding: 30px !important;
  border-radius: 1.25rem !important;
  border: 1px solid var(--eco-border) !important;
  transition: all 0.3s ease;
}
.process-item:hover {
  border-color: rgba(21, 82, 52, 0.15) !important;
  box-shadow: var(--shadow-md) !important;
}

.process-number {
  font-size: 1.5rem !important;
  font-weight: 800 !important;
  color: var(--eco-emerald) !important;
  line-height: 1 !important;
}

.process-content h4 {
  font-size: 1.15rem !important;
  margin-bottom: 8px !important;
}
.process-content p {
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
}

/* ==========================================================================
   PLANES Y PRECIOS
   ========================================================================== */

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
}

.pricing-card {
  background-color: #ffffff;
  border: 1px solid var(--eco-border);
  border-radius: 1.5rem;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
.pricing-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

/* Plan Destacado (Escala) */
.pricing-card.featured {
  background: var(--gradient-cta);
  border-color: transparent;
  color: #ffffff !important;
}
.pricing-card.featured h3, 
.pricing-card.featured h4, 
.pricing-card.featured h5, 
.pricing-card.featured p, 
.pricing-card.featured li,
.pricing-card.featured span {
  color: #ffffff !important;
}
.pricing-card.featured .pricing-features li::before {
  color: var(--eco-emerald) !important;
}

.pricing-title {
  font-size: 1.35rem !important;
  margin-bottom: 8px !important;
}
.pricing-price {
  font-size: 2.25rem !important;
  font-weight: 800 !important;
  color: var(--eco-forest) !important;
  margin: 16px 0 !important;
}
.pricing-price span {
  font-size: 0.95rem !important;
  font-weight: 500 !important;
  color: var(--eco-gray) !important;
}

.pricing-features {
  list-style: none !important;
  padding: 0 !important;
  margin: 24px 0 32px 0 !important;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.pricing-features li {
  font-size: 0.95rem !important;
  color: var(--eco-gray);
  display: flex;
  align-items: center;
  gap: 10px;
}
.pricing-features li::before {
  content: "✓";
  color: var(--eco-forest);
  font-weight: bold;
}

.btn-pricing {
  width: 100% !important;
  justify-content: center !important;
}

/* ==========================================================================
   ACORDEÓN DE PREGUNTAS (FAQS)
   ========================================================================== */

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--eco-border);
  padding: 24px 0 !important;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  background: none;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0 !important;
}
.faq-question h4 {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  margin-bottom: 0 !important;
  transition: color 0.2s ease;
}
.faq-question:hover h4 {
  color: var(--eco-forest) !important;
}

.faq-icon {
  font-size: 1.25rem;
  color: var(--eco-forest);
  transition: transform 0.3s ease;
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.faq-answer p {
  padding-top: 16px !important;
  font-size: 0.95rem !important;
  margin-bottom: 0 !important;
}

/* Estado activo */
.faq-item.active .faq-icon {
  transform: rotate(45deg);
}
.faq-item.active .faq-answer {
  max-height: 300px; /* Bounded height for transition */
}

/* ==========================================================================
   CTA FINAL (GLASS BANNER)
   ========================================================================== */

.cta-banner {
  background: var(--gradient-cta) !important;
  border-radius: 2rem !important;
  padding: 80px 40px !important;
  text-align: center;
  color: #ffffff !important;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg) !important;
}

.cta-banner::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle, rgba(30, 178, 109, 0.1) 0%, transparent 60%);
  z-index: 1;
}

.cta-banner-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  margin: 0 auto;
}
.cta-banner h2 {
  color: #ffffff !important;
  font-size: 2.25rem !important;
  margin-bottom: 16px !important;
}
.cta-banner p {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 1.1rem !important;
  margin-bottom: 32px !important;
}

/* ==========================================================================
   FOOTER MINIMALISTA
   ========================================================================== */

.footer-minimal {
  background-color: var(--eco-warm-white) !important;
  border-top: 1px solid var(--eco-border) !important;
  padding: 60px 0 40px 0 !important;
}

.footer-logo {
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  letter-spacing: -0.02em !important;
  margin-bottom: 16px !important;
}

.footer-contact {
  display: flex;
  gap: 24px;
  justify-content: center;
  margin: 24px 0 !important;
  list-style: none !important;
  padding: 0 !important;
}
.footer-contact a {
  color: var(--eco-gray) !important;
  text-decoration: none !important;
  font-size: 0.92rem !important;
  transition: color 0.2s ease !important;
}
.footer-contact a:hover {
  color: var(--eco-forest) !important;
}

.footer-copyright {
  font-size: 0.85rem !important;
  color: var(--eco-gray) !important;
  text-align: center;
  margin-bottom: 0 !important;
}
