:root {
  --azul-principal: #58c1fc;
  --azul-activo: #74c7fa;
  --gris-borde: #c6dae7;
  --gris-fondo: #f9fbfd;
  --sombra: 0 2px 8px rgba(0,0,0,0.06);
}

body {
  font-family:  "Nunito", sans-serif;
  background: #f3f6fa;
}
.hero-enf {
  width: 98vw;
  margin: 1em auto 2em auto;
  min-height: 270px;
  max-height: 350px;
  background: linear-gradient(110deg, #4186c200 20%, #53afe8e1 100%), url('/assets/images/conocenos.webp') center/cover no-repeat;
  border-radius: 0.4em;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hero-overlay {
  width: 100%;
  text-align: center;
  padding: 3em 1em 2em 1em;
}
.hero-overlay h1 {
  font-family:  "Nunito", sans-serif;
  color: #ffffff;
  font-size: 3.1em;
  font-weight: 800;
  letter-spacing: 1.5px;
  margin-bottom: 0.15em;
}
.hero-overlay p {
  font-family: "Nunito", sans-serif;
  color: #fff;
  font-size: 1.3em;
  margin-top: 0;
  font-weight: 500;
  text-shadow: 0 2px 10px #b6393999;
}
.tabs-main {
  max-width: 950px;
  margin: 0em auto;
  display: flex;
  align-items: flex-start;
  gap: 1.5em;
}

.tabs-list {
  display: flex;
  flex-direction: column;
  min-width: 220px;
  background: #eaf2fa;
  border-radius: 8px;
  box-shadow: var(--sombra);
  padding: 0.1em;
}

.tab-btn {
  background: transparent;
  border: none;
  text-align: left;
  padding: 1em;
  font-size: 1em;
  font-weight: 600;
  color: #174f6d;
  cursor: pointer;
  transition: background .18s, color .18s;
  border-radius: 6px;
  margin: 0.1em 0;
  border-left: 15px solid transparent;
}

.tab-btn:hover, .tab-btn:focus {
  background: var(--azul-principal);
  color: #fff;
  outline: none;
}

.tab-btn.active {
  background: var(--azul-activo);
  color: #fff;
  border-left:4px solid #2581b1;
}

.tab-content {
  background: #ffffffb0;
  min-width: 800px;
  flex: 1 1 0;
  border-radius: 10px;
  box-shadow: var(--sombra);
  padding: 2.2em 2em 2em 2.5em;
  min-height: 500px;
  font-size: 1.08em;
}

.tab-content h2 {
  color: #03a9f4;
  margin-top: 0;
  margin-bottom: 0.7em;
}

.tab-content p {
  color: #363c47;
  margin-top: 0.2em;
}

@media (max-width: 820px) {
  .tabs-main {
    flex-direction: column;
    align-items: stretch;
    max-width: 97vw;
    gap: 1em;
  }
  .tab-content {
    padding: 1.3em 0.8em 1em 1em;
    min-width: unset;
    font-size: 1em;
  }
  .tabs-list {
    flex-direction: row;
    overflow-x: auto;
    min-width: unset;
    border-radius: 6px;
    padding: 0.2em;
  }
  .tab-btn {
    min-width: 150px;
    text-align: center;
    border-left: none;
    border-top: 4px solid transparent;
    border-radius: 6px 6px 0 0;
    margin: 0 0.1em;
    font-size: 0.98em;
    padding: 0.8em 0.6em;
  }
  .tab-btn.active {
    border-top: 4px solid #2581b1;
    border-left: none;
  }
}
@media (max-width: 1000px) {
  .hero-enf {
    min-height: 180px;
    max-height: 240px;
  }

@media (max-width: 700px) {
  .hero-enf {
    min-height: 110px;
    max-height: 140px;
    border-radius: 0.2em;
  }
  .hero-overlay { padding: 1.2em 0.2em; }
}
}