:root {
  --bg-main: #f5f7fb;
  --bg-alt: #ffffff;
  --primary: #0f766e;   /* verde/teal salud */
  --primary-soft: #ccfbf1;
  --primary-dark: #115e59;
  --text-main: #0f172a;
  --text-soft: #64748b;
  --border-soft: #e2e8f0;
  --shadow-soft: 0 18px 45px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-full: 999px;
}

/* RESET SIMPLE -----------------------------------------*/
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
}

/* UTILIDADES -------------------------------------------*/
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
}

/* HEADER / NAV -----------------------------------------*/
.header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(248, 250, 252, 0.92);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.7);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 0;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #f9fafb;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.logo-text {
  font-weight: 700;
  font-size: 1rem;
  color: var(--text-main);
}
.logo-text span {
  font-weight: 500;
  color: var(--text-soft);
  margin-left: 4px;
}

.nav {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav a {
  font-size: 0.95rem;
  text-decoration: none;
  color: var(--text-soft);
  padding: 6px 0;
}

.nav a:hover {
  color: var(--primary-dark);
}

.btn-nav {
  padding: 8px 16px;
  border-radius: var(--radius-full);
  background: var(--primary);
  color: #f9fafb !important;
  border: 1px solid var(--primary-dark);
}

/* Toggle para móvil */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
}
.nav-toggle span {
  width: 22px;
  height: 2px;
  background: var(--text-main);
}

/* HERO -------------------------------------------------*/
.hero {
  padding: 40px 0 64px;
}

.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1.2fr);
  gap: 32px;
  align-items: center;
}

.hero-text h1 {
  font-size: clamp(1.9rem, 3vw, 2.4rem);
  margin-bottom: 12px;
}

.hero-text p {
  font-size: 1rem;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.hero-bullets {
  list-style: none;
  margin-bottom: 18px;
}
.hero-bullets li {
  position: relative;
  padding-left: 18px;
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.hero-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--primary);
}

.btn-primary {
  display: inline-block;
  padding: 10px 20px;
  border-radius: var(--radius-full);
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: #f9fafb;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 12px 30px rgba(15, 118, 110, 0.25);
}

.btn-primary:hover {
  filter: brightness(1.05);
}

.hero-card {
  background: radial-gradient(circle at top left, #ecfeff, #f9fafb);
  border-radius: var(--radius-lg);
  padding: 20px 20px 16px;
  box-shadow: var(--shadow-soft);
  border: 1px solid var(--border-soft);
}

.hero-card h2 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.hero-card p {
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 16px;
}

.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.hero-stat-number {
  display: block;
  font-weight: 700;
  font-size: 0.95rem;
}
.hero-stat-label {
  font-size: 0.8rem;
  color: var(--text-soft);
}

/* SECCIONES GENERALES ----------------------------------*/
.section {
  padding: 48px 0;
}

.section-alt {
  background: #f9fafb;
}

.section h2 {
  font-size: 1.6rem;
  margin-bottom: 8px;
}

.section-intro {
  max-width: 680px;
  font-size: 0.98rem;
  color: var(--text-soft);
  margin-bottom: 24px;
}

/* GRID -------------------------------------------------*/
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

/* CARDS ------------------------------------------------*/
.card {
  background: var(--bg-alt);
  border-radius: var(--radius-lg);
  padding: 20px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.03);
}

.card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 12px;
}

.card-highlight {
  border: 1px solid var(--primary-soft);
  background: linear-gradient(135deg, #ecfeff, #f9fafb);
}

.card-small {
  background: var(--bg-alt);
  border-radius: var(--radius-md);
  padding: 16px 16px 14px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.02);
}

.card-small h3 {
  font-size: 1rem;
  margin-bottom: 6px;
}

.card-small p {
  font-size: 0.9rem;
  color: var(--text-soft);
}

/* LISTAS -----------------------------------------------*/
.list-check {
  list-style: none;
}
.list-check li {
  position: relative;
  padding-left: 18px;
  font-size: 0.9rem;
  color: var(--text-soft);
  margin-bottom: 4px;
}
.list-check li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-dark);
  font-size: 0.85rem;
}

.list-regions {
  list-style: none;
  margin-bottom: 12px;
}
.list-regions li {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin-bottom: 4px;
}

.note {
  font-size: 0.9rem;
  color: var(--text-soft);
}

.list-contact {
  list-style: none;
  font-size: 0.95rem;
  color: var(--text-soft);
}
.list-contact li + li {
  margin-top: 4px;
}
.list-contact a {
  color: var(--primary-dark);
  text-decoration: none;
}

/* CONTACTO / FORM -------------------------------------*/
.contacto-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1.2fr);
  gap: 24px;
  align-items: flex-start;
}

.form h3 {
  margin-bottom: 12px;
}

.form-group {
  margin-bottom: 10px;
}

.form-group label {
  font-size: 0.85rem;
  display: block;
  margin-bottom: 4px;
  color: var(--text-main);
}

.form-group input,
.form-group textarea {
  width: 100%;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  padding: 8px 10px;
  font-size: 0.9rem;
  font-family: inherit;
  outline: none;
  background: #f8fafc;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 1px rgba(15, 118, 110, 0.18);
}

.form-msg {
  margin-top: 8px;
  font-size: 0.85rem;
}

/* FOOTER ----------------------------------------------*/
.footer {
  padding: 20px 0;
  background: #0b1120;
  color: #e5e7eb;
}

.footer-inner {
  text-align: center;
  font-size: 0.85rem;
}

.footer-small {
  color: #9ca3af;
  margin-top: 4px;
}

/* RESPONSIVE ------------------------------------------*/
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
  }
  .hero-card {
    order: -1;
  }
  .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .contacto-grid,
  .grid-2 {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 720px) {
  .header-inner {
    padding: 8px 0;
  }

  .nav-toggle {
    display: flex;
  }

  .nav {
    position: absolute;
    top: 60px;
    right: 16px;
    left: 16px;
    flex-direction: column;
    background: #f9fafb;
    border-radius: var(--radius-lg);
    padding: 12px 14px;
    border: 1px solid var(--border-soft);
    box-shadow: var(--shadow-soft);
    display: none;
  }

  .nav.open {
    display: flex;
  }

  .grid-3 {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero {
    padding-top: 28px;
  }
}
