:root {
  --primary: #5C9A9F;
  --primary-dark: #487E83;
  --accent: #AEC437;
  --accent-light: #F2F6DC;
  --sand: #C8A67D;
  --sand-light: #F9F5F0;
  --teal-light: #EEF6F7;
  --dark: #1E293B;
  --text: #334155;
  --muted: #64748B;
  --bg-light: #F8FAFC;
  --white: #FFFFFF;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

html {
  scroll-behavior: smooth;
}

body {
  color: var(--text);
  line-height: 1.6;
  background-color: var(--white);
}

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Barra de Navegación */
.navbar {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 80px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-size: 1.7rem;
  font-weight: 800;
  color: #5C9A9F;
  letter-spacing: -0.5px;
}

.logo .soft {
  color: #AEC437;
}

.logo-img {
  height: 46px;
  width: auto;
  display: block;
}

nav {
  display: flex;
  align-items: center;
}

nav a {
  margin-left: 24px;
  text-decoration: none;
  color: #334155;
  font-weight: 500;
  transition: color 0.2s;
}

nav a:hover {
  color: #5C9A9F;
}

.btn-nav {
  background: #5C9A9F;
  color: #FFFFFF !important;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: 8px;
  transition: background 0.2s;
}

.btn-nav:hover {
  background: #487E83;
}



/* Portada / Hero */
.hero {
  background: linear-gradient(135deg, var(--teal-light) 0%, var(--white) 100%);
  padding: 72px 0;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-logo {
  height: 125px;
  width: auto;
  margin-bottom: 18px;
  display: block;
}

.tag {
  display: inline-block;
  background: var(--accent-light);
  color: #5d6b18;
  border: 1px solid #d9e696;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 16px;
}

.hero h1 {
  font-size: 2.5rem;
  color: var(--dark);
  line-height: 1.2;
  margin-bottom: 18px;
}

.hero p {
  font-size: 1.1rem;
  margin-bottom: 28px;
  color: var(--muted);
}

.hero-buttons {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.btn-primary {
  background: var(--primary);
  color: var(--white);
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: none;
  cursor: pointer;
  display: inline-block;
  transition: background 0.2s;
}

.btn-primary:hover {
  background: var(--primary-dark);
}

.btn-secondary {
  background: var(--white);
  color: var(--dark);
  padding: 14px 26px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 600;
  border: 2px solid var(--accent);
  transition: background 0.2s;
}

.btn-secondary:hover {
  background: var(--accent-light);
}

/* Mockup visual del panel */
.hero-card {
  background: var(--white);
  border-radius: 14px;
  box-shadow: 0 20px 40px rgba(92, 154, 159, 0.14);
  border: 1px solid #dce8e9;
  overflow: hidden;
}

.mockup-header {
  background: var(--teal-light);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.red { background: var(--sand); }
.yellow { background: var(--accent); }
.green { background: var(--primary); }

.mockup-body {
  padding: 28px;
  text-align: center;
}

.mockup-body img {
  max-width: 100%;
  border-radius: 8px;
}

.stat {
  display: inline-block;
  background: var(--bg-light);
  padding: 16px 24px;
  border-radius: 10px;
  margin: 0 8px 18px;
  border: 1px solid #e2e8f0;
}

.stat strong {
  display: block;
  font-size: 1.5rem;
  color: var(--primary);
}

.mockup-note {
  font-size: 0.85rem;
  color: var(--muted);
}

/* Secciones generales */
.section {
  padding: 80px 0;
}

.bg-light {
  background: var(--teal-light);
}

.section-title {
  text-align: center;
  font-size: 2rem;
  color: var(--dark);
  margin-bottom: 10px;
}

.section-subtitle {
  text-align: center;
  color: var(--muted);
  margin-bottom: 48px;
}

.grid-3 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.card {
  background: var(--white);
  padding: 28px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  border-top: 4px solid var(--primary);
  transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
}

.card:nth-child(2n) {
  border-top-color: var(--accent);
}

.card:nth-child(3n) {
  border-top-color: var(--sand);
}

.card h3 {
  color: var(--dark);
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.benefit {
  background: var(--white);
  padding: 26px;
  border-radius: 12px;
  border: 1px solid #dce8e9;
}

.benefit strong {
  display: block;
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 8px;
}

/* Sección de Contacto */
.contact-box {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 40px;
  background: var(--sand-light);
  padding: 48px;
  border-radius: 16px;
  border: 1px solid #e8dfd3;
}

.contact-info h2 {
  color: var(--dark);
  margin-bottom: 14px;
}

.contact-list {
  list-style: none;
  margin-top: 24px;
}

.contact-list li {
  margin-bottom: 10px;
}

.contact-list strong {
  color: var(--primary);
}

.contact-form label {
  display: block;
  font-weight: 600;
  font-size: 0.9rem;
  margin-bottom: 6px;
  color: var(--dark);
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px;
  margin-bottom: 16px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 1rem;
  background: var(--white);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--primary);
}

.full-width {
  width: 100%;
}

/* Pie de página */
.footer {
  background: var(--primary-dark);
  color: var(--white);
  text-align: center;
  padding: 28px 0;
  font-size: 0.9rem;
}

/* Adaptación a celulares y tablets */
@media (max-width: 768px) {
  .nav-content {
    height: 70px;
  }
  .logo-img {
    height: 40px;
  }
  nav a {
    margin-left: 14px;
    font-size: 0.9rem;
  }
  .btn-nav {
    padding: 7px 12px;
  }
  .hero {
    padding: 48px 0;
  }
  .hero-grid,
  .contact-box {
    grid-template-columns: 1fr;
  }
  .hero h1 {
    font-size: 2rem;
  }
  .hero-logo {
    height: 100px;
  }
  .contact-box {
    padding: 28px 20px;
  }
}
