/* ========================================
   Kultivo IA — Landing Page Styles
   Sitio estático independiente
   ======================================== */

:root {
  --dark-blue: #1E2A38;
  --light-gray: #F5F7FA;
  --mid-gray: #7A8A99;
  --white: #FFFFFF;
  --green-soft: #4CAF50;
}

/* ---- Base ---- */
body {
  background-color: var(--light-gray);
  min-height: 100vh;
  margin: 0;
  overflow: auto;
  scroll-padding-top: 64px; /* compensate sticky navbar */
}

/* ---- Sticky Navbar ---- */
.navbar-sticky {
  position: sticky;
  top: 0;
  z-index: 1030;
  background-color: var(--dark-blue);
  padding: 0.5rem 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.18);
  transition: box-shadow 0.3s;
}
.navbar-brand-custom {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.navbar-brand-custom img {
  height: 32px;
}
.navbar-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  transition: color 0.2s;
}
.navbar-links a:hover {
  color: #fff;
}
.navbar-mobile-menu {
  display: none;
  background-color: var(--dark-blue);
  border-top: 1px solid rgba(255,255,255,0.1);
}
.navbar-mobile-menu.open {
  display: block;
}
.navbar-mobile-link {
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.4rem 0;
  font-size: 0.9rem;
}
.navbar-mobile-link:hover {
  color: #fff;
}

/* ---- Icons (Google Material Symbols) ---- */
.material-symbols-outlined {
  vertical-align: middle;
}
.icon-green { color: var(--green-soft); }
.icon-40  { font-size: 40px; }
.icon-34  { font-size: 34px; }
.icon-48  { font-size: 48px; }
.icon-56  { font-size: 56px; }

/* ---- Hero ---- */
.hero {
  background-color: var(--dark-blue);
  color: var(--white);
}
.hero img.hero-logo { max-height: 120px; }
.hero .lead { max-width: 860px; opacity: 0.95; }
.hero .badge .material-symbols-outlined { font-size: 18px; }
.hero-badges { opacity: 0.92; }

/* ---- Section titles ---- */
.section-title {
  color: var(--dark-blue);
}

/* ---- Text colors ---- */
.text-dark-blue { color: var(--dark-blue); }
.text-mid-gray  { color: var(--mid-gray); }

/* ---- Buttons ---- */
.btn-kultivo {
  background-color: var(--green-soft);
  border-color: var(--green-soft);
  color: #fff;
}
.btn-kultivo:hover,
.btn-kultivo:focus {
  background-color: #43A047;
  border-color: #43A047;
  color: #fff;
}


/* ---- Profile cards ---- */
.profile-card ul {
  color: var(--mid-gray);
}
.profile-card {
  transition: transform 0.2s, box-shadow 0.2s;
}
.profile-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.1) !important;
}

/* ---- Feature cards hover ---- */
.feature-card {
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
}
.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0,0,0,0.08) !important;
}
.feature-card p {
  color: var(--mid-gray);
  font-size: 14px;
}

/* ---- Smooth scroll ---- */
html {
  scroll-behavior: smooth;
}
.report-tab {
  /* default secondary outline handled by Bootstrap */
}
.report-tab.active {
  background-color: var(--green-soft) !important;
  border-color: var(--green-soft) !important;
  color: #fff !important;
}
.report-panel { display: none; }
.report-panel.active { display: block; }

/* ---- FAQ accordion ---- */
.faq-item { border-bottom: 1px solid #dee2e6; }
.faq-item:last-child { border-bottom: none; }
.faq-toggle {
  background: transparent;
  border: none;
  width: 100%;
  text-align: left;
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-weight: 600;
  color: var(--dark-blue);
}
.faq-toggle:hover { background-color: rgba(0,0,0,0.02); }
.faq-content {
  display: none;
  padding: 0 1rem 0.75rem;
  color: var(--mid-gray);
}
.faq-content.open { display: block; }

/* ---- Toast notification ---- */
.toast-container-custom {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
}
.toast-custom {
  min-width: 300px;
  padding: 0.75rem 1rem;
  border-radius: 0.5rem;
  color: #fff;
  font-size: 0.9rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  opacity: 0;
  transform: translateY(-10px);
  transition: opacity 0.3s, transform 0.3s;
  margin-bottom: 0.5rem;
}
.toast-custom.show {
  opacity: 1;
  transform: translateY(0);
}
.toast-custom.success { background-color: var(--green-soft); }
.toast-custom.error   { background-color: #e53935; }

/* ---- Footer ---- */
.footer-text {
  font-size: 13px;
  color: #6c757d;
}

/* ---- Demo page specifics ---- */
.demo-header {
  background-color: var(--dark-blue);
  color: var(--white);
}
.demo-header img { max-height: 180px; width: 100%; max-width: 300px; }
.demo-header .lead { max-width: 600px; }
